/* Team Page (Locker Room) Styles */
/* Matches main app design tokens: dark bg, white cards, orange accents, Montserrat font */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevent horizontal overflow/wobble on mobile */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body.team-page {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #1a1a1a;
    min-height: 100vh;
    color: #333;
}

.team-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 16px;
    padding-bottom: 100px; /* Extra space for fixed bottom nav bar */
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #aaa;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
    transition: color 0.2s;
}

.back-link:hover {
    color: #FF4500;
}

/* Main Card */
.locker-room-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Hero Banner */
.hero-banner {
    position: relative;
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px 12px 0 0;
}

.hero-edit-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.hero-edit-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
}

.hero-edit-btn svg {
    width: 18px;
    height: 18px;
    color: white;
}

.hero-banner-placeholder {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 12px 12px 0 0;
    border: 2px dashed #ccc;
    border-bottom: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.hero-banner-placeholder:hover {
    background: linear-gradient(135deg, #eee 0%, #ddd 100%);
    border-color: #FF4500;
}

.hero-placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #888;
}

.hero-placeholder-content svg {
    width: 32px;
    height: 32px;
}

.hero-placeholder-content span {
    font-size: 13px;
    font-weight: 500;
}

@media (max-width: 600px) {
    .hero-banner {
        height: 140px;
    }
    
    .hero-banner-placeholder {
        height: 100px;
    }
    
    .hero-placeholder-content svg {
        width: 24px;
        height: 24px;
    }
    
    .hero-placeholder-content span {
        font-size: 12px;
    }
}

/* Next Game Spotlight */
.next-game-spotlight {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.next-game-spotlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5L35 25H55L39 37L45 57L30 45L15 57L21 37L5 25H25L30 5Z' fill='none' stroke='%23ffffff' stroke-opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

.spotlight-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
}

.spotlight-label {
    background: linear-gradient(135deg, #FF4500, #ff6b35);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(255, 69, 0, 0.4);
}

.days-countdown {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.matchup-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
    position: relative;
}

.matchup-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 100px;
}

.team-logo-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.matchup-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.matchup-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    background: #f0f0f0;
}

.matchup-team .team-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.matchup-team .team-short-name {
    color: white;
    font-size: 14px;
    font-weight: 600;
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.matchup-team .team-rank {
    background: rgba(255, 255, 255, 0.15);
    color: #ffd700;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
}

.matchup-team .team-rank.unranked {
    color: rgba(255, 255, 255, 0.5);
}

.matchup-vs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.vs-text {
    color: #FF4500;
    font-size: 22px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.match-date {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
}

.match-time {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.matchup-venue {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin-bottom: 16px;
    position: relative;
}

.livestream-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    position: relative;
}

.livestream-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.livestream-btn.active {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
    animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
    0%, 100% { box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(255, 0, 0, 0.6); }
}

.livestream-btn.active:hover {
    transform: scale(1.05);
}

.livestream-btn.placeholder {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border: 1px dashed rgba(255, 255, 255, 0.3);
}

.livestream-btn.placeholder:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.livestream-edit-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s;
}

.livestream-edit-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Livestream Modal */
.livestream-edit-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.livestream-modal-content {
    background: white;
    border-radius: 12px;
    padding: 24px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.livestream-modal-content h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
    color: #1a1a1a;
}

.livestream-modal-content input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.livestream-modal-content input:focus {
    outline: none;
    border-color: #FF4500;
}

.livestream-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.livestream-modal-actions .btn-secondary {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.livestream-modal-actions .btn-primary {
    padding: 10px 20px;
    background: #FF4500;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.livestream-modal-actions .btn-primary:hover {
    background: #e63e00;
}

@media (max-width: 600px) {
    .next-game-spotlight {
        padding: 16px 12px;
    }
    
    .matchup-display {
        gap: 12px;
    }
    
    .team-logo-wrapper {
        width: 52px;
        height: 52px;
    }
    
    .matchup-team .team-short-name {
        font-size: 12px;
        max-width: 80px;
    }
    
    .vs-text {
        font-size: 18px;
    }
    
    .livestream-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Team Header - Compact */
.team-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-bottom: 3px solid #FF4500;
    background: #fafafa;
}

.team-logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    object-fit: cover;
    background: white;
    flex-shrink: 0;
}

.team-logo-placeholder-container {
    position: relative;
    display: inline-block;
}

.team-logo-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
}

.suggest-logo-btn {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #FF4500;
    border: 2px solid white;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.suggest-logo-btn:hover {
    background: #e03e00;
    transform: scale(1.1);
}

.suggest-logo-intro {
    background: rgba(255, 69, 0, 0.08);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.suggest-logo-intro p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.logo-upload-preview-area {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-preview-box {
    width: 100px;
    height: 100px;
    border: 2px dashed #ddd;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: #fafafa;
    color: #999;
    gap: 8px;
}

.logo-preview-box:hover {
    border-color: #FF4500;
    background: rgba(255, 69, 0, 0.05);
}

.logo-preview-box span {
    font-size: 0.75rem;
}

.logo-preview-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #FF4500;
}

.team-info {
    flex: 1;
    min-width: 0;
}

.team-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
    line-height: 1.2;
}

.team-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
}

.team-meta-divider {
    color: #ccc;
}

.badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.team-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: white;
}

.team-badge.state-champ {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.team-badge.nationals-champ {
    background: linear-gradient(135deg, #ca8a04 0%, #fbbf24 100%);
}

.team-badge.t2-champ {
    background: linear-gradient(135deg, #64748b 0%, #94a3b8 100%);
}

/* Team Follow Button */
.team-follow-action {
    margin-top: 10px;
}

.team-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: transparent;
    border: 1.5px solid #FF4500;
    color: #FF4500;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.team-follow-btn:hover {
    background: #FF4500;
    color: white;
}

.team-follow-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.team-follow-btn svg {
    flex-shrink: 0;
}

.following-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #f0f9f0;
    border: 1.5px solid #22c55e;
    color: #22c55e;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.following-indicator svg {
    flex-shrink: 0;
}

/* Quick Stats Bar */
.quick-stats {
    display: flex;
    justify-content: space-around;
    padding: 16px 20px;
    background: white;
    border-bottom: 1px solid #eee;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF4500;
    line-height: 1;
}

.base-indicator {
    font-size: 0.5rem;
    font-weight: 600;
    color: #888;
    background: #f0f0f0;
    padding: 2px 4px;
    border-radius: 3px;
    margin-left: 4px;
    vertical-align: middle;
    letter-spacing: 0.5px;
}

.stat-label {
    font-size: 10px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Rankings Bar */
.rankings-bar {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
}

.ranking-chip-link {
    text-decoration: none;
    color: inherit;
}

.ranking-chip-link .ranking-chip {
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ranking-chip-link:hover .ranking-chip {
    border-color: #FF4500;
    box-shadow: 0 2px 8px rgba(255, 69, 0, 0.15);
}

.ranking-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.ranking-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ranking-icon img {
    width: 24px;
    height: 24px;
}

.ranking-icon span {
    font-size: 18px;
}

.ranking-details {
    display: flex;
    flex-direction: column;
}

.ranking-source {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ranking-value {
    font-size: 18px;
    font-weight: 700;
    color: #FF4500;
    line-height: 1;
}

.ranking-chip.goff .ranking-value {
    color: #333;
}

.ranking-category {
    font-size: 10px;
    color: #888;
}

/* Content Grid - Two Column */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 700px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .left-column {
        border-bottom: 1px solid #eee;
    }
}

/* Section Styles */
.content-section {
    padding: 24px;
    border-bottom: 1px solid #eee;
}

.content-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title::before {
    content: '';
    width: 3px;
    height: 14px;
    background: #FF4500;
    border-radius: 2px;
}

/* Games Table */
.games-table {
    width: 100%;
    font-size: 13px;
}

.game-row {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 10px;
}

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

.game-date {
    font-size: 11px;
    color: #888;
    min-width: 55px;
    flex-shrink: 0;
}

.game-opponent {
    flex: 1;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-score {
    font-weight: 600;
    color: #555;
    min-width: 50px;
    text-align: right;
}

.result-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

.result-pill.win {
    background: #22c55e;
    color: white;
}

.result-pill.loss {
    background: #ef4444;
    color: white;
}

.result-pill.tie {
    background: #f59e0b;
    color: white;
}

/* Tournament List */
.tournament-item {
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 8px;
    border-left: 3px solid #FF4500;
}

.tournament-item:last-child {
    margin-bottom: 0;
}

.tournament-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.tournament-date {
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

/* Social Icons - Circular buttons */
.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-icon svg {
    width: 22px;
    height: 22px;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.social-icon.instagram:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.4);
}

.social-icon.twitter {
    background: #000;
    color: white;
}

.social-icon.twitter:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-icon.website {
    background: #FF4500;
    color: white;
}

.social-icon.website:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.4);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 20px;
    color: #888;
    font-size: 13px;
}

.empty-state-icon {
    font-size: 24px;
    margin-bottom: 8px;
    opacity: 0.5;
}

/* Left Column Styling */
.left-column {
    border-right: 1px solid #eee;
}

@media (max-width: 700px) {
    .left-column {
        border-right: none;
    }
}

/* Scheduled Games */
.scheduled-game-row {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 10px;
    flex-wrap: wrap;
}

.scheduled-game-row:last-child {
    border-bottom: none;
}

.game-location {
    font-size: 11px;
    color: #888;
    width: 100%;
    padding-left: 65px;
    margin-top: -4px;
}

/* Record Result Button */
.record-result-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: auto;
}

.record-result-btn:hover {
    background: #218838;
    transform: translateY(-1px);
}

/* Record Result Modal Styles */
.record-result-matchup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    margin-bottom: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.matchup-team {
    text-align: center;
    flex: 1;
    max-width: 140px;
}

.matchup-label {
    display: block;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.matchup-team-name {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    word-wrap: break-word;
}

.matchup-vs {
    font-size: 16px;
    font-weight: 700;
    color: #888;
}

.record-date-display {
    text-align: center;
    margin-bottom: 20px;
    font-size: 13px;
    color: #666;
}

.record-date-label {
    color: #888;
    margin-right: 4px;
}

.record-date-value {
    font-weight: 600;
    color: #333;
}

.score-input-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.score-input-group {
    text-align: center;
}

.score-input-group label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
}

.score-input {
    width: 80px;
    height: 50px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
}

.score-input:focus {
    outline: none;
    border-color: #FF4500;
}

.score-separator {
    font-size: 24px;
    font-weight: 700;
    color: #888;
    margin-top: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* C-Value Display */
.c-value-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f0f0f0;
    border-radius: 6px;
    font-size: 12px;
    color: #666;
}

.c-value-chip strong {
    color: #333;
}

/* Mobile Adjustments */
@media (max-width: 500px) {
    .team-header {
        padding: 16px;
    }
    
    .team-name {
        font-size: 1.2rem;
    }
    
    .team-logo,
    .team-logo-placeholder {
        width: 56px;
        height: 56px;
    }
    
    .quick-stats {
        padding: 12px 16px;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
    
    .content-section {
        padding: 20px 16px;
    }
    
    .rankings-bar {
        padding: 12px 16px;
    }
}

/* Medium screens - maintain proper proportions */
@media (min-width: 501px) and (max-width: 700px) {
    .content-section {
        padding: 24px 20px;
    }
}

/* Section Header with Action Button */
.section-header-with-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.section-header-with-action .section-title {
    margin-bottom: 0;
}

.add-game-btn {
    padding: 6px 12px;
    background: linear-gradient(135deg, #FF4500 0%, #FF6A33 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
}

.add-game-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.3);
}

.empty-state.small {
    padding: 16px;
}

.empty-state.small p {
    margin: 0;
}

/* Schedule Modal - Core styles in shared_modals.css */
/* Team page specific overrides only */

.modal-team-name {
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-team-label {
    font-size: 12px;
    color: #666;
}

.modal-team-value {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.game-entry-form {
    margin-bottom: 20px;
}

/* Home/Away Toggle */
.home-away-toggle {
    display: flex;
}

.home-away-toggle input[type="checkbox"] {
    display: none;
}

.toggle-label {
    display: flex;
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.toggle-option {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.toggle-option.home {
    background: #22c55e;
    color: white;
}

.toggle-option.away {
    background: #f0f0f0;
    color: #888;
}

.home-away-toggle input:not(:checked) + .toggle-label .toggle-option.home {
    background: #f0f0f0;
    color: #888;
}

.home-away-toggle input:not(:checked) + .toggle-label .toggle-option.away {
    background: #3b82f6;
    color: white;
}

.add-to-list-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #FF4500 0%, #FF6A33 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
}

.add-to-list-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.3);
}

/* Pending Games Section */
.pending-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.pending-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.pending-games-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pending-game-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.pending-game-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pending-game-date {
    font-size: 11px;
    color: #888;
}

.pending-game-matchup {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.pending-game-location {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    width: fit-content;
}

.pending-game-location.home {
    background: #dcfce7;
    color: #16a34a;
}

.pending-game-location.away {
    background: #dbeafe;
    color: #2563eb;
}

.remove-game-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #ccc;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
}

.remove-game-btn:hover {
    color: #ef4444;
}

.no-games {
    color: #999;
    text-align: center;
    padding: 12px;
    font-size: 13px;
}

/* Contact Section */
.contact-section {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
}

.logged-in-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #dcfce7;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: #22c55e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.logged-in-notice strong {
    display: block;
    font-size: 14px;
    color: #166534;
}

.logged-in-email {
    font-size: 12px;
    color: #16a34a;
}

/* Modal messages, actions, and buttons from shared_modals.css */
/* Additional mobile adjustments below */

/* Mobile Adjustments for Modal */
@media (max-width: 500px) {
    .schedule-modal {
        padding: 10px;
    }
    
    .schedule-modal-content {
        padding: 20px 16px;
    }
    
    .modal-title {
        font-size: 1.1rem;
    }
    
    .toggle-option {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* =====================================================
   LOCKER ROOM ZONE - Wood-themed visual separation
   ===================================================== */

.locker-room-zone {
    margin-top: 32px;
    position: relative;
}

/* Locker Room Divider */
.locker-room-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.locker-room-divider-line {
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #8B4513 20%, 
        #A0522D 50%, 
        #8B4513 80%, 
        transparent 100%
    );
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(139, 69, 19, 0.3);
}

.locker-room-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #5D4037 0%, #4E342E 50%, #3E2723 100%);
    border-radius: 8px;
    border: 2px solid #8B4513;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* Wood grain texture overlay */
.locker-room-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        rgba(0, 0, 0, 0.03) 1px,
        transparent 2px,
        transparent 8px
    );
    pointer-events: none;
}

.locker-room-label span {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #DEB887;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.locker-icon {
    width: 22px;
    height: 22px;
    color: #DEB887;
    position: relative;
    z-index: 1;
}

/* Locker Room Content Container */
.locker-room-content {
    background: linear-gradient(180deg, 
        rgba(93, 64, 55, 0.15) 0%, 
        rgba(62, 39, 35, 0.08) 100%
    );
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(139, 69, 19, 0.25);
    position: relative;
    overflow: hidden;
}

/* Locker Room Columns - Side by side on desktop */
.locker-room-columns {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 960px) {
    .locker-room-columns {
        flex-direction: row;
        gap: 32px;
        align-items: flex-start;
    }
    
    .locker-room-columns .roster-section {
        flex: 1;
        min-width: 0;
    }
    
    .locker-room-columns .trophy-case-section {
        flex: 1;
        min-width: 0;
        position: sticky;
        top: 80px;
    }
}

/* =====================================================
   DAWG OF THE WEEK STYLES
   Unique locker room vibe - gritty, bold, in-your-face
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@500;700&display=swap');

.dawg-of-week-section {
    background: linear-gradient(145deg, #0d0d0d 0%, #1a1a1a 50%, #0d0d0d 100%);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    border: 3px solid #FF4500;
    box-shadow: 
        0 0 30px rgba(255, 69, 0, 0.2),
        inset 0 0 60px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.dawg-of-week-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #FF4500, transparent);
}

.dawg-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    margin-bottom: 20px;
}

.dawg-icon {
    font-size: 40px;
    filter: drop-shadow(0 0 8px rgba(255, 69, 0, 0.5));
}

.dawg-title {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: #FF4500;
    margin: 0;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.dawg-description {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    color: #999;
    font-weight: 500;
    line-height: 1.4;
    max-width: 280px;
    font-style: italic;
}

.dawg-subtitle {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    color: #FF6B35;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dawg-poll-container {
    position: relative;
}

.dawg-poll-timer {
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    color: #FF6B35;
    font-weight: 500;
    margin-bottom: 16px;
    padding: 10px 16px;
    background: rgba(255, 69, 0, 0.08);
    border: 1px solid rgba(255, 69, 0, 0.3);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dawg-player-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
    max-height: 320px;
    overflow-y: auto;
    padding: 4px;
}

.dawg-player-card {
    background: rgba(30, 30, 30, 0.8);
    border: 2px solid #333;
    border-radius: 6px;
    padding: 14px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
}

.dawg-player-card:hover {
    background: rgba(255, 69, 0, 0.15);
    border-color: #FF4500;
    transform: scale(1.03);
}

.dawg-player-card.voted {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.25) 0%, rgba(255, 100, 50, 0.15) 100%);
    border-color: #FF4500;
    box-shadow: 0 0 16px rgba(255, 69, 0, 0.4);
}

.dawg-player-card.voted::after {
    content: '✓ VOTED';
    position: absolute;
    top: 4px;
    right: 4px;
    left: 4px;
    color: #FF4500;
    font-family: 'Oswald', sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1px;
    text-align: center;
}

.dawg-player-name {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dawg-vote-confirmation {
    text-align: center;
    padding: 20px;
    background: rgba(255, 69, 0, 0.1);
    border-radius: 6px;
    border: 2px solid #FF4500;
    margin-top: 16px;
}

.dawg-vote-confirmation .vote-check {
    font-size: 36px;
    margin-bottom: 8px;
}

.dawg-vote-confirmation .vote-message {
    font-family: 'Oswald', sans-serif;
    color: #FF6B35;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dawg-login-prompt {
    text-align: center;
    margin-top: 16px;
}

.dawg-login-btn {
    font-family: 'Oswald', sans-serif;
    background: #FF4500;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}

.dawg-login-btn:hover {
    background: #e03d00;
    transform: scale(1.02);
}

/* Winner Display */
.dawg-winner-container {
    text-align: center;
}

.dawg-winner-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 3px solid #FFD700;
    border-radius: 8px;
    padding: 28px 24px;
    display: inline-block;
    min-width: 220px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.dawg-winner-badge {
    font-size: 56px;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.5));
}

.dawg-winner-name {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    color: #FFD700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.dawg-winner-votes {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    color: #999;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dawg-winner-date {
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    color: #666;
    margin-top: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Not Eligible */
.dawg-not-eligible {
    text-align: center;
    padding: 24px;
    color: #666;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 600px) {
    .dawg-of-week-section {
        padding: 20px 16px;
        margin-bottom: 16px;
        border-width: 2px;
    }
    
    .dawg-section-header {
        gap: 6px;
        margin-bottom: 16px;
    }
    
    .dawg-icon {
        font-size: 32px;
    }
    
    .dawg-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .dawg-description {
        font-size: 12px;
        max-width: 260px;
    }
    
    .dawg-subtitle {
        font-size: 11px;
    }
    
    .dawg-poll-timer {
        font-size: 11px;
        padding: 8px 12px;
        margin-bottom: 12px;
    }
    
    .dawg-player-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        max-height: 280px;
    }
    
    .dawg-player-card {
        padding: 10px 4px;
    }
    
    .dawg-player-card.voted::after {
        font-size: 8px;
    }
    
    .dawg-player-name {
        font-size: 11px;
    }
    
    .dawg-vote-confirmation {
        padding: 16px;
        margin-top: 12px;
    }
    
    .dawg-vote-confirmation .vote-check {
        font-size: 28px;
    }
    
    .dawg-vote-confirmation .vote-message {
        font-size: 12px;
    }
    
    .dawg-login-prompt {
        margin-top: 12px;
    }
    
    .dawg-login-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .dawg-winner-card {
        padding: 20px 16px;
        min-width: 180px;
    }
    
    .dawg-winner-badge {
        font-size: 44px;
        margin-bottom: 8px;
    }
    
    .dawg-winner-name {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }
    
    .dawg-winner-votes {
        font-size: 11px;
    }
    
    .dawg-winner-date {
        font-size: 10px;
        margin-top: 8px;
    }
    
    .dawg-not-eligible {
        padding: 16px;
        font-size: 12px;
    }
}

/* Subtle wood panel effect on sides */
.locker-room-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, 
        #8B4513 0%, 
        #A0522D 25%, 
        #8B4513 50%, 
        #A0522D 75%, 
        #8B4513 100%
    );
    border-radius: 16px 0 0 16px;
}

.locker-room-content::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, 
        #8B4513 0%, 
        #A0522D 25%, 
        #8B4513 50%, 
        #A0522D 75%, 
        #8B4513 100%
    );
    border-radius: 0 16px 16px 0;
}

/* Adjust sections inside locker room */
.locker-room-content .content-section {
    margin-left: 10px;
    margin-right: 10px;
}

/* Mobile adjustments for locker room */
@media (max-width: 600px) {
    .locker-room-divider {
        gap: 10px;
        margin-bottom: 16px;
    }
    
    .locker-room-label {
        padding: 8px 14px;
    }
    
    .locker-room-label span {
        font-size: 12px;
        letter-spacing: 1px;
    }
    
    .locker-icon {
        width: 18px;
        height: 18px;
    }
    
    .locker-room-content {
        padding: 12px 8px;
    }
    
    .locker-room-content::before,
    .locker-room-content::after {
        width: 4px;
    }
}

/* =====================================================
   LOCKER ROOM GATING - Follow to Unlock
   ===================================================== */

.locker-room-locked-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
    margin-left: 8px;
}

.locker-room-locked-badge svg {
    color: #ff9800;
}

.locker-room-gated {
    position: relative;
    background: linear-gradient(180deg, 
        rgba(93, 64, 55, 0.15) 0%, 
        rgba(62, 39, 35, 0.08) 100%
    );
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(139, 69, 19, 0.25);
    overflow: hidden;
    min-height: 350px;
}

.locker-room-blur-content {
    filter: blur(8px);
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
}

.locker-room-blur-content .locker-room-columns {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 960px) {
    .locker-room-blur-content .locker-room-columns {
        flex-direction: row;
        gap: 32px;
    }
    
    .locker-room-blur-content .roster-section,
    .locker-room-blur-content .trophy-case-section {
        flex: 1;
    }
}

.blur-preview {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 69, 0, 0.2);
}

.blur-preview .roster-section-header,
.blur-preview .trophy-case-header,
.blur-preview .game-photos-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.blur-preview .roster-icon,
.blur-preview .trophy-icon,
.blur-preview .game-photos-icon {
    width: 28px;
    height: 28px;
    color: #FF4500;
}

.blur-preview .roster-title,
.blur-preview .trophy-title,
.blur-preview .game-photos-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.blur-placeholder-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blur-row {
    height: 40px;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.12) 50%,
        rgba(255, 255, 255, 0.08) 100%
    );
    border-radius: 8px;
}

.blur-placeholder-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blur-placeholder-cards.horizontal {
    flex-direction: row;
    gap: 16px;
}

.blur-card {
    height: 100px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.04) 100%
    );
    border-radius: 12px;
    flex: 1;
}

.blur-card.photo {
    height: 120px;
    min-width: 150px;
}

/* Overlay */
.locker-room-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, 
        rgba(0, 0, 0, 0.3) 0%, 
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 10;
}

.locker-room-gate-content {
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, 
        rgba(26, 26, 26, 0.95) 0%, 
        rgba(45, 45, 45, 0.95) 100%
    );
    border-radius: 20px;
    border: 2px solid rgba(255, 69, 0, 0.4);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(255, 69, 0, 0.15);
    max-width: 380px;
    margin: 20px;
}

.gate-icon {
    margin-bottom: 16px;
}

.gate-icon svg {
    color: #FF4500;
    filter: drop-shadow(0 2px 8px rgba(255, 69, 0, 0.4));
}

.gate-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gate-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.gate-follow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #FF4500 0%, #FF6B35 100%);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gate-follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.5);
}

.gate-follow-btn:active {
    transform: translateY(0);
}

.gate-follow-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.gate-follow-count {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 12px;
}

/* At limit warning */
.gate-limit-warning {
    background: rgba(255, 152, 0, 0.15);
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: 12px;
    padding: 16px;
}

.gate-limit-warning p {
    color: #ff9800;
    font-size: 14px;
    margin: 0 0 8px 0;
}

.gate-limit-hint {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 13px !important;
}

.gate-manage-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 20px;
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.gate-manage-btn:hover {
    background: rgba(255, 152, 0, 0.3);
}

/* Login prompt */
.gate-login-prompt {
    text-align: center;
}

.gate-login-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0 0 16px 0;
}

.gate-signup-btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #FF4500 0%, #FF6B35 100%);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
}

.gate-signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.5);
}

.gate-login-alt {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 14px;
}

.gate-login-alt a {
    color: #FF4500;
    text-decoration: none;
    font-weight: 600;
}

.gate-login-alt a:hover {
    text-decoration: underline;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .locker-room-gated {
        min-height: 320px;
        padding: 12px;
    }
    
    .locker-room-gate-content {
        padding: 24px 18px;
        max-width: 320px;
    }
    
    .gate-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .gate-title {
        font-size: 18px;
    }
    
    .gate-description {
        font-size: 14px;
    }
    
    .gate-follow-btn,
    .gate-signup-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .blur-placeholder-cards.horizontal {
        flex-direction: row;
        overflow: hidden;
    }
    
    .blur-card.photo {
        min-width: 100px;
        height: 80px;
    }
}

/* =====================================================
   ROSTER SECTION - Enhanced Visual Design
   ===================================================== */

/* Roster Section Container */
.roster-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 16px;
    margin: 20px 0;
    padding: 28px !important;
    border: 1px solid rgba(255, 69, 0, 0.3);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern */
.roster-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Roster Section Header */
.roster-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.roster-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #FF4500 0%, #FF6A33 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.35);
}

.roster-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.roster-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    flex: 1;
}

.roster-header-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.view-stats-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-stats-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 69, 0, 0.5);
    color: #FF6A33;
}

.view-stats-btn svg {
    flex-shrink: 0;
}

.add-player-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #FF4500 0%, #FF6A33 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(255, 69, 0, 0.3);
}

.add-player-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 69, 0, 0.45);
}

.add-player-btn .btn-icon {
    font-size: 16px;
    font-weight: 700;
}

/* Roster List */
.roster-list {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 8px 0;
}

.roster-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    transition: background 0.2s ease;
}

.roster-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.roster-player-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    flex-wrap: wrap;
}

.edit-player-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
    flex-shrink: 0;
}

.roster-row:hover .edit-player-btn {
    opacity: 1;
}

.edit-player-btn:hover {
    background: rgba(255, 69, 0, 0.2);
    border-color: rgba(255, 69, 0, 0.4);
}

.edit-player-btn svg {
    stroke: #aaa;
}

.edit-player-btn:hover svg {
    stroke: #FF6A33;
}

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

/* Roster Show More Toggle */
.roster-row.roster-hidden {
    display: none;
}

.roster-list.expanded .roster-row.roster-hidden {
    display: flex;
}

.show-more-roster-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #aaa;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.show-more-roster-btn:hover {
    background: rgba(255, 69, 0, 0.1);
    border-color: rgba(255, 69, 0, 0.3);
    color: #FF6A33;
}

.show-more-roster-btn .show-more-icon {
    transition: transform 0.2s ease;
}

.show-more-roster-btn.expanded .show-more-icon {
    transform: rotate(180deg);
}

.player-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.player-grade {
    font-size: 10px;
    color: #aaa;
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.player-positions {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-left: auto;
}

.position-pill {
    font-size: 9px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
    background: rgba(255, 69, 0, 0.2);
    color: #FF6A33;
    border: 1px solid rgba(255, 69, 0, 0.4);
    white-space: nowrap;
}

/* Roster Player Info and Stats Layout */
.roster-row.has-stats {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.roster-player-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
}

.roster-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 53, 0.15);
    width: 100%;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.stat-label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    min-width: 38px;
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: #FF6B35;
    min-width: 24px;
    text-align: center;
}

.stat-controls {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #444;
    background: #2a2a2a;
    color: #ccc;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.stat-btn:hover {
    border-color: #FF6B35;
    color: #FF6B35;
    background: rgba(255, 107, 53, 0.1);
}

.stat-btn:active {
    transform: scale(0.95);
}

.stat-plus {
    color: #4CAF50;
}

.stat-plus:hover {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.stat-minus {
    color: #f44336;
}

.stat-minus:hover {
    border-color: #f44336;
    background: rgba(244, 67, 54, 0.1);
}

.stat-updated {
    animation: statPulse 0.3s ease;
}

@keyframes statPulse {
    0% { transform: scale(1); color: #FF6B35; }
    50% { transform: scale(1.3); color: #4CAF50; }
    100% { transform: scale(1); color: #FF6B35; }
}

.roster-stats-locked {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 107, 53, 0.05);
    border: 1px dashed #444;
    border-radius: 8px;
    margin-top: 12px;
}

.roster-stats-locked .locked-text {
    font-size: 13px;
    color: #888;
}

/* Player Quick Stats Popup */
.player-quick-stats-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    padding: 20px;
}

.quick-stats-content {
    background: #1e1e1e;
    border-radius: 16px;
    padding: 24px;
    max-width: 320px;
    width: 100%;
    position: relative;
    border: 1px solid #333;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.quick-stats-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: #888;
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
}

.quick-stats-close:hover {
    color: #fff;
}

.quick-stats-header {
    text-align: center;
    margin-bottom: 20px;
}

.quick-stats-header h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.quick-stats-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.quick-stats-grade {
    background: rgba(255, 107, 53, 0.15);
    color: #FF6B35;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.quick-stats-positions {
    color: #888;
    font-size: 0.8rem;
}

.quick-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.quick-stat-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
}

.quick-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF6B35;
    line-height: 1.2;
}

.quick-stat-label {
    display: block;
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.quick-stat-total {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.quick-stat-total .quick-stat-value {
    color: #4CAF50;
}

/* Player name clickable style */
.player-name-clickable {
    cursor: pointer;
    transition: color 0.2s ease;
}

.player-name-clickable:hover {
    color: #FF6B35;
    text-decoration: underline;
}

.player-stats-icon {
    opacity: 0.5;
    margin-left: 4px;
    vertical-align: middle;
    transition: opacity 0.2s ease;
}

.player-name-clickable:hover .player-stats-icon {
    opacity: 1;
}

@media (max-width: 600px) {
    .quick-stats-content {
        padding: 20px;
        max-width: 280px;
    }
    
    .quick-stat-value {
        font-size: 1.25rem;
    }
    
    .quick-stat-item {
        padding: 10px 6px;
    }
}

@media (max-width: 600px) {
    .roster-stats {
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px 10px;
    }
    
    .stat-item {
        gap: 6px;
    }
    
    .stat-label {
        font-size: 10px;
        min-width: 32px;
    }
    
    .stat-value {
        font-size: 14px;
        min-width: 20px;
    }
    
    .stat-btn {
        width: 22px;
        height: 22px;
        font-size: 12px;
    }
}

/* Empty State for Roster */
.roster-section .empty-state {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 32px 20px;
    text-align: center;
}

.roster-section .empty-state p {
    color: #888;
    font-size: 14px;
    margin: 0;
}

/* Mobile Adjustments for Roster Section */
@media (max-width: 600px) {
    .roster-section {
        padding: 20px !important;
        margin: 16px 0;
        border-radius: 12px;
    }
    
    .roster-section-header {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .roster-icon {
        width: 38px;
        height: 38px;
    }
    
    .roster-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .roster-title {
        font-size: 15px;
        flex: 1 1 auto;
    }
    
    .roster-header-buttons {
        width: 100%;
        justify-content: center;
        margin-top: 4px;
    }
    
    .add-player-btn,
    .upload-csv-btn,
    .view-stats-btn {
        flex: 1;
        justify-content: center;
        min-width: 0;
    }
    
    .add-player-btn .btn-text,
    .upload-csv-btn span,
    .view-stats-btn span {
        display: none;
    }
    
    .add-player-btn,
    .upload-csv-btn,
    .view-stats-btn {
        padding: 10px 12px;
    }
    
    .roster-row {
        padding: 10px 12px;
    }
    
    .roster-player-info {
        flex-wrap: wrap;
    }
    
    .player-name {
        font-size: 14px;
    }
    
    .player-grade {
        font-size: 9px;
        padding: 2px 6px;
    }
    
    .player-positions {
        width: 100%;
        margin-left: 0;
        margin-top: 4px;
    }
}

/* Roster Modal - Form Row for Names */
.player-entry-form {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-group.half {
    flex: 1;
}

/* Positions Grid */
.positions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.position-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #333;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    background: #f8f9fa;
    transition: all 0.2s;
}

.position-checkbox:hover {
    background: #f0f0f0;
}

.position-checkbox input[type="checkbox"] {
    accent-color: #FF4500;
    width: 16px;
    height: 16px;
}

.position-checkbox input[type="checkbox"]:checked + span,
.position-checkbox:has(input:checked) {
    color: #FF4500;
    font-weight: 600;
}

/* Pending Players Styles */
.pending-player-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.pending-player-grade {
    font-size: 11px;
    color: #888;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
}

.pending-player-positions {
    font-size: 11px;
    color: #FF4500;
    font-weight: 500;
}

.pending-player-varsity {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #FF4500;
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: 3px;
    margin-left: 4px;
}

/* Login Prompt for Roster */
.login-prompt {
    text-align: center;
    padding: 30px 20px;
}

.login-prompt-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.login-prompt h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.login-prompt p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.login-prompt-btn {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #FF4500 0%, #FF6A33 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.login-prompt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.3);
}

.login-prompt-alt {
    font-size: 13px;
    color: #888;
    margin-top: 16px;
}

.login-prompt-alt a {
    color: #FF4500;
    text-decoration: none;
    font-weight: 600;
}

.login-prompt-alt a:hover {
    text-decoration: underline;
}

/* Coach Only Modal Styles */
.coach-only-modal {
    max-width: 420px;
}

.coach-gate-message {
    text-align: center;
    padding: 20px;
    background: rgba(255, 69, 0, 0.05);
    border-radius: 12px;
    margin-bottom: 20px;
}

.gate-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.coach-gate-message p {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 12px;
}

.coach-gate-message .gate-subtext {
    font-size: 13px;
    color: #666;
    margin-bottom: 0;
}

.disabled-btn {
    opacity: 0.7;
}

/* Mobile adjustments for roster */
@media (max-width: 500px) {
    .positions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .roster-row {
        gap: 8px;
    }
    
    .roster-player-info {
        gap: 6px;
    }
    
    .player-name {
        font-size: 13px;
    }
    
    .position-pill {
        font-size: 8px;
        padding: 2px 6px;
    }
}

/* =====================================================
   TROPHY CASE SECTION - Championship Display
   ===================================================== */

/* Trophy Case Container */
.trophy-case-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 50%, #1a1a1a 100%);
    border-radius: 16px;
    margin: 20px 0;
    padding: 28px !important;
    border: 1px solid rgba(255, 215, 0, 0.25);
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Golden shimmer effect */
.trophy-case-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 215, 0, 0.5) 25%, 
        rgba(255, 215, 0, 0.8) 50%, 
        rgba(255, 215, 0, 0.5) 75%, 
        transparent 100%);
}

/* Trophy Case Header */
.trophy-case-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.trophy-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.35);
}

.trophy-icon svg {
    width: 24px;
    height: 24px;
    color: #1a1a1a;
}

.trophy-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    flex: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.add-achievement-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.add-achievement-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.5);
}

.add-achievement-btn .btn-icon {
    font-size: 16px;
    font-weight: 700;
}

/* Trophy Scroll Container */
.trophy-scroll-container {
    overflow-x: auto;
    margin: 0 -12px;
    padding: 0 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 215, 0, 0.3) transparent;
}

.trophy-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.trophy-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.trophy-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.4);
    border-radius: 3px;
}

/* Trophy Cards Grid */
.trophy-cards {
    display: flex;
    gap: 16px;
    padding-bottom: 8px;
}

/* Individual Trophy Card */
.trophy-card {
    flex: 0 0 200px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1f1f1f 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.trophy-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.1);
}

/* Trophy Photo */
.trophy-photo {
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
    background-color: #333;
}

.trophy-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

.trophy-placeholder svg {
    width: 48px;
    height: 48px;
    color: rgba(255, 215, 0, 0.3);
}

/* Trophy Content */
.trophy-content {
    padding: 14px;
}

.trophy-category {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

/* Category Colors */
.trophy-category.state-championship {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
}

.trophy-category.national-championship {
    background: linear-gradient(135deg, #FF4500 0%, #FF6A33 100%);
    color: white;
}

.trophy-category.tournament-win {
    background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
    color: #1a1a1a;
}

.trophy-category.conference-league-title {
    background: linear-gradient(135deg, #CD7F32 0%, #B87333 100%);
    color: white;
}

.trophy-category.individual-award {
    background: linear-gradient(135deg, #4A90D9 0%, #357ABD 100%);
    color: white;
}

.trophy-category.other {
    background: rgba(255, 255, 255, 0.15);
    color: #ccc;
}

.trophy-title-text {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.trophy-year {
    font-size: 12px;
    color: rgba(255, 215, 0, 0.8);
    font-weight: 600;
}

.trophy-description {
    font-size: 11px;
    color: #999;
    margin: 8px 0 0 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Empty State for Trophy Case */
.trophy-empty {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
}

.trophy-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    filter: grayscale(0.3);
}

.trophy-empty p {
    color: #888;
    font-size: 15px;
    margin: 0 0 6px 0;
    font-weight: 500;
}

.trophy-empty-hint {
    color: #666;
    font-size: 12px;
}

/* Mobile Adjustments for Trophy Case */
@media (max-width: 600px) {
    .trophy-case-section {
        padding: 20px !important;
        margin: 16px 0;
        border-radius: 12px;
    }
    
    .trophy-case-header {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .trophy-icon {
        width: 38px;
        height: 38px;
    }
    
    .trophy-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .trophy-title {
        font-size: 15px;
        flex: 1 1 auto;
    }
    
    .add-achievement-btn {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
        order: 3;
    }
    
    .trophy-card {
        flex: 0 0 170px;
    }
    
    .trophy-photo {
        height: 100px;
    }
    
    .trophy-content {
        padding: 12px;
    }
    
    .trophy-title-text {
        font-size: 13px;
    }
}

/* =====================================================
   NOTABLE ALUMNI SECTION - Graduate Showcase
   ===================================================== */

.alumni-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 50%, #1a1a1a 100%);
    border-radius: 16px;
    margin: 20px 0;
    padding: 28px !important;
    border: 1px solid rgba(138, 43, 226, 0.25);
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.alumni-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(138, 43, 226, 0.5) 25%, 
        rgba(138, 43, 226, 0.8) 50%, 
        rgba(138, 43, 226, 0.5) 75%, 
        transparent 100%);
}

.alumni-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.alumni-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #9B59B6 0%, #8E44AD 50%, #9B59B6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.35);
}

.alumni-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.alumni-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    flex: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.add-alumni-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #9B59B6 0%, #8E44AD 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(138, 43, 226, 0.3);
}

.add-alumni-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(138, 43, 226, 0.5);
}

.add-alumni-btn .btn-icon {
    font-size: 16px;
    font-weight: 700;
}

.alumni-scroll-container {
    overflow-x: auto;
    margin: 0 -12px;
    padding: 0 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(138, 43, 226, 0.3) transparent;
}

.alumni-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.alumni-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.alumni-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(138, 43, 226, 0.4);
    border-radius: 3px;
}

.alumni-cards {
    display: flex;
    gap: 16px;
    padding-bottom: 8px;
}

.alumni-card {
    flex: 0 0 200px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1f1f1f 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
}

.alumni-card:hover {
    transform: translateY(-4px);
    border-color: rgba(138, 43, 226, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(138, 43, 226, 0.1);
}

.alumni-photo {
    width: 100%;
    height: 140px;
    background-size: cover;
    background-position: center top;
    background-color: #333;
}

.alumni-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

.alumni-placeholder svg {
    width: 48px;
    height: 48px;
    color: rgba(138, 43, 226, 0.3);
}

.alumni-content {
    padding: 14px;
}

.alumni-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.alumni-year {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #9B59B6;
    margin-bottom: 4px;
}

.alumni-played-next {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #FF6A33;
    margin-bottom: 6px;
    line-height: 1.3;
}

.played-next-label {
    color: #888;
    font-weight: 500;
}

.alumni-current-status {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #FF6A33;
    margin-bottom: 6px;
    line-height: 1.3;
}

.alumni-blurb {
    font-size: 12px;
    color: #999;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.alumni-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.alumni-card:hover .alumni-actions {
    opacity: 1;
}

.edit-alumni-btn,
.delete-alumni-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.edit-alumni-btn {
    background: rgba(138, 43, 226, 0.9);
    color: #fff;
}

.edit-alumni-btn:hover {
    background: #9B59B6;
}

.delete-alumni-btn {
    background: rgba(220, 38, 38, 0.9);
    color: #fff;
}

.delete-alumni-btn:hover {
    background: #dc2626;
}

.alumni-empty {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
}

.alumni-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    filter: grayscale(0.3);
}

.alumni-empty p {
    color: #888;
    font-size: 15px;
    margin: 0 0 6px 0;
    font-weight: 500;
}

.alumni-empty-hint {
    color: #666;
    font-size: 12px;
}

@media (max-width: 600px) {
    .alumni-section {
        padding: 20px !important;
        margin: 16px 0;
        border-radius: 12px;
    }
    
    .alumni-header {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .alumni-icon {
        width: 38px;
        height: 38px;
    }
    
    .alumni-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .alumni-title {
        font-size: 15px;
        flex: 1 1 auto;
    }
    
    .add-alumni-btn {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
        order: 3;
    }
    
    .alumni-card {
        flex: 0 0 170px;
    }
    
    .alumni-photo {
        height: 110px;
    }
    
    .alumni-content {
        padding: 12px;
    }
    
    .alumni-name {
        font-size: 13px;
    }
    
    .alumni-actions {
        opacity: 1;
    }
}

/* =====================================================
   GAME PHOTOS SECTION - Photo Album Gallery
   ===================================================== */

.game-photos-section {
    background: linear-gradient(145deg, #1e1e1e 0%, #151515 100%);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    margin: 20px 0;
    overflow: hidden;
}

.game-photos-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.game-photos-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.game-photos-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.game-photos-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    flex: 1;
}

.add-album-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.add-album-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.5);
}

.add-album-btn .btn-icon {
    font-size: 16px;
    font-weight: 700;
}

/* Photo Albums Scroll Container */
.photo-albums-scroll-container {
    overflow-x: auto;
    margin: 0 -12px;
    padding: 0 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 126, 234, 0.3) transparent;
}

.photo-albums-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.photo-albums-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.photo-albums-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.4);
    border-radius: 3px;
}

/* Photo Album Cards Grid */
.photo-album-cards {
    display: flex;
    gap: 16px;
    padding-bottom: 8px;
}

/* Individual Photo Album Card */
.photo-album-card {
    flex: 0 0 220px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1f1f1f 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.photo-album-card:hover {
    transform: translateY(-4px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(102, 126, 234, 0.1);
}

/* Album Featured Image */
.album-featured-image {
    width: 100%;
    height: 130px;
    background-size: cover;
    background-position: center;
    background-color: #333;
    position: relative;
}

.album-featured-image.album-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

.album-featured-image.album-placeholder svg {
    color: rgba(102, 126, 234, 0.3);
}

/* Album Overlay Link */
.album-overlay-link {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    text-decoration: none;
    gap: 8px;
}

.album-featured-image:hover .album-overlay-link {
    opacity: 1;
}

.album-overlay-link span {
    font-size: 13px;
    font-weight: 600;
}

.album-placeholder .album-overlay-link {
    position: relative;
    background: transparent;
    opacity: 1;
}

/* Album Content */
.album-content {
    padding: 14px;
}

.album-game-label {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.album-caption {
    font-size: 11px;
    color: #999;
    margin: 0 0 6px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.album-photographer {
    font-size: 10px;
    color: #667eea;
    margin: 0 0 8px 0;
    font-style: italic;
}

.album-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.view-album-link {
    font-size: 12px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.view-album-link:hover {
    color: #8f9fff;
}

.edit-album-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 5px 8px;
    cursor: pointer;
    color: #888;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edit-album-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.album-btn-group {
    display: flex;
    gap: 4px;
}

.delete-album-btn {
    background: transparent;
    border: 1px solid rgba(255, 100, 100, 0.2);
    border-radius: 6px;
    padding: 5px 8px;
    cursor: pointer;
    color: #c66;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-album-btn:hover {
    background: rgba(255, 100, 100, 0.15);
    color: #f66;
    border-color: rgba(255, 100, 100, 0.4);
}

/* Empty State for Game Photos */
.game-photos-empty {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
}

.game-photos-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    filter: grayscale(0.3);
}

.game-photos-empty p {
    color: #888;
    font-size: 15px;
    margin: 0 0 6px 0;
    font-weight: 500;
}

.game-photos-empty-hint {
    color: #666;
    font-size: 12px;
}

/* Photo Album Modal */
.photo-album-modal-content {
    max-width: 520px;
}

/* Mobile Adjustments for Game Photos */
@media (max-width: 600px) {
    .game-photos-section {
        padding: 20px !important;
        margin: 16px 0;
        border-radius: 12px;
    }
    
    .game-photos-header {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .game-photos-icon {
        width: 38px;
        height: 38px;
    }
    
    .game-photos-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .game-photos-title {
        font-size: 15px;
        flex: 1 1 auto;
    }
    
    .add-album-btn {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
        order: 3;
    }
    
    .photo-album-card {
        flex: 0 0 180px;
    }
    
    .album-featured-image {
        height: 110px;
    }
    
    .album-content {
        padding: 12px;
    }
    
    .album-game-label {
        font-size: 13px;
    }
    
    .photo-albums-scroll-container {
        margin: 0;
        padding: 0;
    }
}

/* =====================================================
   REQUEST COACH ACCESS BUTTON - For Teams Without Coaches
   ===================================================== */

.request-coach-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #FF4500 0%, #FF6B35 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(255, 69, 0, 0.3);
    font-family: inherit;
    margin-left: auto;
    flex-shrink: 0;
}

.request-coach-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 69, 0, 0.45);
}

.request-coach-btn svg {
    width: 18px;
    height: 18px;
}

.request-coach-btn .coach-btn-mobile {
    display: none;
}

@media (max-width: 640px) {
    .request-coach-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .request-coach-btn .coach-btn-desktop {
        display: none;
    }
    
    .request-coach-btn .coach-btn-mobile {
        display: inline;
    }
    
    .request-coach-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* Coach Status Badges */
.coach-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-left: auto;
}

/* Small coach role pill above Manage Staff button */
.coach-role-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 6px;
    box-shadow: 0 1px 4px rgba(34, 197, 94, 0.3);
}

.coach-role-pill svg {
    flex-shrink: 0;
}

.coach-status-badge.pending {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.coach-status-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.coach-status-badge .coach-btn-mobile {
    display: none;
}

@media (max-width: 640px) {
    .coach-status-badge {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .coach-status-badge .coach-btn-desktop {
        display: none;
    }
    
    .coach-status-badge .coach-btn-mobile {
        display: inline;
    }
}

/* =====================================================
   COMPACT STAFF DROPDOWN - Coach/Admin Management
   ===================================================== */

/* Staff Dropdown Container - positioned in header */
.staff-dropdown-container {
    position: relative;
    margin-left: auto;
    flex-shrink: 0;
}

.staff-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    font-family: inherit;
}

.staff-dropdown-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.staff-dropdown-toggle.open {
    border-radius: 8px 8px 0 0;
}

.staff-icon-small {
    width: 18px;
    height: 18px;
}

.dropdown-chevron {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.staff-dropdown-toggle.open .dropdown-chevron {
    transform: rotate(180deg);
}

/* Dropdown Panel */
.staff-dropdown-panel {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 280px;
    max-width: 320px;
    background: #1a1a1a;
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.staff-dropdown-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.staff-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.staff-count {
    font-size: 12px;
    color: #888;
    font-weight: 500;
}

.invite-btn-compact {
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.2);
    color: #60A5FA;
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.invite-btn-compact:hover {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.6);
}

/* Staff List in Dropdown */
.staff-dropdown-list {
    max-height: 200px;
    overflow-y: auto;
}

.staff-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.staff-email-compact {
    font-size: 13px;
    color: #fff;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.staff-role-pill {
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.staff-role-pill.role-coach {
    background: rgba(34, 197, 94, 0.2);
    color: #4ADE80;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.staff-role-pill.role-admin {
    background: rgba(59, 130, 246, 0.2);
    color: #60A5FA;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

/* Staff Dropdown Empty State */
.staff-dropdown-empty {
    padding: 16px 14px;
    text-align: center;
}

.staff-dropdown-empty p {
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .staff-dropdown-container {
        position: static;
        width: auto;
        margin-top: 12px;
    }
    
    .staff-dropdown-toggle {
        width: auto;
        justify-content: center;
        padding: 6px 12px;
        font-size: 12px;
        gap: 6px;
    }
    
    .staff-dropdown-toggle .staff-icon-small {
        width: 14px;
        height: 14px;
    }
    
    .staff-dropdown-toggle .dropdown-chevron {
        width: 12px;
        height: 12px;
    }
    
    .staff-dropdown-panel {
        position: fixed;
        top: auto;
        bottom: 100px;
        left: 16px;
        right: 16px;
        border-radius: 12px;
        border: 1px solid rgba(59, 130, 246, 0.4);
        max-width: none;
        min-width: auto;
        z-index: 1001;
    }
    
    .staff-dropdown-toggle.open {
        border-radius: 8px;
    }
}

/* Achievement Modal Specific Styles */
.achievement-modal-content {
    max-width: 500px;
    max-height: calc(100vh - 120px); /* Account for nav bar */
    overflow-y: auto;
    padding-bottom: 24px;
}

/* Ensure modal can scroll on smaller screens */
@media (max-height: 700px) {
    .achievement-modal-content {
        max-height: calc(100vh - 140px);
    }
}

@media (max-height: 600px) {
    .achievement-modal-content {
        max-height: calc(100vh - 160px);
    }
}

/* Character Count */
.char-count {
    display: block;
    text-align: right;
    font-size: 11px;
    color: #888;
    margin-top: 4px;
}

/* Photo Upload Area */
.photo-upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
}

.photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    cursor: pointer;
    transition: all 0.2s;
}

.photo-placeholder:hover {
    background: #f5f5f5;
    border-color: #FF6600;
}

.photo-upload-area:hover {
    border-color: #FF4500;
}

.photo-placeholder svg {
    width: 32px;
    height: 32px;
    color: #999;
    margin-bottom: 8px;
}

.photo-placeholder span {
    font-size: 13px;
    color: #666;
}

.photo-hint {
    font-size: 11px !important;
    color: #999 !important;
    margin-top: 4px;
}

.photo-preview {
    position: relative;
}

.photo-preview img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.remove-photo-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-photo-btn:hover {
    background: rgba(255, 0, 0, 0.8);
}

/* Achievement Submit Button - Gold gradient for trophy theme */
.achievement-submit {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    color: #1a1a1a !important;
    font-weight: 600 !important;
}

.achievement-submit:hover {
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4) !important;
}

/* Achievement Detail Modal */
.achievement-detail-modal .schedule-modal-content {
    max-width: 500px;
    max-height: calc(100vh - 120px); /* Account for nav bar */
    padding: 0;
    overflow: hidden;
}

.achievement-detail-modal .achievement-detail-content {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.achievement-detail-content {
    background: linear-gradient(145deg, #1a1a1a 0%, #252525 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.achievement-detail-photo {
    width: 100%;
    height: 250px;
    background: #0d0d0d;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.achievement-detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.achievement-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
}

.achievement-photo-placeholder svg {
    width: 80px;
    height: 80px;
    color: rgba(255, 215, 0, 0.3);
}

.achievement-detail-info {
    padding: 24px;
    text-align: center;
}

.achievement-detail-category {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
}

.achievement-detail-category.state-championship {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.achievement-detail-category.national-championship {
    background: linear-gradient(135deg, #C0C0C0 0%, #E8E8E8 100%);
    color: #333;
}

.achievement-detail-category.tournament-win {
    background: linear-gradient(135deg, #CD7F32 0%, #E6994D 100%);
    color: #fff;
}

.achievement-detail-category.conference\/league-title {
    background: linear-gradient(135deg, #4169E1 0%, #6495ED 100%);
    color: #fff;
}

.achievement-detail-category.individual-award {
    background: linear-gradient(135deg, #9932CC 0%, #BA55D3 100%);
    color: #fff;
}

.achievement-detail-category.other {
    background: linear-gradient(135deg, #2E8B57 0%, #3CB371 100%);
    color: #fff;
}

.achievement-detail-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.achievement-detail-year {
    display: block;
    font-size: 18px;
    color: rgba(255, 215, 0, 0.8);
    font-weight: 600;
    margin-bottom: 16px;
}

.achievement-detail-description {
    font-size: 15px;
    color: #ccc;
    line-height: 1.6;
    margin: 0;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    text-align: left;
}

.achievement-detail-actions {
    display: flex;
    gap: 12px;
    padding: 16px 24px 24px;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.edit-achievement-btn,
.delete-achievement-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.edit-achievement-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.edit-achievement-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.delete-achievement-btn {
    background: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
}

.delete-achievement-btn:hover {
    background: rgba(220, 53, 69, 0.4);
}

@media (max-width: 600px) {
    .schedule-modal {
        padding-bottom: 90px; /* More padding on mobile for nav bar */
    }
    
    .achievement-detail-modal .schedule-modal-content {
        max-height: calc(100vh - 140px);
    }
    
    .achievement-detail-photo {
        height: 200px;
    }
    
    .achievement-detail-title {
        font-size: 20px;
    }
    
    .achievement-detail-info {
        padding: 20px;
    }
    
    .achievement-detail-actions {
        flex-direction: column;
        padding: 16px 20px 20px;
    }
    
    .edit-achievement-btn,
    .delete-achievement-btn {
        justify-content: center;
    }
}

/* ============================================
   ALUMNI DETAIL MODAL
   ============================================ */

.alumni-detail-modal .schedule-modal-content {
    padding: 0;
    max-width: 500px;
    overflow: hidden;
}

.alumni-detail-modal .alumni-detail-content {
    max-height: 80vh;
    overflow-y: auto;
}

.alumni-detail-photo {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.alumni-detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.alumni-photo-placeholder-large {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(138, 43, 226, 0.3);
}

.alumni-detail-info {
    padding: 24px;
}

.alumni-detail-name {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.alumni-detail-year {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #9B59B6;
    margin-right: 12px;
    margin-bottom: 8px;
}

.alumni-detail-position {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: #888;
    margin-bottom: 8px;
}

.alumni-detail-played-next {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #FF6A33;
    margin-bottom: 12px;
}

.alumni-detail-blurb {
    font-size: 15px;
    color: #ccc;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.alumni-detail-current-status {
    display: block;
    font-size: 13px;
    color: #888;
    font-style: italic;
}

.alumni-detail-actions {
    display: flex;
    gap: 12px;
    padding: 0 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
}

.edit-alumni-detail-btn,
.delete-alumni-detail-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.edit-alumni-detail-btn {
    background: rgba(138, 43, 226, 0.2);
    color: #9B59B6;
}

.edit-alumni-detail-btn:hover {
    background: rgba(138, 43, 226, 0.4);
}

.delete-alumni-detail-btn {
    background: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
}

.delete-alumni-detail-btn:hover {
    background: rgba(220, 53, 69, 0.4);
}

@media (max-width: 600px) {
    .alumni-detail-modal .schedule-modal-content {
        max-height: calc(100vh - 140px);
    }
    
    .alumni-detail-photo {
        height: 200px;
    }
    
    .alumni-detail-name {
        font-size: 20px;
    }
    
    .alumni-detail-info {
        padding: 20px;
    }
    
    .alumni-detail-actions {
        flex-direction: column;
        padding: 16px 20px 20px;
    }
    
    .edit-alumni-detail-btn,
    .delete-alumni-detail-btn {
        justify-content: center;
    }
}

/* ============================================
   PROFILE COMPLETION BAR
   ============================================ */

.profile-completion-bar {
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #e0e0e0;
}

.completion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.completion-label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.completion-percentage {
    font-size: 14px;
    font-weight: 700;
    color: #FF4500;
}

.completion-track {
    height: 8px;
    background: #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.completion-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF4500 0%, #ff6b35 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.completion-missing {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
    line-height: 1.4;
}

/* ============================================
   RANKING BREAKDOWN SECTION
   ============================================ */

/* Prevent grid track from expanding beyond viewport */
.left-column,
.ranking-breakdown-section {
    min-width: 0;
}

.ranking-breakdown-section {
    margin-top: 0;
}

.toggle-breakdown-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
}

.toggle-breakdown-btn:hover {
    background: #eee;
    border-color: #ccc;
}

.toggle-breakdown-btn .toggle-chevron {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.toggle-breakdown-btn.expanded .toggle-chevron {
    transform: rotate(180deg);
}

.breakdown-subtitle {
    font-size: 13px;
    color: #888;
    margin: 0 0 12px 0;
}

.breakdown-table-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    margin-top: 12px;
    padding-bottom: 8px;
}

.breakdown-table {
    width: max-content;
    min-width: 580px;
    border-collapse: collapse;
    font-size: 13px;
    white-space: nowrap;
}

.breakdown-table th {
    text-align: left;
    padding: 8px 6px;
    font-size: 11px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #eee;
}

.breakdown-table td {
    padding: 10px 6px;
    border-bottom: 1px solid #f0f0f0;
}

.breakdown-table .num-col {
    text-align: right;
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    font-size: 12px;
}

.breakdown-row.row-win {
    background: rgba(40, 167, 69, 0.05);
}

.breakdown-row.row-loss {
    background: rgba(220, 53, 69, 0.05);
}

.breakdown-row.row-tie {
    background: rgba(108, 117, 125, 0.05);
}

.breakdown-date {
    color: #888;
    font-size: 12px;
}

.breakdown-opponent {
    font-weight: 500;
    color: #333;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.breakdown-score {
    display: flex;
    align-items: center;
    gap: 6px;
}

.result-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

.result-mini.win {
    background: #28a745;
    color: white;
}

.result-mini.loss {
    background: #dc3545;
    color: white;
}

.result-mini.tie {
    background: #6c757d;
    color: white;
}

.offense-col {
    color: #28a745;
    font-weight: 500;
}

.defense-col {
    color: #17a2b8;
    font-weight: 500;
}

.bonus-col {
    color: #fd7e14;
    font-weight: 500;
}

.total-col {
    font-weight: 700;
    color: #333;
}

/* Mobile adjustments for breakdown table */
@media (max-width: 600px) {
    .breakdown-table {
        font-size: 12px;
        min-width: 480px;
    }
    
    .breakdown-table th {
        font-size: 10px;
        padding: 6px 4px;
    }
    
    .breakdown-table td {
        padding: 8px 4px;
    }
    
    .breakdown-opponent {
        max-width: 90px;
    }
}

/* Edit Team Button */
.edit-team-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #FF4500 0%, #e03e00 100%);
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(255, 69, 0, 0.3);
}

.edit-team-btn:hover {
    background: linear-gradient(135deg, #e03e00 0%, #c53500 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(255, 69, 0, 0.4);
}

.edit-team-btn svg {
    flex-shrink: 0;
}

/* Coach action buttons - secondary style */
.coach-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 69, 0, 0.1);
    border: 1px solid #FF4500;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #FF4500;
    cursor: pointer;
    transition: all 0.2s;
}

.coach-action-btn:hover {
    background: #FF4500;
    color: white;
}

/* Edit Team Modal */
.edit-team-modal {
    max-width: 480px;
}

.logo-preview-container {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.current-logo-preview {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #eee;
    flex-shrink: 0;
}

.current-logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.no-logo-placeholder {
    color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.logo-upload-area {
    flex: 1;
}

.logo-upload-area input[type="file"] {
    width: 100%;
    font-size: 13px;
}

.empty-social-text {
    color: #999;
    font-size: 13px;
    margin: 0;
    font-style: italic;
}

/* Team Address in Connect Section */
.team-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.team-address svg {
    flex-shrink: 0;
    color: #FF4500;
    margin-top: 2px;
}

.team-address.empty {
    background: #fff8f5;
    border: 1px dashed #ffcbb8;
}

.team-address.empty span {
    color: #999;
    font-style: italic;
}

/* Achievement Video Link */
.achievement-video-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FF4500;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: 16px;
    transition: background 0.2s, transform 0.1s;
}

.achievement-video-link:hover {
    background: #e03e00;
    transform: translateY(-1px);
}

.achievement-video-link svg {
    flex-shrink: 0;
}

/* Form hint text */
.form-hint {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
    margin-bottom: 0;
}

/* View in Map button */
.view-in-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin: 12px 0;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

.view-in-map-btn:hover {
    background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

.view-in-map-btn svg {
    flex-shrink: 0;
}

/* Mobile adjustments for edit button */
@media (max-width: 500px) {
    .edit-team-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .coach-action-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .logo-preview-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .current-logo-preview {
        width: 56px;
        height: 56px;
    }
}

/* Player Stats Modal */
#playerStatsModal {
    padding-top: 80px;
    align-items: flex-start;
}

.player-stats-modal-content {
    max-width: 600px;
    width: 95%;
    margin-top: 20px;
}

.stats-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.stats-modal-header .modal-title {
    margin: 0;
}

.stats-table-container {
    overflow-x: auto;
    margin: 0 -20px;
    padding: 0 20px;
}

.player-stats-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.player-stats-table th {
    text-align: left;
    padding: 12px 8px;
    border-bottom: 2px solid #eee;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.player-stats-table td {
    padding: 12px 8px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.player-stats-table tbody tr:hover {
    background: #f9f9f9;
}

.player-stats-table .player-col {
    min-width: 140px;
}

.player-stats-table .stat-col {
    text-align: center;
    min-width: 70px;
}

.stats-player-name {
    font-weight: 600;
    color: #333;
}

.stats-player-grade {
    font-size: 10px;
    color: #888;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 6px;
}

.stat-controls {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.stat-btn {
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-btn.stat-minus {
    background: #f0f0f0;
    color: #666;
}

.stat-btn.stat-minus:hover {
    background: #e0e0e0;
}

.stat-btn.stat-plus {
    background: #FF4500;
    color: white;
}

.stat-btn.stat-plus:hover {
    background: #e63e00;
}

.stat-value {
    min-width: 28px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    color: #333;
}

.stat-value-display {
    font-weight: 700;
    font-size: 15px;
    color: #333;
}

.stat-value.stat-updated,
.stat-value-display.stat-updated {
    animation: statPulse 0.3s ease;
}

@keyframes statPulse {
    0% { transform: scale(1); color: #333; }
    50% { transform: scale(1.2); color: #FF4500; }
    100% { transform: scale(1); color: #333; }
}

.total-pts .stat-value-display {
    color: #FF4500;
    font-size: 16px;
}

.stats-legend {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #888;
}

.stats-legend span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Mobile adjustments for stats modal */
@media (max-width: 500px) {
    .player-stats-modal-content {
        padding: 16px;
    }
    
    .stats-modal-header {
        flex-wrap: wrap;
    }
    
    .player-stats-table {
        font-size: 13px;
    }
    
    .player-stats-table th,
    .player-stats-table td {
        padding: 10px 6px;
    }
    
    .player-stats-table .stat-col {
        min-width: 55px;
    }
    
    .stat-btn {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
    
    .stat-value,
    .stat-value-display {
        font-size: 13px;
        min-width: 22px;
    }
    
    .stats-legend {
        flex-wrap: wrap;
        gap: 10px;
        font-size: 11px;
    }
    
    .view-stats-btn span {
        display: none;
    }
    
    .view-stats-btn {
        padding: 10px;
    }
}

/* CSV Upload Button */
.upload-csv-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-csv-btn:hover {
    background: #e9ecef;
    border-color: #ccc;
}

.upload-csv-btn svg {
    stroke: #666;
}

/* Edit Player Modal */
#editPlayerModal {
    padding-top: 80px;
    align-items: flex-start;
    z-index: 10002;
}

.edit-player-modal-content {
    max-width: 400px;
    width: 95%;
    margin-top: 20px;
}

.edit-player-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.edit-player-modal-content .form-group {
    margin-bottom: 16px;
}

.edit-player-modal-content .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}

.edit-player-modal-content .form-select,
.edit-player-modal-content .form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    color: #333;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.edit-player-modal-content .form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

.edit-player-modal-content .form-select:focus,
.edit-player-modal-content .form-input:focus {
    outline: none;
    border-color: #FF4500;
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.1);
}

.edit-player-modal-content .form-hint {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

.varsity-checkbox-group,
.varsity-checkbox-inline {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.varsity-checkbox-group .checkbox-label,
.varsity-checkbox-inline .checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 0;
}

.varsity-checkbox-group .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #FF4500;
    cursor: pointer;
}

.varsity-checkbox-group .checkbox-text {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.varsity-checkbox-group .form-hint {
    margin-left: 28px;
}

.edit-modal-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.modal-actions-right {
    display: flex;
    gap: 12px;
}

.delete-player-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: transparent;
    color: #dc3545;
    border: 1px solid #dc3545;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.delete-player-btn:hover {
    background: #dc3545;
    color: white;
}

.delete-player-btn:hover svg {
    stroke: white;
}

.delete-player-btn svg {
    stroke: #dc3545;
    transition: stroke 0.2s ease;
}

.delete-player-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* CSV Upload Modal */
#csvUploadModal {
    padding-top: 80px;
    align-items: flex-start;
    z-index: 10002;
}

.csv-upload-modal-content {
    max-width: 600px;
    width: 95%;
    margin-top: 20px;
}

.csv-upload-zone {
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    background: #fafafa;
    transition: all 0.2s ease;
    cursor: pointer;
}

.csv-upload-zone:hover,
.csv-upload-zone.drag-over {
    border-color: #FF4500;
    background: #fff5f0;
}

.csv-upload-zone .upload-icon {
    margin-bottom: 16px;
    color: #999;
}

.csv-upload-zone .upload-icon svg {
    stroke: #999;
}

.csv-upload-zone.drag-over .upload-icon svg {
    stroke: #FF4500;
}

.csv-upload-zone .upload-text {
    color: #666;
    margin-bottom: 12px;
}

.csv-upload-zone .browse-btn {
    background: #FF4500;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.csv-upload-zone .browse-btn:hover {
    background: #e63e00;
}

.csv-upload-zone .upload-hint {
    font-size: 12px;
    color: #999;
    margin-top: 16px;
}

.csv-file-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0f7ff;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.csv-file-name {
    font-weight: 600;
    color: #333;
}

.csv-change-btn {
    background: none;
    border: none;
    color: #FF4500;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}

.csv-column-mapping {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.mapping-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.mapping-desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 12px;
}

.mapping-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.mapping-row label {
    width: 100px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
}

.mapping-select {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    background: white;
}

.csv-preview-section {
    margin-bottom: 20px;
}

.preview-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.preview-hint {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.csv-preview-table-wrapper {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #eee;
    border-radius: 8px;
}

.csv-preview-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.csv-preview-table th {
    background: #f8f9fa;
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    color: #555;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
}

.csv-preview-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
}

.csv-preview-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 500px) {
    .upload-csv-btn span {
        display: none;
    }
    
    .upload-csv-btn {
        padding: 10px;
    }
    
    .csv-upload-zone {
        padding: 30px 16px;
    }
    
    .mapping-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .mapping-row label {
        width: auto;
    }
    
    .mapping-select {
        width: 100%;
    }
}

/* Player Stats Section in Record Result Modal */
.player-stats-section {
    margin-top: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.player-stats-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8f9fa;
    cursor: pointer;
    transition: background 0.2s;
}

.player-stats-header:hover {
    background: #f0f1f2;
}

.player-stats-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.player-stats-title svg {
    color: #FF4500;
}

.player-stats-toggle {
    font-size: 12px;
    color: #888;
    transition: transform 0.2s;
}

.player-stats-toggle.open {
    transform: rotate(180deg);
}

.player-stats-content {
    padding: 16px;
    background: white;
    max-height: 300px;
    overflow-y: auto;
}

.player-stats-hint {
    font-size: 12px;
    color: #888;
    margin-bottom: 12px;
}

.player-stats-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.player-stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    gap: 12px;
}

.player-stat-name {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-stat-inputs {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.stat-input-group {
    text-align: center;
}

.stat-input-group label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #888;
    margin-bottom: 4px;
}

.stat-counter {
    display: flex;
    align-items: center;
    gap: 2px;
}

.stat-btn {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-btn.minus {
    background: #f0f0f0;
    color: #666;
}

.stat-btn.minus:hover {
    background: #e0e0e0;
}

.stat-btn.plus {
    background: #FF4500;
    color: white;
}

.stat-btn.plus:hover {
    background: #e63e00;
}

.edit-stats-modal .stat-value {
    width: 28px;
    height: 24px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    background: white;
}

.player-stats-empty {
    margin-top: 16px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.player-stats-empty p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.player-stats-empty a {
    color: #FF4500;
    text-decoration: none;
    font-weight: 500;
}

.player-stats-empty a:hover {
    text-decoration: underline;
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
    .player-stat-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .player-stat-inputs {
        width: 100%;
        justify-content: space-around;
    }
}

/* Clickable game rows for coaches/admins */
.game-row-clickable {
    cursor: pointer;
    transition: background-color 0.15s, transform 0.1s;
}

.game-row-clickable:hover {
    background-color: #f5f5f5;
    transform: translateX(2px);
}

.game-edit-hint {
    opacity: 0;
    transition: opacity 0.15s;
    color: #888;
    margin-left: 4px;
}

.game-row-clickable:hover .game-edit-hint {
    opacity: 1;
}

.game-edit-stats-hint {
    font-size: 10px;
    font-weight: 600;
    color: #FF4500;
    opacity: 0.6;
    margin-left: auto;
    padding: 2px 6px;
    background: rgba(255, 69, 0, 0.08);
    border-radius: 4px;
    transition: opacity 0.15s;
}

.game-row-clickable:hover .game-edit-stats-hint {
    opacity: 1;
}

/* Edit Game Stats Modal */
.edit-stats-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.edit-stats-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.edit-stats-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.edit-stats-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
}

.edit-stats-game-info {
    font-size: 13px;
    color: #666;
}

.edit-stats-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.edit-stats-player-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.edit-stats-footer {
    padding: 16px 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.edit-stats-loading {
    text-align: center;
    padding: 40px;
    color: #888;
}

.edit-stats-no-roster {
    text-align: center;
    padding: 30px;
    color: #666;
}

.edit-stats-no-roster a {
    color: #FF4500;
}

/* =====================================================
   FAN RANKINGS CTA BANNER
   ===================================================== */

.fan-rankings-cta-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    border-radius: 12px;
    padding: 14px 18px;
    margin-top: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.fan-rankings-cta-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

.fan-rankings-cta-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.fan-rankings-cta-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fan-rankings-cta-title {
    color: white;
    font-size: 15px;
    font-weight: 700;
}

.fan-rankings-cta-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
}

@media (max-width: 600px) {
    .fan-rankings-cta-banner {
        padding: 12px 14px;
    }
    
    .fan-rankings-cta-icon {
        font-size: 20px;
    }
    
    .fan-rankings-cta-title {
        font-size: 14px;
    }
    
    .fan-rankings-cta-subtitle {
        font-size: 12px;
    }
}
