/* =========================================================
   champions-captains.css — FINALISSIMA LEAGUE (v=1)
   👑 Starting 7 — Captains System
========================================================= */

/* ═══════════════════════════════════════════════════════
   1) CAPTAINS WRAPPER
========================================================= */

.champ-captains-wrap {
    width: 100%;
    padding: 8px 4px 24px;
    direction: ltr;
    font-family: 'Inter', 'Cairo', sans-serif;
    color: #F5E6D3;
}

.champ-captains-intro {
    background: linear-gradient(135deg,
        rgba(139, 26, 47, 0.25) 0%,
        rgba(58, 10, 21, 0.4) 100%);
    border: 1.5px solid rgba(212, 183, 122, 0.4);
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.champ-captains-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        #D4B77A 50%,
        transparent 100%);
    box-shadow: 0 0 12px rgba(212, 183, 122, 0.6);
}

.champ-captains-intro h2 {
    font-size: 22px;
    font-weight: 900;
    color: #D4B77A;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(212, 183, 122, 0.5);
}

.champ-captains-intro h2 i {
    margin-right: 8px;
}

.champ-captains-intro p {
    font-size: 12px;
    color: #A8A8AA;
    line-height: 1.7;
    letter-spacing: 0.3px;
}

/* ═══════════════════════════════════════════════════════
   2) MAIN ACTION BUTTONS
========================================================= */

.champ-captains-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
    align-items: center;
}

.champ-captain-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 340px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #8B1A2F 0%, #6B0F1F 100%);
    color: #F5E6D3;
    border: 2px solid #C8A95F;
    border-radius: 50px;
    font-family: 'Inter', 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 6px 20px rgba(139, 26, 47, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.champ-captain-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow:
        0 10px 28px rgba(139, 26, 47, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.champ-captain-btn:active:not(:disabled) {
    transform: translateY(0) scale(0.97);
}

.champ-captain-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.champ-captain-btn.gold {
    background: linear-gradient(135deg, #D4B77A 0%, #8B7340 100%);
    color: #1E1E20;
    border-color: #FAF6F0;
}

.champ-captain-btn.gold:hover:not(:disabled) {
    box-shadow:
        0 10px 28px rgba(212, 183, 122, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.champ-captain-btn i {
    font-size: 18px;
}

.champ-captain-btn.gold i {
    color: #8B1A2F;
}

/* ═══════════════════════════════════════════════════════
   3) TEAM LIST (Public view)
========================================================= */

.champ-captains-teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.champ-team-captain-card {
    background: #2C2C2E;
    border: 1.5px solid #3A3A3C;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.champ-team-captain-card:hover {
    border-color: #D4B77A;
    background: #3A3A3C;
    transform: translateY(-2px);
}

.champ-team-captain-card.has-captain {
    border-color: rgba(212, 183, 122, 0.5);
    background: linear-gradient(135deg,
        rgba(139, 26, 47, 0.2) 0%,
        #2C2C2E 100%);
}

.champ-team-captain-card img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.champ-team-captain-info {
    flex: 1;
    min-width: 0;
    direction: ltr;
    text-align: left;
}

.champ-team-captain-team {
    font-size: 12px;
    font-weight: 900;
    color: #F5E6D3;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.champ-team-captain-name {
    font-size: 10px;
    font-weight: 700;
    color: #D4B77A;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.champ-team-captain-name.empty {
    color: #6A6A6D;
    font-style: italic;
}

.champ-team-captain-crown {
    color: #D4B77A;
    font-size: 16px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(212, 183, 122, 0.6));
}

/* ═══════════════════════════════════════════════════════
   4) MODAL — PIN Dialog
========================================================= */

.champ-captain-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    direction: ltr;
}

.champ-captain-modal.show {
    display: flex;
}

.champ-captain-modal-box {
    width: 100%;
    max-width: 420px;
    background: #2C2C2E;
    border: 2px solid #C8A95F;
    border-radius: 20px;
    padding: 28px 24px;
    position: relative;
    animation: champCaptainModalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(212, 183, 122, 0.2);
}

@keyframes champCaptainModalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.champ-captain-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.3);
    border: 1.5px solid #C8A95F;
    border-radius: 50%;
    color: #D4B77A;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-family: inherit;
}

.champ-captain-modal-close:hover {
    background: #C8A95F;
    color: #1E1E20;
    transform: rotate(90deg);
}

.champ-captain-modal-title {
    font-size: 18px;
    font-weight: 900;
    color: #D4B77A;
    text-align: center;
    margin-bottom: 6px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.champ-captain-modal-sub {
    font-size: 11px;
    color: #A8A8AA;
    text-align: center;
    margin-bottom: 22px;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.champ-captain-pin-input {
    width: 100%;
    padding: 18px;
    background: #1E1E20;
    border: 2px solid #3A3A3C;
    border-radius: 14px;
    color: #F5E6D3;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 14px;
    text-align: center;
    font-family: 'Inter', monospace;
    outline: none;
    transition: all 0.2s ease;
    direction: ltr;
}

.champ-captain-pin-input:focus {
    border-color: #C8A95F;
    box-shadow: 0 0 0 3px rgba(200, 169, 95, 0.2);
}

.champ-captain-pin-input::placeholder {
    color: #3A3A3C;
    letter-spacing: 10px;
}

.champ-captain-pin-error {
    color: #EF4444;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    margin-top: 12px;
    min-height: 18px;
    letter-spacing: 0.5px;
}

.champ-captain-modal-btn {
    width: 100%;
    padding: 14px;
    margin-top: 18px;
    background: linear-gradient(135deg, #D4B77A 0%, #8B7340 100%);
    color: #1E1E20;
    border: 2px solid #FAF6F0;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s ease;
    box-shadow:
        0 6px 20px rgba(212, 183, 122, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.champ-captain-modal-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow:
        0 10px 28px rgba(212, 183, 122, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.champ-captain-modal-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════
   5) CAPTAIN DASHBOARD
========================================================= */

.champ-captain-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg,
        rgba(139, 26, 47, 0.35) 0%,
        rgba(58, 10, 21, 0.5) 100%);
    border: 1.5px solid rgba(212, 183, 122, 0.5);
    border-radius: 16px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.champ-captain-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        #D4B77A 50%,
        transparent 100%);
    box-shadow: 0 0 12px rgba(212, 183, 122, 0.6);
}

.champ-captain-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.champ-captain-header-info img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
}

.champ-captain-header-text {
    min-width: 0;
    direction: ltr;
    text-align: left;
}

.champ-captain-header-team {
    font-size: 16px;
    font-weight: 900;
    color: #D4B77A;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.champ-captain-header-name {
    font-size: 11px;
    font-weight: 700;
    color: #A8A8AA;
    margin-top: 2px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.champ-captain-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    background: rgba(212, 183, 122, 0.15);
    border: 1.5px solid #C8A95F;
    border-radius: 50px;
    color: #D4B77A;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.champ-captain-header-badge i {
    font-size: 14px;
}

.champ-captain-logout {
    padding: 8px 14px;
    background: rgba(139, 26, 47, 0.4);
    border: 1.5px solid #B8253F;
    border-radius: 10px;
    color: #F5E6D3;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    text-transform: uppercase;
    flex-shrink: 0;
}

.champ-captain-logout:hover {
    background: #8B1A2F;
    transform: scale(1.03);
}

/* ═══════════════════════════════════════════════════════
   6) SELECTION PROGRESS
========================================================= */

.champ-captain-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: #2C2C2E;
    border: 1.5px solid #3A3A3C;
    border-radius: 14px;
    margin-bottom: 16px;
}

.champ-captain-progress-text {
    font-size: 12px;
    font-weight: 900;
    color: #F5E6D3;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.champ-captain-progress-count {
    display: inline-block;
    min-width: 22px;
    color: #D4B77A;
    font-size: 18px;
    text-shadow: 0 0 12px rgba(212, 183, 122, 0.6);
}

.champ-captain-progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(212, 183, 122, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.champ-captain-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #8B1A2F 0%, #D4B77A 100%);
    border-radius: 3px;
    transition: width 0.4s ease;
    box-shadow: 0 0 12px rgba(212, 183, 122, 0.6);
}

.champ-captain-progress-fill.full {
    background: linear-gradient(90deg, #10B981 0%, #059669 100%);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

/* ═══════════════════════════════════════════════════════
   7) MANAGERS TABLE
========================================================= */

.champ-captain-table {
    background: #2C2C2E;
    border: 1.5px solid #3A3A3C;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
}

.champ-captain-table-header {
    display: grid;
    grid-template-columns: 50px 1fr 60px 70px 100px;
    gap: 8px;
    padding: 12px 16px;
    background: #1E1E20;
    border-bottom: 1.5px solid #3A3A3C;
    font-size: 10px;
    font-weight: 900;
    color: #D4B77A;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    direction: ltr;
    text-align: left;
    position: relative;
}

.champ-captain-table-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #D4B77A 0%, #8B1A2F 100%);
}

.champ-captain-row {
    display: grid;
    grid-template-columns: 50px 1fr 60px 70px 100px;
    gap: 8px;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #3A3A3C;
    transition: all 0.2s ease;
    cursor: pointer;
    direction: ltr;
    text-align: left;
    position: relative;
    background: #2C2C2E;
}

.champ-captain-row:last-child {
    border-bottom: none;
}

.champ-captain-row:hover {
    background: #3A3A3C;
}

.champ-captain-row.selected {
    background: linear-gradient(90deg,
        rgba(16, 185, 129, 0.15) 0%,
        #2C2C2E 70%);
    border-left: 3px solid #10B981;
}

.champ-captain-row.selected::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #10B981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

.champ-captain-row.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.champ-captain-checkbox {
    width: 26px;
    height: 26px;
    border: 2px solid #C8A95F;
    border-radius: 8px;
    background: #1E1E20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.champ-captain-checkbox.checked {
    background: #10B981;
    border-color: #10B981;
}

.champ-captain-checkbox i {
    font-size: 16px;
    color: #FFFFFF;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.champ-captain-checkbox.checked i {
    opacity: 1;
    transform: scale(1);
}

.champ-captain-manager-name {
    font-size: 13px;
    font-weight: 900;
    color: #F5E6D3;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.champ-captain-manager-name small {
    display: block;
    font-size: 9px;
    color: #A8A8AA;
    font-weight: 700;
    margin-top: 2px;
    letter-spacing: 0.3px;
}

.champ-captain-points-col {
    text-align: center;
    font-size: 13px;
    font-weight: 900;
    font-family: 'Inter', monospace;
    letter-spacing: 0.5px;
}

.champ-captain-points-col.avg {
    color: #A8A8AA;
}

.champ-captain-points-col.last {
    color: #D4B77A;
    text-shadow: 0 0 8px rgba(212, 183, 122, 0.4);
}

.champ-captain-points-col.total {
    color: #F5E6D3;
}

.champ-captain-mini-graph {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 26px;
    justify-content: flex-end;
}

.champ-captain-mini-bar {
    width: 6px;
    background: linear-gradient(180deg,
        rgba(212, 183, 122, 0.8) 0%,
        rgba(139, 26, 47, 0.6) 100%);
    border-radius: 2px 2px 0 0;
    min-height: 4px;
    transition: all 0.2s ease;
}

.champ-captain-row.selected .champ-captain-mini-bar {
    background: linear-gradient(180deg,
        rgba(16, 185, 129, 0.9) 0%,
        rgba(5, 150, 105, 0.6) 100%);
}

/* ═══════════════════════════════════════════════════════
   8) SAVE BUTTON (Sticky)
========================================================= */

.champ-captain-save-wrap {
    position: sticky;
    bottom: 16px;
    left: 0;
    right: 0;
    padding: 0 4px;
    z-index: 50;
    pointer-events: none;
    margin-top: 20px;
}

.champ-captain-save-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    border: 3px solid #FAF6F0;
    border-radius: 50px;
    font-family: 'Inter', 'Cairo', sans-serif;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 8px 30px rgba(16, 185, 129, 0.5),
        0 0 60px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    pointer-events: auto;
    animation: champCaptSavePulse 2.4s ease-in-out infinite;
}

@keyframes champCaptSavePulse {
    0%, 100% {
        box-shadow:
            0 8px 30px rgba(16, 185, 129, 0.5),
            0 0 60px rgba(16, 185, 129, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow:
            0 12px 40px rgba(16, 185, 129, 0.8),
            0 0 100px rgba(16, 185, 129, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
        transform: scale(1.02);
    }
}

.champ-captain-save-btn:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.02);
}

.champ-captain-save-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    animation: none;
}

.champ-captain-save-btn i {
    font-size: 20px;
}

/* ═══════════════════════════════════════════════════════
   9) LOCKED STATE
========================================================= */

.champ-captain-locked {
    padding: 24px 20px;
    background: linear-gradient(135deg,
        rgba(212, 183, 122, 0.1) 0%,
        rgba(58, 10, 21, 0.3) 100%);
    border: 2px solid rgba(212, 183, 122, 0.5);
    border-radius: 16px;
    text-align: center;
    margin-top: 16px;
    position: relative;
}

.champ-captain-locked-icon {
    font-size: 44px;
    color: #D4B77A;
    margin-bottom: 12px;
    display: block;
    filter: drop-shadow(0 0 20px rgba(212, 183, 122, 0.6));
}

.champ-captain-locked-title {
    font-size: 16px;
    font-weight: 900;
    color: #D4B77A;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.champ-captain-locked-sub {
    font-size: 12px;
    color: #A8A8AA;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

.champ-captain-starters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}

.champ-captain-starter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(16, 185, 129, 0.15);
    border: 1.5px solid #10B981;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 900;
    color: #10B981;
    letter-spacing: 0.5px;
}

.champ-captain-starter-chip i {
    font-size: 12px;
}

/* ═══════════════════════════════════════════════════════
   10) ADMIN SECTION
========================================================= */

.champ-captains-admin-section {
    margin-top: 24px;
    padding: 20px;
    background: linear-gradient(135deg,
        rgba(139, 26, 47, 0.15) 0%,
        rgba(44, 44, 46, 1) 100%);
    border: 1.5px solid rgba(212, 183, 122, 0.3);
    border-radius: 16px;
}

.champ-captains-admin-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 900;
    color: #D4B77A;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212, 183, 122, 0.2);
}

.champ-captains-admin-title i {
    font-size: 18px;
}

/* Captain picker for admin */
.champ-captains-picker-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 340px;
    overflow-y: auto;
    margin-bottom: 14px;
}

.champ-captains-picker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #1E1E20;
    border: 1.5px solid #3A3A3C;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    direction: ltr;
    text-align: left;
}

.champ-captains-picker-item:hover {
    border-color: #D4B77A;
    background: #2C2C2E;
}

.champ-captains-picker-item.selected {
    border-color: #10B981;
    background: linear-gradient(90deg,
        rgba(16, 185, 129, 0.15) 0%,
        #1E1E20 70%);
}

.champ-captains-picker-item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.champ-captains-picker-info {
    flex: 1;
    min-width: 0;
    direction: ltr;
    text-align: left;
}

.champ-captains-picker-name {
    font-size: 12px;
    font-weight: 900;
    color: #F5E6D3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.champ-captains-picker-sub {
    font-size: 10px;
    color: #A8A8AA;
    font-weight: 700;
    margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════
   11) LOADING / EMPTY
========================================================= */

.champ-captains-loading,
.champ-captains-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 50px 20px;
    text-align: center;
    color: #A8A8AA;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.champ-captains-loading i,
.champ-captains-empty i {
    font-size: 40px;
    color: #D4B77A;
    opacity: 0.7;
}

.champ-captains-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212, 183, 122, 0.2);
    border-top-color: #D4B77A;
    border-radius: 50%;
    animation: champCaptSpin 0.8s linear infinite;
}

@keyframes champCaptSpin {
    to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════
   12) MOBILE
========================================================= */

@media (max-width: 600px) {
    .champ-captain-table-header,
    .champ-captain-row {
        grid-template-columns: 40px 1fr 50px 55px 70px;
        gap: 6px;
        padding: 10px 12px;
    }

    .champ-captain-manager-name {
        font-size: 12px;
    }

    .champ-captain-points-col {
        font-size: 11px;
    }

    .champ-captain-mini-graph {
        height: 22px;
    }

    .champ-captain-mini-bar {
        width: 4px;
    }

    .champ-captain-checkbox {
        width: 22px;
        height: 22px;
    }

    .champ-captain-checkbox i {
        font-size: 14px;
    }

    .champ-captains-intro h2 {
        font-size: 18px;
    }

    .champ-captain-header-team {
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    .champ-captain-table-header,
    .champ-captain-row {
        grid-template-columns: 36px 1fr 44px 50px 60px;
        padding: 10px 8px;
    }

    .champ-captain-points-col {
        font-size: 10px;
    }

    .champ-captain-header {
        flex-wrap: wrap;
    }

    .champ-captain-header-badge {
        padding: 4px 10px;
        font-size: 9px;
    }
}

/* ═══════════════════════════════════════════════════════
   13) REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .champ-captain-save-btn {
        animation: none;
    }

    .champ-captain-modal-box {
        animation: none;
    }
}
