/* Match Details Global Styles */
.match-details-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* App Card Styles */
.app-card {
    background-color: #1e2139;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-bottom: 1rem;
}

/* Scoreboard Section */
.scoreboard-header {
    background-color: var(--primary-dark) !important;
    color: #ffffff;
    padding: 1rem;
}

.team-scores {
    display: flex;
    flex-direction: column;
}

.team-score {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.team-name {
    font-weight: 600;
}

.match-rates {
    display: flex;
    flex-direction: column;
    color: #b6b6b6;
}

.match-status {
    color: #b6b6b6;
    font-weight: 500;
}

.last-balls {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ball-indicators {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.ball-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 3px;
}

.refresh-btn {
    background-color: var(--accent-green);
    color: var(--primary-dark) !important;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.refresh-btn:hover {
    background-color: #00cc6e;
    transform: rotate(180deg);
}

/* Market Header */
.market-header-content {
    background-color: #2c3142;
    padding: 1rem;
    color: #ffffff;
}

.market-limits {
    display: flex;
    align-items: center;
}

.market-limits i {
    color: var(--accent-green);
}

/* Tables */
.table {
    margin-bottom: 0;
    color: #ffffff;
}

.table thead {
    background-color: var(--primary-dark) !important;
    color: #b6b6b6;
}

.table th {
    padding: 1rem;
    vertical-align: middle;
    border-color: #2c3142;
    background-color: var(--primary-dark);
}


.table td {
    padding: 1rem;
    vertical-align: middle;
    border-color: var(--primary-light);
    background-color: var(--primary-dark);
    color: white;

}

.table tbody tr:hover {
    background-color: #2c3142;
    transition: background-color 0.3s ease;
}

/* Toss Winner Section */
.toss-winner-header {
    background-color: var(--primary-dark) !important;
    color: #b6b6b6;
    padding: 1rem;
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .scoreboard-header .row {
        flex-direction: column;
        text-align: center;
    }

    .team-score {
        justify-content: center;
        gap: 1rem;
    }

    .match-rates,
    .match-status,
    .last-balls {
        margin-top: 0.5rem;
    }
}
