
:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --primary-glow: rgba(16, 185, 129, 0.3);
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --bg: #f8faf9;
    --surface: #ffffff;
    --surface-alt: #f1f5f3;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --danger: #ef4444;
    --success: #22c55e;
    --warning: #f59e0b;
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-hero: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #a7f3d0 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 20px var(--primary-glow);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --nav-height: 70px;
    --header-height: 60px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Screen Management */
.screen {
    display: none;
    min-height: 100vh;
}

.screen.active {
    display: block;
}

.page {
    display: none;
    padding: calc(var(--header-height) + 20px) 16px calc(var(--nav-height) + 30px);
    animation: fadeIn 0.3s ease;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Auth Screen */
.auth-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--gradient-hero);
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.logo-icon {
    font-size: 64px;
    margin-bottom: 12px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.auth-logo h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -1px;
}

.tagline {
    color: var(--text-secondary);
    font-size: 16px;
    margin-top: 8px;
}

.auth-tabs {
    display: flex;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 4px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

.tab-btn {
    padding: 12px 32px;
    border: none;
    background: transparent;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.auth-form {
    display: none;
    width: 100%;
    max-width: 400px;
    background: var(--surface);
    padding: 28px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.auth-form.active {
    display: block;
    animation: slideUp 0.4s ease;
}

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

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 15px;
    transition: all 0.3s ease;
    background: var(--bg);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

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

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

.btn-primary {
    width: 100%;
    padding: 16px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

/* App Header */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-sm {
    font-size: 28px;
}

.header-left h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
}

.btn-icon {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--surface-alt);
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--surface);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid var(--border);
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--radius-md);
}

.nav-icon {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.nav-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.nav-item.active {
    background: var(--surface-alt);
}

.nav-item.active .nav-icon {
    transform: scale(1.2);
}

.nav-item.active .nav-label {
    color: var(--primary);
}

/* Page Headers */
.page-header {
    margin-bottom: 24px;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
}

.page-header p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-top: 4px;
}

/* Welcome Section */
.welcome-section {
    margin-bottom: 24px;
}

.welcome-section h1 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Calorie Card */
.calorie-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
}

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

.calorie-header h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
}

.date-badge {
    background: var(--surface-alt);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.calorie-ring {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 24px;
}

.ring-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.ring-bg {
    fill: none;
    stroke: var(--surface-alt);
    stroke-width: 10;
}

.ring-progress {
    fill: none;
    stroke: url(#ringGradient);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 314;
    stroke-dashoffset: 314;
    transition: stroke-dashoffset 0.8s ease;
}

.ring-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.ring-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
}

.ring-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

.calorie-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Quick Trackers */
.quick-trackers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.tracker-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.tracker-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.tracker-card h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}

.water-glasses {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.glass {
    width: 100%;
    aspect-ratio: 1;
    border: 2px solid var(--border);
    background: var(--bg);
    border-radius: var(--radius-sm);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass.filled {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.05);
}

.glass:hover {
    transform: scale(1.1);
}

.water-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.steps-input {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.steps-input input {
    flex: 1;
    padding: 10px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    text-align: center;
}

.steps-input input:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-small {
    padding: 10px 16px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-small:hover {
    transform: translateY(-2px);
}

.steps-display {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.steps-goal {
    font-size: 12px;
    color: var(--text-muted);
}

/* BMI Card */
.bmi-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.bmi-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.bmi-result {
    text-align: center;
    margin-bottom: 16px;
}

.bmi-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
}

.bmi-category {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.bmi-bar {
    position: relative;
    height: 8px;
    background: linear-gradient(90deg, #3b82f6 0%, #22c55e 25%, #eab308 50%, #ef4444 100%);
    border-radius: 4px;
    margin-bottom: 8px;
}

.bmi-marker {
    position: absolute;
    top: -4px;
    width: 16px;
    height: 16px;
    background: var(--text-primary);
    border: 3px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    transition: left 0.5s ease;
    box-shadow: var(--shadow-sm);
}

.bmi-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Recent Meals */
.recent-meals {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.recent-meals h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.meals-list {
    min-height: 80px;
}

.empty-state {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    padding: 20px;
}

.meal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

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

.meal-info h4 {
    font-size: 15px;
    font-weight: 600;
}

.meal-info p {
    font-size: 12px;
    color: var(--text-muted);
}

.meal-cal {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

/* Food Page */
.search-section {
    margin-bottom: 16px;
}

.search-box {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}

.search-box input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: 15px;
    background: var(--surface);
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.food-categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 16px;
    -webkit-overflow-scrolling: touch;
}

.food-categories::-webkit-scrollbar {
    display: none;
}

.cat-btn {
    padding: 8px 16px;
    border: 2px solid var(--border);
    background: var(--surface);
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.cat-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.food-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.food-item {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
}

.food-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.food-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.food-info p {
    font-size: 12px;
    color: var(--text-muted);
}

.food-cal {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.food-add-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 12px;
}

.food-add-btn:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
}

/* Custom Food */
.custom-food {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.custom-food h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.custom-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-form input {
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
}

.custom-form input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Food Log */
.today-summary {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.today-summary h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.food-log {
    min-height: 60px;
    margin-bottom: 16px;
}

.log-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

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

.log-item-info h4 {
    font-size: 14px;
    font-weight: 600;
}

.log-item-info p {
    font-size: 12px;
    color: var(--text-muted);
}

.log-item-cal {
    font-weight: 700;
    color: var(--primary);
}

.log-delete {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 18px;
    margin-left: 8px;
    padding: 4px;
}

.log-total {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 2px solid var(--border);
    font-weight: 700;
    font-size: 16px;
}

.total-value {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 20px;
}

/* Diet Plan Page */
.diet-generator {
    margin-bottom: 24px;
}

.plan-type-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.plan-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border);
    background: var(--surface);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.meal-plan {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.meal-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
}

.meal-card.breakfast { border-left-color: #f59e0b; }
.meal-card.mid-morning { border-left-color: #3b82f6; }
.meal-card.lunch { border-left-color: #10b981; }
.meal-card.evening { border-left-color: #8b5cf6; }
.meal-card.dinner { border-left-color: #ef4444; }

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

.meal-icon {
    font-size: 28px;
}

.meal-header h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    flex: 1;
}

.meal-time {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.meal-items {
    list-style: none;
    margin-bottom: 12px;
}

.meal-items li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.meal-items li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.meal-calories {
    display: inline-block;
    background: var(--surface-alt);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

.diet-tips {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.diet-tips h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.tips-list {
    list-style: none;
}

.tips-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
}

.tips-list li:last-child {
    border-bottom: none;
}

.tips-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Progress Page */
.weight-input-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.weight-input-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

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

.weight-form input {
    flex: 1;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 16px;
    text-align: center;
}

.weight-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.weight-chart-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.weight-chart-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.chart-container {
    position: relative;
    height: 250px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.stat-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 8px;
}

.stat-card .stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-card .stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.reminders-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.reminders-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.reminder-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reminder-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg);
    border-radius: var(--radius-md);
}

.reminder-icon {
    font-size: 24px;
}

.reminder-info {
    flex: 1;
}

.reminder-info h4 {
    font-size: 14px;
    font-weight: 600;
}

.reminder-info p {
    font-size: 12px;
    color: var(--text-muted);
}

.toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--border);
    border-radius: 26px;
    transition: 0.3s;
}

.toggle-slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle input:checked + .toggle-slider {
    background: var(--primary);
}

.toggle input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

/* Responsive */
@media (min-width: 768px) {
    .page {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .quick-trackers {
        grid-template-columns: 1fr 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .page {
        max-width: 800px;
    }
    
    .auth-container {
        padding: 60px;
    }
    
    .auth-form {
        max-width: 450px;
    }
}

/* Utility */
.hidden {
    display: none !important;
}

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

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
