:root {
    --primary: #4CAF50; /* Fresh Green */
    --secondary: #FF9800; /* Warm Orange */
    --bg-dark: #121212;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-main: #E0E0E0;
    --text-muted: #B0B0B0;
    --border: rgba(255, 255, 255, 0.1);
    --glass: rgba(255, 255, 255, 0.03);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    padding-bottom: 80px; /* Space for bottom nav on mobile */
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

/* Header & Logo */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
}

.logo-img {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Auth Cards */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 24px;
    margin-bottom: 20px;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

input[type="text"], input[type="password"], input[type="email"], textarea, select {
    width: 100%;
    padding: 14px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: 0.3s;
}

input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

/* Buttons */
.btn {
    display: block;
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), #66BB6A);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

/* Meal Cards (Food Log) */
.meal-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 25px;
    background: var(--bg-card);
}

.meal-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.meal-info {
    padding: 15px;
}

.meal-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

.status-pending { color: #FFD54F; }
.status-approved { color: #81C784; }
.status-rejected { color: #E57373; }

/* Bottom Nav (Mobile Only) */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    border-top: 1px solid var(--border);
    z-index: 100;
}

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.7rem;
}

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

.nav-icon {
    font-size: 1.4rem;
    margin-bottom: 4px;
}
