@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --bg-dark: #090B0E;
    --card-bg: #11141B;
    --card-border: #1F2430;
    --accent-gold: #F59E0B;
    --accent-green: #10B981;
    --accent-red: #EF4444;
    --accent-blue: #3B82F6;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: #F3F4F6;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}

.font-heading {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Glassmorphism Panel */
.glass-panel {
    background: rgba(17, 20, 27, 0.90);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
}

.glass-panel-gold {
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.08);
}

/* Mobile Touch Tap Targets */
button, input, select, textarea, label {
    min-height: 38px;
    touch-action: manipulation;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
::-webkit-scrollbar-track {
    background: #090B0E;
}
::-webkit-scrollbar-thumb {
    background: #272E3F;
    border-radius: 999px;
}

/* Progress bar fill animations */
.progress-bar-fill {
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Metallic Text Gradient */
.text-metallic {
    background: linear-gradient(135deg, #FFFFFF 0%, #A1A1AA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gold-gradient {
    background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Anti-Cheat Warning Pulse */
@keyframes warningPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
    }
    50% {
        box-shadow: 0 0 30px 10px rgba(239, 68, 68, 0.4);
    }
}

.pulse-warning {
    animation: warningPulse 1.8s infinite;
}

/* Custom Checkbox */
.custom-checkbox {
    appearance: none;
    width: 22px;
    height: 22px;
    min-height: 22px;
    border: 2px solid #374151;
    border-radius: 6px;
    background-color: #1F2937;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

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

.custom-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

/* Active tab style */
.tab-btn.active, .workout-split-btn.active {
    background-color: rgba(245, 158, 11, 0.15) !important;
    border-color: #F59E0B !important;
    color: #FBBF24 !important;
}
