/* style.css */
body {
    font-size: 0.813rem;
}

table {
    width: 100%;
    border-color: #cdcdcd;
    border-collapse: collapse;
}

table a {
    font-size: 0.8rem;
    color: #212529;
    vertical-align: middle;
}

td {
    padding: 5px 5px;
    vertical-align: middle !important;
}

th {
    padding: 5px 10px;
    position: sticky;
    top: 0;
    background-color: #f2f2f2;
    font-size: 0.9rem;
    text-align: center;
}

.home {
    display: inline-block;
    padding: 0px 6px 2px 6px;
    border: 1px solid #f2f2f2;
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
    font-weight: 600;
    margin: 1px;
}

tr:hover {
    background-color: #f2f2f2;
}

tr:hover td:nth-child(n+7) {
    font-weight: 700;
}

.live {
    position: relative;
}

.live::before {
    content: "\25CF";
    color: red;
    position: absolute;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    animation: blink 2s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

.footer {
    padding: 10px 0px 100px 0px;
    text-align: center;
}

#switcher {
    margin: 0px 5px 1px 5px;
    vertical-align: middle;
}

label {
    display: inline-block;
    margin-bottom: 0rem;
}

input[type="checkbox"] {
    width: 15px;
    height: 15px;
    vertical-align: middle;
}

iframe {
    border: none;
}

#countdown {
    font-size: 0.688rem;
    color: grey;
    padding-top: 5px;
	display: none;
}

.flag {
    width: 23px;
    height: 15px;
    display: inline-block;
}

.bets {
    float: left;
    padding: 7px;
    margin-right: 20px;
    max-width: 200px;
    width: 100%;
}

.alink a {
    color: red !important;
}

.card-icon {
    position: relative;
    padding-left: 20px;
    font-weight: bold;
}

.card-icon.yc::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 12px;
    background-color: #FFD700;
    border: 1px solid #CC9900;
    border-radius: 2px;
}

.card-icon.rc::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 12px;
    background-color: #FF0000;
    border: 1px solid #CC0000;
    border-radius: 2px;
}

@keyframes blinkApostrophe {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.refresh-indicator {
    padding: 0px 10px;
    color: grey;
}

.favorite-match {
    background-color: #fffbed !important;
}

.favorite-match:hover {
    background-color: #fff3cd !important;
}

/* Neue CSS-Klassen */
.text-center {
    text-align: center;
}

.text-red {
    color: red !important;
}

.text-gray {
    color: gray;
}

.font-weight-500 {
    font-weight: 500;
}

.font-small {
    font-size: 0.65rem;
}

.flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.flex-item {
    flex: 1;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.flex-divider {
    margin: 0 10px;
}

.score-bold {
    font-weight: bold;
}

.team-name {
    max-width: 25ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.league-name {
    max-width: 48ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
	vertical-align: middle;
}

.recent-results-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.ht-score {
    font-size: 0.65rem;
    color: gray;
}

.team-red {
    color: red !important;
	font-weight: 600;
}

.team-green {
    color: green !important;
	font-weight: 600;
}

/* Spezifische Tabellen-Styles */
.th-league {
    width: 350px;
    text-align: center;
}

.th-match {
    width: 400px;
    text-align: center;
}

.th-score {
    min-width: 100px;
    text-align: center;
}

/* Animation für den Apostroph */
.blink-apostrophe {
    animation: blinkApostrophe 2s infinite;
}

.blinking-score {
    transition: color 0.3s ease, font-weight 0.3s ease;
}

.remove-hot-match {
    cursor: pointer;
    font-weight: bold;
	vertical-align: middle;
}

.remove-hot-match:hover {
    color: red;
    transform: scale(1.2);
}