@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --bg-color: #0b110d;
    --text-primary: #e6f0eb;
    --text-secondary: #8c9e94;
    --accent-color: #d1ff5c; /* Modern bright lime/amber */
    --accent-glow: rgba(209, 255, 92, 0.2);
    --glass-bg: rgba(20, 31, 24, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);
    
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Base Layout */
.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 24px;
    flex: 1;
}

header {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1, h2, h3 {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    text-shadow: 0 0 8px var(--accent-glow);
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin-bottom: 24px;
}

/* Forms & Inputs */
input, select, textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-fast);
    margin-bottom: 16px;
}

input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 16px;
    border-radius: var(--radius-md);
    background: var(--text-primary);
    color: var(--bg-color);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.btn-primary {
    background: var(--accent-color);
    color: #000;
}

.btn-primary:hover {
    box-shadow: 0 8px 24px var(--accent-glow);
}

/* Thermometer Progress Bar */
.progress-wrapper {
    margin: 40px 0;
    text-align: center;
}

.progress-track {
    width: 24px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.5);
}

.progress-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, #3a9679, var(--accent-color));
    border-radius: 100px;
    transition: height 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.progress-label span strong {
    color: var(--text-primary);
    font-size: 1.25rem;
    display: block;
}

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.text-sm { font-size: 0.875rem; }
.text-muted { color: var(--text-secondary); }

/* QR Modal for Admin */
@media print {
    body { background: white; color: black; }
    .no-print { display: none !important; }
    .glass-panel { 
        border: none; 
        box-shadow: none; 
        background: white; 
        color: black;
        page-break-inside: avoid;
    }
}
