/* =====================================================
   CLIMB PERFORMANCE COACHING - PARTICIPANT APP
   Enterprise Edition for Legal Professionals
   ===================================================== */

/* =====================================================
   BRAND COLORS & VARIABLES
   ===================================================== */
:root {
    /* Primary Brand Colors */
    --climb-gold: #EFD542;
    --climb-black: #191919;
    --climb-dark-gray: #2d2d2d;
    --climb-off-white: #F2F2EB;
    
    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* Neutral Palette */
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* =====================================================
   RESET & BASE STYLES
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background: #F0EFE8;
    color: var(--climb-black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

.app-container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    background: #F0EFE8;
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
    background: #191919;
    color: var(--climb-gold);
    padding: 18px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
    border-bottom: 2px solid #EFD542;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 4px;
    margin: 0;
    color: var(--climb-gold);
}

.menu-btn, .back-icon {
    background: none;
    border: none;
    color: var(--climb-gold);
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.menu-btn:hover, .back-icon:hover {
    opacity: 0.8;
}

/* =====================================================
   STREAK BADGE
   ===================================================== */
.streak-badge {
    position: absolute;
    top: 74px;
    right: 20px;
    background: #EFD542;
    padding: 10px 18px;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(239,213,66,0.4);
    z-index: 50;
}

.streak-icon {
    display: inline-block; /* Show the icon space */
    font-size: 0; /* Hide original emoji */
    line-height: 1;
}

/* Replace emoji with lightning bolt */
.streak-icon::before {
    content: '⚡';
    color: var(--climb-gold);
    font-size: 20px;
}

.streak-text {
    font-weight: 900;
    color: #191919;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hide any "STREAK:" text that might be in HTML */
.streak-badge::after {
    content: '';
}

/* Remove the STREAK: prefix - show just the number */

/* =====================================================
   MAIN CONTENT - DASHBOARD
   ===================================================== */
.main-content {
    padding: 80px 20px 120px;
    text-align: center;
}

.status-visual {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #191919;
    box-shadow: 0 8px 32px rgba(239,213,66,0.25), 0 4px 12px rgba(0,0,0,0.3);
    border: 4px solid #EFD542;
}

.status-icon {
    font-size: 48px;
    font-weight: 900;
    color: var(--success);
}

.message {
    font-size: 28px;
    font-weight: 900;
    color: var(--climb-black);
    margin-bottom: 12px;
    line-height: 1.2;
}

.submessage {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 40px;
    font-weight: 500;
}

/* =====================================================
   ACTION BUTTON
   ===================================================== */
.action-button {
    background: #EFD542;
    color: #191919;
    border: none;
    padding: 22px 40px;
    border-radius: 0;
    cursor: pointer;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    box-shadow: 0 6px 24px rgba(239,213,66,0.35);
}

.action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(239,213,66,0.45);
    background: #f5e24e;
}

.button-text {
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.time-indicator {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =====================================================
   LEADERBOARD
   ===================================================== */
.leaderboard-simple {
    background: white;
    padding: 20px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 320px;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--info);
}

.rank-icon {
    display: none; /* Hide emoji */
}

.rank-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--climb-black);
    text-align: left;
}

/* =====================================================
   WHOOP RECOVERY CARD
   ===================================================== */
.whoop-card {
    background: white;
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    max-width: 320px;
    margin: 0 auto 32px;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--climb-gold);
    text-align: center;
}

.whoop-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.whoop-score {
    font-size: 64px;
    font-weight: 900;
    color: var(--climb-black);
    line-height: 1;
    margin-bottom: 16px;
}

.whoop-bar {
    width: 100%;
    height: 12px;
    background: var(--gray-200);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 16px;
}

.whoop-bar-fill {
    height: 100%;
    border-radius: 20px;
    transition: width 0.5s ease, background-color 0.3s ease;
}

.whoop-bar-fill.high {
    background: var(--success);
}

.whoop-bar-fill.medium {
    background: var(--warning);
}

.whoop-bar-fill.low {
    background: var(--danger);
}

.whoop-status {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whoop-status.high {
    color: var(--success);
}

.whoop-status.medium {
    color: var(--warning);
}

.whoop-status.low {
    color: var(--danger);
}

/* =====================================================
   PROGRESS BAR
   ===================================================== */
.mini-progress {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #191919;
    padding: 16px 20px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    z-index: 90;
}

.progress-bar-slim {
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill-slim {
    height: 100%;
    background: var(--climb-gold);
    border-radius: 20px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 13px;
    font-weight: 700;
    color: #a3a3a3;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =====================================================
   SIDE MENU
   ===================================================== */
.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.side-menu.active {
    pointer-events: all;
    opacity: 1;
}

.menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.menu-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--climb-dark-gray);
    box-shadow: var(--shadow-xl);
    transform: translateX(100%);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.side-menu.active .menu-content {
    transform: translateX(0);
}

.menu-close {
    background: none;
    border: none;
    color: var(--climb-gold);
    font-size: 32px;
    cursor: pointer;
    padding: 0;
    margin-bottom: 32px;
    text-align: right;
    font-weight: 300;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-item {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-item:hover {
    background: rgba(239, 213, 66, 0.1);
    color: var(--climb-gold);
}

/* Remove emoji icons from menu items */
.menu-item::before {
    content: '';
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
}

/* =====================================================
   CHECK-IN PAGE
   ===================================================== */
.checkin-container {
    padding: 40px 20px;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.timer {
    font-size: 64px;
    font-weight: 900;
    color: var(--climb-black);
    margin-bottom: 8px;
    line-height: 1;
}

.timer-label {
    font-size: 13px;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 40px;
}

.progress-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    transition: all 0.3s;
}

.dot.active {
    background: var(--climb-gold);
    transform: scale(1.2);
}

.dot.completed {
    background: var(--success);
}

.question-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--climb-gold);
}

.question-number {
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.question-text {
    font-size: 24px;
    font-weight: 900;
    color: var(--climb-black);
    margin-bottom: 32px;
    line-height: 1.3;
}

.emoji-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.emoji-option {
    background: var(--gray-50);
    padding: 24px 16px;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.emoji-option:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.emoji-option.selected {
    background: rgba(239, 213, 66, 0.1);
    border-color: var(--climb-gold);
}

.emoji-icon {
    display: none; /* Hide emojis */
}

.emoji-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--climb-black);
    display: block;
}

/* =====================================================
   FOODS PAGE
   ===================================================== */
.foods-scroll {
    padding: 20px;
    padding-bottom: 100px;
}

.phase-section {
    margin-bottom: 24px;
}

.phase-badge {
    background: white;
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--climb-black);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--success);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hydration Section */
.hydration-progress {
    background: white;
    padding: 24px;
    border-radius: var(--radius-xl);
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--info);
}

.hydration-title {
    font-size: 18px;
    font-weight: 900;
    color: var(--climb-black);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hydration-title span {
    display: none; /* Hide emoji */
}

.hydration-subtitle {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.water-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.water-stats-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--gray-600);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.water-stats-value {
    font-size: 16px;
    font-weight: 900;
    color: var(--climb-black);
}

.progress-bar-water {
    width: 100%;
    height: 12px;
    background: var(--gray-200);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill-water {
    height: 100%;
    background: linear-gradient(90deg, var(--info), var(--climb-gold));
    border-radius: 20px;
    transition: width 0.5s ease;
}

.bottle-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.bottle-btn {
    background: var(--gray-50);
    border: 2px solid var(--gray-300);
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    color: var(--climb-black);
    cursor: pointer;
    transition: all 0.2s;
}

.bottle-btn:hover {
    background: var(--climb-gold);
    border-color: var(--climb-gold);
    transform: translateY(-1px);
}

.bottle-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Today's Meals */
.today-meals-hero {
    background: white;
    padding: 24px;
    border-radius: var(--radius-xl);
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--climb-gold);
}

.today-title {
    font-size: 18px;
    font-weight: 900;
    color: var(--climb-black);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.today-title span {
    display: none; /* Hide emoji */
}

.today-subtitle {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.meal-card {
    background: var(--gray-50);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    text-align: left;
}

.meal-card:last-child {
    margin-bottom: 0;
}

.meal-time {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.meal-content {
    font-size: 14px;
    color: var(--climb-black);
    font-weight: 600;
    line-height: 1.5;
}

/* Search Section */
.search-section {
    margin-bottom: 24px;
}

.search-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-family: var(--font-primary);
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: var(--climb-gold);
}

/* Food Categories */
.category {
    margin-bottom: 32px;
}

.category-title {
    font-size: 16px;
    font-weight: 900;
    color: var(--climb-black);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.food-card {
    background: white;
    padding: 16px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--gray-200);
    transition: all 0.2s;
}

.food-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--climb-gold);
}

.food-icon {
    display: none; /* Hide emoji */
}

.food-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--climb-black);
    margin-bottom: 4px;
}

.food-score {
    font-size: 11px;
    color: var(--gray-600);
    font-weight: 600;
}

/* =====================================================
   PROGRESS PAGE
   ===================================================== */
.progress-scroll {
    padding: 20px;
    padding-bottom: 100px;
}

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

.stat-card {
    background: white;
    padding: 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--climb-gold);
}

.stat-icon {
    display: none; /* Hide emoji */
}

.stat-value {
    font-size: 32px;
    font-weight: 900;
    color: var(--climb-black);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--gray-600);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Progress Section */
.progress-section {
    margin-bottom: 32px;
}

.section-title {
    font-size: 16px;
    font-weight: 900;
    color: var(--climb-black);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Journey Card */
.journey-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--climb-gold);
}

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

.journey-day {
    font-size: 14px;
    font-weight: 700;
    color: var(--climb-black);
}

.journey-percent {
    font-size: 20px;
    font-weight: 900;
    color: var(--climb-gold);
}

.journey-bar {
    width: 100%;
    height: 12px;
    background: var(--gray-200);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 12px;
}

.journey-fill {
    height: 100%;
    background: var(--climb-gold);
    border-radius: 20px;
    transition: width 0.5s ease;
}

.journey-phase {
    font-size: 13px;
    color: var(--gray-600);
    font-weight: 600;
}

/* Recent Check-ins List */
.checkin-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkin-item {
    background: white;
    padding: 16px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--success);
}

.checkin-emoji {
    display: none; /* Hide emoji */
}

.checkin-details {
    flex: 1;
}

.checkin-date {
    font-size: 13px;
    font-weight: 700;
    color: var(--climb-black);
    margin-bottom: 6px;
}

.checkin-scores {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--gray-600);
    font-weight: 600;
}

.checkin-points {
    font-size: 16px;
    font-weight: 900;
    color: var(--success);
}

/* Hydration Week Grid */
.hydration-week-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

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

.hydration-day-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-600);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.hydration-bar-mini {
    width: 100%;
    height: 80px;
    background: var(--gray-200);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 8px;
}

.hydration-bar-fill {
    width: 100%;
    background: var(--info);
    transition: height 0.3s ease;
}

.hydration-oz {
    font-size: 11px;
    font-weight: 700;
    color: var(--climb-black);
}

/* Achievements */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.achievement-card {
    background: white;
    padding: 16px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--gray-200);
}

.achievement-card.locked {
    opacity: 0.3;
}

.achievement-card.unlocked {
    border-color: var(--climb-gold);
    background: rgba(239, 213, 66, 0.05);
}

.achievement-icon {
    display: none; /* Hide emoji */
}

.achievement-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--climb-black);
    margin-top: 8px;
}

/* =====================================================
   MESSAGE PAGE
   ===================================================== */
.message-container {
    padding: 40px 20px;
    max-width: 400px;
    margin: 0 auto;
}

.message-intro {
    text-align: center;
    margin-bottom: 32px;
}

.coach-icon {
    display: none; /* Hide emoji */
}

.message-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--climb-black);
    margin-bottom: 8px;
}

.message-subtitle {
    font-size: 14px;
    color: var(--gray-600);
}

.message-form {
    background: white;
    padding: 24px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--climb-gold);
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--climb-black);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.message-textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: var(--font-primary);
    resize: vertical;
    min-height: 150px;
}

.message-textarea:focus {
    outline: none;
    border-color: var(--climb-gold);
}

.char-count {
    font-size: 12px;
    color: var(--gray-600);
    text-align: right;
    margin-top: 8px;
}

.btn-send {
    background: var(--climb-gold);
    color: var(--climb-black);
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
}

.btn-send:hover {
    background: #d4bd3a;
    transform: translateY(-1px);
}

.btn-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.success-message {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--success);
}

.success-icon {
    font-size: 64px;
    color: var(--success);
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 24px;
    font-weight: 900;
    color: var(--climb-black);
    margin-bottom: 12px;
}

.success-message p {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.btn-done {
    background: var(--climb-gold);
    color: var(--climb-black);
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow-md);
}

.btn-done:hover {
    background: #d4bd3a;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* =====================================================
   CELEBRATION PAGE
   ===================================================== */
.celebration-screen {
    padding: 80px 20px;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.celebration-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    font-size: 64px;
    font-weight: 900;
    color: var(--success);
    box-shadow: var(--shadow-xl);
}

.celebration-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--climb-black);
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.points-display {
    background: white;
    padding: 32px;
    border-radius: var(--radius-xl);
    margin-bottom: 24px;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--climb-gold);
}

.points-number {
    font-size: 64px;
    font-weight: 900;
    color: var(--climb-gold);
    line-height: 1;
    margin-bottom: 12px;
}

.points-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.streak-display {
    background: white;
    padding: 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--success);
}

.streak-number {
    font-size: 24px;
    font-weight: 900;
    color: var(--climb-black);
}

.completion-subtitle {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 12px;
    font-weight: 600;
}

.celebration-screen .btn-done {
    margin-top: 32px;
    width: 100%;
    max-width: 320px;
}

/* Recovery Alert on Celebration Page */
.recovery-alert {
    background: white;
    padding: 24px;
    border-radius: var(--radius-xl);
    margin: 24px 0;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--warning);
    text-align: center;
}

.alert-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.alert-title {
    font-size: 18px;
    font-weight: 900;
    color: var(--climb-black);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.alert-message {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 20px;
    font-weight: 600;
}

.btn-recovery {
    background: var(--warning);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow-md);
}

.btn-recovery:hover {
    background: #d97706;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* =====================================================
   RECOVERY TOOLS PAGE
   ===================================================== */
.recovery-scroll {
    padding: 20px;
    padding-bottom: 100px;
}

.recovery-status {
    background: white;
    padding: 28px;
    border-radius: var(--radius-xl);
    margin-bottom: 32px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.recovery-status.high {
    border-left: 4px solid var(--success);
}

.recovery-status.medium {
    border-left: 4px solid var(--warning);
}

.recovery-status.low {
    border-left: 4px solid var(--danger);
}

.recovery-status-score {
    font-size: 56px;
    font-weight: 900;
    color: var(--climb-black);
    line-height: 1;
    margin-bottom: 8px;
}

.recovery-status-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.recovery-status-streak {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

.protocol-section {
    margin-bottom: 32px;
}

.section-description {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-top: 8px;
}

.reset-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius-xl);
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--gray-200);
    transition: all 0.3s;
}

.reset-card.recommended {
    border-color: var(--climb-gold);
    box-shadow: var(--shadow-lg);
    background: rgba(239, 213, 66, 0.03);
}

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

.reset-badge {
    background: var(--gray-100);
    color: var(--climb-black);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.reset-badge.medium {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.reset-badge.high {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.reset-duration {
    font-size: 12px;
    color: var(--gray-600);
    font-weight: 600;
}

.reset-title {
    font-size: 20px;
    font-weight: 900;
    color: var(--climb-black);
    margin-bottom: 4px;
}

.reset-subtitle {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 20px;
    font-weight: 500;
}

.reset-options {
    margin-bottom: 20px;
}

.reset-option {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 14px;
    color: var(--climb-black);
    font-weight: 500;
}

.reset-option:last-child {
    border-bottom: none;
}

.reset-when {
    font-size: 12px;
    color: var(--gray-600);
    font-style: italic;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.contact-coach-btn {
    background: var(--climb-gold);
    color: var(--climb-black);
    border: none;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    width: 100%;
    margin-top: 16px;
    transition: all 0.2s;
}

.contact-coach-btn:hover {
    background: #d4bd3a;
    transform: translateY(-1px);
}

.principle-card {
    background: var(--climb-dark-gray);
    color: white;
    padding: 24px;
    border-radius: var(--radius-xl);
    margin-top: 32px;
}

.principle-title {
    font-size: 16px;
    font-weight: 900;
    color: var(--climb-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.principle-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    opacity: 0.9;
}

.principle-text:last-child {
    margin-bottom: 0;
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */
.loading-text {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-500);
    font-size: 14px;
}

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

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 400px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .food-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.fade-in {
    animation: fadeIn 0.3s ease;
}
