/**
 * EXACT Sports - Postdash Dashboard Styles
 *
 * Design System Reference:
 * - Figma: https://www.figma.com/design/RKWO7f3jSJyaUJb7fmGcOt/Exact-Rankings?node-id=583-6388
 * - Live Reference: https://exactsports.com/events/
 *
 * Color Palette:
 * - Primary: #FE5000 (EXACT Orange)
 * - Progress Wheel: #4FB3D9 (EXACT Blue)
 * - Neutrals: White, Black, Gray variations
 *
 * Typography:
 * - Primary: Poppins (sans-serif)
 * - Display: Bebas Neue (for bold headings)
 * - Accent: Kotta One (for subheadings)
 */

/* ========================================
   Google Fonts Import
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Bebas+Neue&family=Kotta+One&display=swap');

/* ========================================
   CSS Custom Properties (Design Tokens)
   ======================================== */
:root {
    /* Brand Colors */
    --exact-primary: #FE5000;
    --exact-primary-dark: #D94400;
    --exact-primary-light: #FF7A33;
    --exact-blue: #4FB3D9;
    --exact-blue-dark: #3A8FB5;

    /* Neutral Colors */
    --exact-white: #FFFFFF;
    --exact-black: #000000;
    --exact-gray-50: #F9FAFB;
    --exact-gray-100: #F3F4F6;
    --exact-gray-200: #E5E7EB;
    --exact-gray-300: #D1D5DB;
    --exact-gray-400: #9CA3AF;
    --exact-gray-500: #6B7280;
    --exact-gray-600: #4B5563;
    --exact-gray-700: #374151;
    --exact-gray-800: #1F2937;
    --exact-gray-900: #111827;

    /* Semantic Colors */
    --exact-success: #10B981;
    --exact-success-light: #D1FAE5;
    --exact-warning: #F59E0B;
    --exact-warning-light: #FEF3C7;
    --exact-danger: #EF4444;
    --exact-danger-light: #FEE2E2;
    --exact-info: #3B82F6;
    --exact-info-light: #DBEAFE;

    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Bebas Neue', cursive;
    --font-accent: 'Kotta One', serif;

    /* Font Sizes */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */

    /* Spacing Scale */
    --space-1: 0.25rem;      /* 4px */
    --space-2: 0.5rem;       /* 8px */
    --space-3: 0.75rem;      /* 12px */
    --space-4: 1rem;         /* 16px */
    --space-5: 1.25rem;      /* 20px */
    --space-6: 1.5rem;       /* 24px */
    --space-8: 2rem;         /* 32px */
    --space-10: 2.5rem;      /* 40px */
    --space-12: 3rem;        /* 48px */
    --space-16: 4rem;        /* 64px */

    /* Border Radius */
    --radius-sm: 0.25rem;    /* 4px */
    --radius-md: 0.5rem;     /* 8px */
    --radius-lg: 0.75rem;    /* 12px */
    --radius-xl: 1rem;       /* 16px */
    --radius-2xl: 1.5rem;    /* 24px */
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Dashboard Header
   ======================================== */
.postdash-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-8);
    gap: var(--space-6);
}

.postdash-header-logo img {
    max-height: 100px;
    max-width: 250px;
    height: auto;
    width: auto;
}

.postdash-header-info {
    text-align: right;
    line-height: 1.6;
    font-family: var(--font-primary);
}

.postdash-header-name {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--exact-gray-900);
    margin-bottom: var(--space-1);
}

.postdash-header-details {
    font-size: var(--text-base);
    color: var(--exact-gray-600);
    line-height: 1.8;
}

/* ========================================
   Status Indicators Section
   ======================================== */
.status-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
    justify-content: space-between;
}

.status-box {
    text-align: center;
    flex: 1;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    background: var(--exact-white);
    transition: all var(--transition-base);
}

.status-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.status-box-title {
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--exact-gray-900);
    margin-bottom: var(--space-2);
    font-family: var(--font-primary);
}

/* Full-width status indicators (new design) */
.status-indicators-fullwidth {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    width: 100%;
}

.status-box-item {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    background: var(--exact-white);
    border: 2px solid var(--exact-gray-200);
    min-height: 200px;
    transition: all var(--transition-base);
}

.status-box-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--exact-primary);
}

.status-box-item .status-box-title {
    font-weight: 700;
    font-size: var(--text-lg);
    color: var(--exact-gray-900);
    font-family: var(--font-primary);
    text-align: center;
    line-height: 1.3;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-warning-icon {
    width: auto;
    height: 50px;
    object-fit: contain;
}

.status-verified-icon {
    width: auto;
    height: 50px;
    object-fit: contain;
}

.cta-button-full {
    display: block;
    width: 100%;
    padding: var(--space-4) var(--space-4);
    background: linear-gradient(135deg, var(--exact-primary) 0%, var(--exact-primary-dark) 100%);
    color: var(--exact-white);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    text-align: center;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    line-height: 1.5;
}

.cta-button-full:hover {
    background: var(--exact-primary-dark);
    color: var(--exact-white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cta-button-full:active {
    transform: translateY(0);
}

.status-box-item .status-verified-label {
    margin-top: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-weight: 700;
    color: var(--exact-success);
    font-size: var(--text-lg);
    font-family: var(--font-primary);
    background: var(--exact-success-light);
    border-radius: var(--radius-lg);
    width: 100%;
    text-align: center;
    cursor: default;
}

/* Override pointer-events for clickable status labels */
a .status-verified-label {
    cursor: pointer;
    pointer-events: auto;
    transition: background-color var(--transition-base), color var(--transition-base);
}

a:hover .status-verified-label {
    background: var(--exact-success);
    color: var(--exact-white);
}

/* Clickable status box link wrapper */
.status-link-wrapper {
    display: block;
    text-decoration: none;
}

.status-icon {
    width: 50px;
    height: 50px;
    vertical-align: middle;
}

.status-icon-triangle {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 21px solid var(--exact-danger);
    position: relative;
    margin: 0 auto;
}

.status-icon-triangle::after {
    content: "!";
    position: absolute;
    top: 6px;
    left: -4px;
    color: var(--exact-white);
    font-weight: bold;
    font-size: 14px;
}

.status-verified-label {
    margin-top: var(--space-2);
    font-weight: 600;
    color: var(--exact-gray-900);
    font-size: var(--text-sm);
    font-family: var(--font-primary);
}

/* ========================================
   CTA Buttons
   ======================================== */
.cta-button {
    display: inline-block;
    padding: var(--space-3) var(--space-6);
    background: linear-gradient(135deg, var(--exact-primary) 0%, var(--exact-primary-dark) 100%);
    color: var(--exact-white);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.cta-button:hover {
    background: var(--exact-primary-dark);
    color: var(--exact-white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cta-button:active {
    transform: translateY(0);
}

/* ========================================
   Task Checklist
   ======================================== */
.task-checkbox {
    list-style: none;
    padding-left: 0;
    margin: var(--space-6) 0;
}

.task-checkbox li {
    padding: var(--space-3) 0;
    padding-left: var(--space-8);
    position: relative;
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
}

.task-checkbox li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 18px;
    height: 18px;
    border: 2px solid var(--exact-gray-400);
    background: var(--exact-white);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.task-checkbox li.completed:before {
    background: var(--exact-primary);
    border-color: var(--exact-primary);
    content: "✓";
    color: var(--exact-white);
    font-weight: bold;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
}

.task-checkbox li.completed {
    color: var(--exact-gray-500);
}

.task-checkbox li.completed > *:not(a) {
    text-decoration: line-through;
}

.task-checkbox a {
    color: var(--exact-info);
    text-decoration: underline;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.task-checkbox li.completed a {
    color: var(--exact-info);
    text-decoration: none;
    font-weight: 600;
}

.task-checkbox a:hover {
    color: var(--exact-primary);
}

.task-badge {
    background: var(--exact-gray-400);
    color: var(--exact-gray-900);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    margin-left: var(--space-2);
    font-weight: 600;
    display: inline-block;
    vertical-align: middle;
}

/* ========================================
   Progress Wheel
   ======================================== */
.progress-wheel-container {
    text-align: center;
    padding: var(--space-4) 0;
    margin: var(--space-2) 0;
}

.progress-wheel {
    width: 180px;
    height: 180px;
    margin: 0 auto var(--space-6);
    position: relative;
}

.progress-wheel img {
    width: 100%;
    height: 100%;
    display: block;
}

.progress-wheel svg {
    transform: rotate(-90deg);
}

.progress-wheel-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: var(--text-5xl);
    font-weight: 800;
    color: var(--exact-gray-900);
    font-family: var(--font-display);
}

.progress-message {
    font-size: var(--text-lg);
    color: var(--exact-gray-700);
    font-weight: 500;
    font-family: var(--font-primary);
}

/* ========================================
   Card Styles (Meet The Coaches/Athletes)
   ======================================== */
.card {
    background: var(--exact-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--exact-gray-200);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: var(--space-6);
    transition: box-shadow var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-xl);
}

.card-header {
    background: var(--exact-white);
    color: var(--exact-black);
    padding: var(--space-4) var(--space-6);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--exact-gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}

.card-body {
    padding: var(--space-6);
}

/* ========================================
   Camp Recap Styles
   ======================================== */
.camp-recap-item {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--exact-gray-200);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
}

.camp-recap-item:last-child {
    border-bottom: none;
}

.camp-recap-item strong {
    color: var(--exact-gray-900);
    font-weight: 600;
    margin-right: var(--space-2);
}

/* ========================================
   Coach Item (Legacy - kept for compatibility)
   ======================================== */
.coach-item {
    display: flex;
    align-items: center;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--exact-gray-200);
    transition: background-color var(--transition-fast);
}

.coach-item:hover {
    background-color: var(--exact-gray-50);
}

.coach-item:last-child {
    border-bottom: none;
}

.coach-logo {
    width: 50px;
    height: 50px;
    margin-right: var(--space-3);
    object-fit: contain;
    border-radius: var(--radius-md);
}

.coach-info {
    flex: 1;
}

.coach-name {
    font-weight: 600;
    color: var(--exact-gray-900);
    margin: 0;
    font-size: var(--text-base);
    font-family: var(--font-primary);
}

.coach-school {
    color: var(--exact-gray-600);
    margin: 0;
    font-size: var(--text-sm);
    font-family: var(--font-primary);
}

/* ========================================
   Coach Grid (3 Column Layout)
   ======================================== */
.coaches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.coach-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-3);
    border-radius: var(--radius-lg);
    border: 1px solid var(--exact-gray-200);
    background: var(--exact-white);
    transition: all var(--transition-base);
}

.coach-grid-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--exact-primary);
}

.coach-grid-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: var(--space-3);
    border-radius: var(--radius-md);
}

.coach-grid-info {
    width: 100%;
}

.coach-grid-name {
    font-weight: 600;
    color: var(--exact-gray-900);
    margin: 0 0 var(--space-1) 0;
    font-size: var(--text-sm);
    font-family: var(--font-primary);
}

.coach-grid-school {
    color: var(--exact-gray-600);
    margin: 0;
    font-size: var(--text-xs);
    font-family: var(--font-primary);
    line-height: 1.3;
}

/* ========================================
   Coach Grid - Postdash (2 Column Layout with Buttons)
   ======================================== */
.coaches-grid-postdash {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.coach-postdash-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    border: 1px solid var(--exact-gray-200);
    background: var(--exact-white);
    transition: all var(--transition-base);
}

.coach-postdash-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--exact-primary);
}

.coach-postdash-logo-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: var(--space-3);
}

.coach-postdash-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.coach-video-only-icon {
    position: absolute;
    top: -5px;
    right: -5px;
    width: auto;
    height: 14px;
    background: var(--exact-white);
    border-radius: var(--radius-full);
    padding: var(--space-1);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--exact-primary);
}

.coach-postdash-info {
    width: 100%;
    margin-bottom: var(--space-3);
}

.coach-postdash-name {
    font-weight: 600;
    color: var(--exact-gray-900);
    margin: 0 0 var(--space-1) 0;
    font-size: var(--text-base);
    font-family: var(--font-primary);
}

.coach-postdash-school {
    color: var(--exact-gray-600);
    margin: 0;
    font-size: var(--text-sm);
    font-family: var(--font-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(var(--text-sm) * 1.4 * 3);
}

.coach-postdash-buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.coach-postdash-buttons .btn {
    font-size: var(--text-xs);
    padding: var(--space-2) var(--space-3);
    font-family: var(--font-primary);
    font-weight: 600;
    transition: all var(--transition-base);
    min-height: calc(var(--text-xs) * 1.5 * 3 + var(--space-2) * 2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.5;
}

.coach-postdash-buttons .btn i {
    margin-right: var(--space-1);
}

.coach-postdash-buttons .btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Specific styling for PrepHero button to ensure 3 rows */
.coach-postdash-buttons .coach-btn-prephero {
    white-space: normal;
    word-wrap: break-word;
    color: #001F3F !important;
}

.coach-postdash-buttons .coach-btn-prephero:hover {
    color: #001F3F !important;
}

/* Specific styling for X-Pass button */
.coach-postdash-buttons .coach-btn-xpass {
    background-color: var(--exact-blue);
    border-color: var(--exact-blue);
    color: var(--exact-white);
}

.coach-postdash-buttons .coach-btn-xpass:hover {
    background-color: var(--exact-blue-dark);
    border-color: var(--exact-blue-dark);
    color: var(--exact-white);
}

/* ========================================
   Athlete Item
   ======================================== */
.athlete-item {
    display: flex;
    align-items: center;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--exact-gray-200);
    transition: background-color var(--transition-fast);
}

.athlete-item:hover {
    background-color: var(--exact-gray-50);
}

.athlete-item:last-child {
    border-bottom: none;
}

.athlete-photo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    margin-right: var(--space-3);
    object-fit: cover;
    border: 2px solid var(--exact-gray-200);
}

.athlete-photo-empty {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    margin-right: var(--space-3);
    background: var(--exact-gray-200);
    border: 2px solid var(--exact-gray-300);
    flex-shrink: 0;
}

.athlete-info {
    flex: 1;
}

.athlete-name {
    font-weight: 600;
    color: var(--exact-gray-900);
    margin: 0;
    font-size: var(--text-sm);
    font-family: var(--font-primary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.athlete-position {
    color: var(--exact-gray-600);
    margin: 0;
    font-size: var(--text-xs);
    font-family: var(--font-primary);
}

.athlete-details {
    text-align: right;
    font-size: var(--text-xs);
    color: var(--exact-gray-600);
    font-family: var(--font-primary);
}

.athlete-warning {
    margin: var(--space-1) 0 0 0;
    font-size: var(--text-xs);
    color: var(--exact-danger);
    font-family: var(--font-primary);
}

.athlete-warning i {
    margin-right: var(--space-1);
}

.athlete-warning a {
    color: var(--exact-info);
    text-decoration: underline;
}

.athlete-warning a:hover {
    color: var(--exact-primary);
}

/* ========================================
   Resource Links
   ======================================== */
.resource-section {
    margin-top: var(--space-10);
}

.resource-section h4 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-4);
    color: var(--exact-gray-900);
    position: relative;
    padding-left: var(--space-4);
}

.resource-section h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--exact-primary), var(--exact-primary-dark));
    border-radius: var(--radius-sm);
}

.resource-links {
    list-style: disc;
    padding-left: var(--space-5);
    margin: var(--space-4) 0;
}

.resource-links li {
    padding: var(--space-2) 0;
    font-family: var(--font-primary);
    font-size: var(--text-base);
    color: var(--exact-gray-700);
}

.resource-links a {
    color: var(--exact-info);
    text-decoration: underline;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.resource-links a:hover {
    color: var(--exact-primary);
    text-decoration: none;
}

/* ========================================
   View All Link
   ======================================== */
.view-all-link {
    text-align: right;
    margin-top: var(--space-3);
}

.view-all-link a {
    color: var(--exact-info);
    text-decoration: underline;
    font-size: var(--text-sm);
    font-weight: 500;
    font-family: var(--font-primary);
    transition: color var(--transition-fast);
}

.view-all-link a:hover {
    color: var(--exact-primary);
}

/* ========================================
   Alerts
   ======================================== */
.alert {
    border-radius: var(--radius-lg);
    border: none;
    border-left: 4px solid;
    padding: var(--space-4) var(--space-6);
    margin-bottom: var(--space-6);
    font-size: var(--text-sm);
    line-height: 1.6;
    box-shadow: var(--shadow-sm);
    font-family: var(--font-primary);
}

.alert-warning {
    background-color: var(--exact-warning-light);
    border-left-color: var(--exact-warning);
    color: #92400E;
}

/* ========================================
   Additional Inline Styles (Moved from Blade)
   ======================================== */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
}

.status-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.status-verified {
    color: var(--exact-gray-800);
}

.status-confirm-now {
    color: var(--exact-gray-800);
}

.dashboard-item {
    padding: 0;
    margin-bottom: var(--space-5);
    background: var(--exact-white);
}

.dashboard-item-title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--exact-gray-800);
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet and below */
@media (max-width: 768px) {
    :root {
        --text-5xl: 2.25rem;     /* 36px */
        --text-4xl: 1.875rem;    /* 30px */
        --text-3xl: 1.5rem;      /* 24px */
    }

    .postdash-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .postdash-header-info {
        text-align: center;
    }

    .status-indicators {
        gap: var(--space-6);
    }

    .status-box {
        min-width: 120px;
    }

    .status-indicators-fullwidth {
        flex-wrap: wrap;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    .status-box-item {
        min-width: unset;
        flex: unset;
        width: 100%;
    }

    .status-indicator {
        flex-direction: column;
    }

    .progress-wheel {
        width: 140px;
        height: 140px;
    }

    .progress-wheel img {
        width: 140px !important;
        height: 140px !important;
    }

    .progress-wheel svg {
        width: 140px;
        height: 140px;
    }

    .progress-wheel-text {
        font-size: var(--text-3xl);
    }

    .progress-wheel-container {
        padding: var(--space-2) 0;
        margin: var(--space-1) 0;
    }

    .coach-logo,
    .athlete-photo {
        width: 40px;
        height: 40px;
    }

    .coaches-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    .coach-grid-logo {
        width: 60px;
        height: 60px;
    }

    /* Keep 2 columns for coaches grid on tablet */
    .coaches-grid-postdash {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    .coach-postdash-logo-container {
        width: 80px;
        height: 80px;
    }

    .coach-postdash-logo {
        width: 100%;
        height: 100%;
    }

    .coach-video-only-icon {
        width: auto;
        height: 12px;
        top: -4px;
        right: -4px;
    }

    .cta-button {
        padding: var(--space-2) var(--space-4);
        font-size: var(--text-xs);
    }

    .col-md-7, .col-md-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .card-header {
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-lg);
    }

    .card-body {
        padding: var(--space-4);
    }
}

/* Mobile */
@media (max-width: 576px) {
    :root {
        --text-5xl: 1.875rem;    /* 30px */
        --text-4xl: 1.5rem;      /* 24px */
        --text-3xl: 1.25rem;     /* 20px */
    }

    .status-indicators {
        flex-direction: column;
    }

    .status-box {
        min-width: 100%;
    }

    .status-indicators-fullwidth {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2);
    }

    .status-box-item {
        min-width: unset;
        flex: unset;
        width: 100%;
        min-height: 160px;
        padding: var(--space-3);
    }

    .status-box-item .status-box-title {
        font-size: var(--text-sm);
        min-height: 40px;
    }

    .cta-button-full {
        font-size: 0.7rem;
        padding: var(--space-2) var(--space-2);
    }

    .task-checkbox {
        font-size: var(--text-sm);
    }

    .progress-wheel {
        width: 100px;
        height: 100px;
    }

    .progress-wheel img {
        width: 100px !important;
        height: 100px !important;
    }

    .progress-wheel svg {
        width: 100px;
        height: 100px;
    }

    .progress-wheel-text {
        font-size: var(--text-2xl);
    }

    .progress-wheel-container {
        padding: var(--space-1) 0;
        margin: 0;
    }

    .progress-message {
        font-size: var(--text-base);
    }

    .athlete-details {
        font-size: 0.7rem;
    }

    .coaches-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2);
    }

    .coach-grid-logo {
        width: 50px;
        height: 50px;
    }

    .coaches-grid-postdash {
        grid-template-columns: 1fr;
        gap: var(--space-2);
    }

    .coach-postdash-logo-container {
        width: 60px;
        height: 60px;
    }

    .coach-postdash-logo {
        width: 100%;
        height: 100%;
    }

    .coach-video-only-icon {
        width: auto;
        height: 10px;
        top: -3px;
        right: -3px;
    }
}

/* ========================================
   Accessibility
   ======================================== */
*:focus-visible {
    outline: 3px solid var(--exact-primary);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-2 {
    margin-top: var(--space-2);
}

.mt-4 {
    margin-top: var(--space-4);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.gap-2 {
    gap: var(--space-2);
}
