/**
 * Opponents Cards Premium Template CSS
 * 
 * 3-column grid layout using .btfc-box .btfc-box-header-underline
 * 
 * RESPONSIVE BREAKPOINTS: Uses standardized values from breakpoints.css
 * - Tablet and smaller: max-width: 1024px
 * - Mobile and smaller: max-width: 768px
 * - Small mobile only: max-width: 480px
 * 
 * @package BTFC_Stats
 */

/* ============================================================================
   SECTION 1: BASE CONTAINER
   ============================================================================
   Container uses .btfc-container-responsive from breakpoints.css (max-width: 1200px)
   ============================================================================ */

/* ============================================================================
   SECTION 2: SEASON SELECTOR
   ============================================================================
   Note: Uses shared form components from forms-shared.css
   ============================================================================ */

.btfc-season-selector-section {
    margin-bottom: var(--space-8);
}

.btfc-season-selector {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(45, 57, 140, 0.15);
    border: 1px solid var(--color-border-light);
}

.btfc-season-selector label {
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    white-space: nowrap;
}

/* Use shared .btfc-form-select for dropdown - minimal overrides */
.btfc-season-dropdown {
    flex: 1;
    max-width: 300px;
}

/* ============================================================================
   SECTION 3: OPPONENTS GRID - 3 COLUMN LAYOUT
   ============================================================================
   Grid uses .btfc-grid-reverse-3col from breakpoints.css (3→2→1 columns)
   Grid behavior (display:grid, columns) comes from breakpoints.css
   ============================================================================ */

/* ============================================================================
   SECTION 4: OPPONENT CARD STYLING
   ============================================================================
   Note: Base opponent card styles provided by shared box-base.css
   Only template-specific overrides here
   ============================================================================ */

/* Card Header - Override for horizontal layout (badge + content side by side) */
.btfc-card-header {
    flex-direction: row;
    align-items: center;
    gap: var(--space-4);
}

/* Note: Status badges now inline in header via .btfc-status-badge-inline from box-base.css */

/* ============================================================================
   SECTION 5: NO DATA STATE
   ============================================================================
   Note: Uses shared .btfc-box .btfc-box-clean component
   ============================================================================ */

.btfc-no-data {
    text-align: center;
    padding: var(--space-16) var(--space-5);
}

.btfc-no-data h3 {
    color: var(--color-primary);
    margin: 0 0 var(--space-4) 0;
}

.btfc-no-data p {
    color: var(--color-text-secondary);
    margin: 0;
}

/* ============================================================================
   SECTION 6: FOOTER NOTES
   ============================================================================ */

.btfc-premium-footer {
    text-align: center;
    margin-top: var(--space-8);
    padding: var(--space-5);
    background: rgba(45, 57, 140, 0.03);
    border-radius: 8px;
}

.btfc-footer-note {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    margin: 0;
}

.btfc-footer-note code {
    background: rgba(45, 57, 140, 0.1);
    padding: var(--space-0-5) var(--space-1-5);
    border-radius: 3px;
    font-family: var(--font-mono);
    color: var(--color-primary);
}

/* ============================================================================
   SECTION 7: RESPONSIVE LAYOUT
   ============================================================================
   STANDARD BREAKPOINTS (from breakpoints.css):
   - Tablet and smaller: @media (max-width: 1024px)
   - Mobile and smaller: @media (max-width: 768px)
   - Small mobile only: @media (max-width: 480px)
   ============================================================================ */

/* Tablet and smaller (1024px and below) */
@media (max-width: 1024px) {
    /* Grid behavior handled by .btfc-grid-reverse-3col from breakpoints.css */
}

/* Mobile and smaller (768px and below) */
@media (max-width: 768px) {
    /* Container padding handled by .btfc-container-responsive from breakpoints.css */
    
    /* Grid behavior handled by .btfc-grid-reverse-3col from breakpoints.css */
    
    /* Card responsive styles handled by box-base.css */
    
    .btfc-season-selector {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btfc-season-dropdown {
        max-width: 100%;
    }
}

/* Small mobile only (480px and below) */
@media (max-width: 480px) {
    /* Card header override for horizontal layout on smallest screens */
    .btfc-card-header {
        flex-direction: column;
        text-align: center;
    }
}

