/* ========================================================
   SNF Netball Analysis - Light Glassmorphism Stylesheet
   ======================================================== */

/* 1. Base Body & Typography */
body {
    background-color: #f1f5f9;
    color: #0f172a;
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}

/* 2. Light Glassmorphism Panels */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 4px 10px -2px rgba(0, 0, 0, 0.02);
}

.glass-panel-accent {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(217, 119, 6, 0.3);
    box-shadow: 0 12px 30px -6px rgba(217, 119, 6, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
}

/* 3. Interactive Cards & Player Selection */
.glass-card-interactive {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    user-select: none;
}

.glass-card-interactive:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(217, 119, 6, 0.18);
    border-color: rgba(217, 119, 6, 0.4);
}

.glass-card-interactive:active {
    transform: translateY(1px) scale(0.97);
}

.player-card-selected {
    border-color: #0284c7 !important;
    box-shadow: 0 0 18px rgba(2, 132, 199, 0.25), inset 0 0 10px rgba(2, 132, 199, 0.1) !important;
    background: rgba(224, 242, 254, 0.9) !important;
}

/* 4. Form Inputs & Select Elements */
.glass-input {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(203, 213, 225, 0.8);
    color: #0f172a !important;
    transition: all 0.2s ease;
}

.glass-input:focus {
    border-color: #d97706 !important;
    box-shadow: 0 0 10px rgba(217, 119, 6, 0.2);
    background: #ffffff !important;
}

/* 5. Ambient Glowing Background Orbs */
.ambient-glow-1 {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.ambient-glow-2 {
    position: fixed;
    bottom: -15%;
    right: -10%;
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.ambient-glow-3 {
    position: fixed;
    top: 40%;
    left: 30%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

/* 6. Custom Webkit Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}