/**
 * Match Header Styles
 * Common styling for the match header used in both ball-by-ball and scorecard views
 */

/* Team Information */
.team-info {
    margin-bottom: 10px;
    transition: transform 0.2s ease;
}

.team-info:hover {
    transform: translateY(-2px);
}

.flag-score {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flag-avatar {
    display: flex;
    align-items: center;
}

.flag-avatar figure {
    margin: 0;
}

.team-name {
    margin-top: 5px;
    text-align: center;
    white-space: normal;
    max-width: 120px;
    font-weight: 600;
    line-height: 1.2;
}

/* Header Text */
.score-card-header {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Navigation */
.match-nav-tabs .nav-link {
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    transition: all 0.2s ease;
}

/* Tab styling */
.match-nav-tabs .nav-link.active {
    background-color: var(--primary-color, #ff5252);
    color: white;
}

.match-nav-tabs .nav-link:not(.active) {
    background-color: #f8f9fa;
    color: var(--text-color, #7a8fa5);
}

/* Back Button */
.back-button {
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.back-button:hover {
    background-color: var(--primary-color, #013680);
    color: #ffffff;
    transform: translateX(-2px);
} 

/* Full-width container styles */
.main-container.w-100 {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* Responsive adjustments for iframe */
@media (max-width: 768px) {
    .container-fluid.px-3 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

@media (max-width: 576px) {
    .container-fluid.px-3 {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}