:root {
    --primary: #2c5e2e; /* Deep Vine Green */
    --primary-light: #4c8c4e;
    --accent: #d4af37; /* Gold/Terroir */
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --border-radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --header-height: 60px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    padding-bottom: 80px; /* Space for bottom nav/actions if needed */
}

/* Typography */
h1, h2, h3 { font-family: var(--font-heading); color: var(--primary); font-weight: 700; }
h1 { font-size: 1.75rem; margin-bottom: 1rem; }
h2 { font-size: 1.25rem; margin-bottom: 0.75rem; }

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.app-header {
    background: var(--primary);
    color: white;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}
.app-header .logo { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; }
.app-header .user-menu { font-size: 0.9rem; opacity: 0.9; }

/* Components */
.card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: transform 0.1s, box-shadow 0.2s;
    font-family: var(--font-heading);
}
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-light); }
.btn-secondary { background: #e2e8f0; color: var(--text-main); }
.btn-danger { background: #e53e3e; color: white; }

/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--text-muted); }
.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(44, 94, 46, 0.1); }

/* Custom Inputs for Mobile */
.rating-input {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 1rem 0;
}
.rating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
}
.rating-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Plant Profile Specifics */
.plant-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.plant-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: var(--shadow);
}
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    background: #e2e8f0;
    color: var(--text-muted);
}
.status-aeroponie { background: #e3f2fd; color: #1565c0; }
.status-pepiniere { background: #e8f5e9; color: #2e7d32; }
.status-mort { background: #ffebee; color: #c62828; }

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.full-width { width: 100%; }

/* Mobile Optimization */
@media (max-width: 768px) {
    .container { padding: 15px; }
    h1 { font-size: 1.5rem; }
    .btn { padding: 14px 20px; width: 100%; display: block; margin-bottom: 10px; }
    .plant-header { flex-direction: column; text-align: center; }
}
