:root {
    --primary: #2e7d32;
    --primary-light: #4caf50;
    --bg: #f0f2f5;
    --white: #ffffff;
    --text: #1a1a1a;
    --danger: #d32f2f;
    --warning: #f39c12;
    --info: #3498db;
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
}

h1 { color: var(--primary); margin-bottom: 25px; font-weight: 700; }

/* Navigation */
.main-nav {
    display: flex;
    justify-content: center;
    background: var(--primary);
    padding: 5px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.nav-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 5px;
    margin: 5px;
}

.nav-btn:hover { color: white; background: rgba(255,255,255,0.1); }
.nav-btn.active { color: var(--primary); background: white; }

/* Tabs */
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.3s; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Dashboard Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    border-bottom: 4px solid var(--primary-light);
}

.stat-card label { display: block; font-size: 13px; color: #666; margin-bottom: 10px; font-weight: 600; }
.stat-card span { font-size: 28px; font-weight: 800; color: var(--primary); }

.alert-card { border-bottom-color: var(--danger); }
.alert-card span { color: var(--danger); }

/* Forms */
.form-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.form-group { margin-bottom: 15px; }
label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
input, textarea, select {
    width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 6px; box-sizing: border-box;
    font-size: 14px; background: white;
}

.grid-form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.btn-primary {
    background: var(--primary); color: white; border: none; padding: 12px; border-radius: 6px;
    cursor: pointer; width: 100%; font-weight: 700; transition: 0.2s;
}
.btn-primary:hover { opacity: 0.9; }

/* Grids & Cards */
.seeds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }

.seed-card {
    background: white; padding: 20px; border-radius: 12px; box-shadow: var(--shadow);
    border-left: 5px solid var(--primary);
}

/* Reminders List */
.reminders-list-container { background: white; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }

.reminder-item {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr 1fr auto;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    font-size: 14px;
}

.reminder-item:last-child { border-bottom: none; }
.reminder-item.urgent { background: #fff5f5; border-left: 4px solid var(--danger); }

.reminder-tag {
    padding: 4px 8px; border-radius: 4px; font-size: 11px; font-weight: 800; text-transform: uppercase;
}
.tag-vencido { background: #ffebee; color: #c62828; }
.tag-aguardando { background: #e8f5e9; color: #2e7d32; }

/* Modals */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); overflow-y: auto; }
.modal-content { background: white; margin: 5% auto; padding: 30px; border-radius: 15px; width: 90%; max-width: 600px; position: relative; }
.close-modal { position: absolute; right: 20px; top: 15px; font-size: 24px; cursor: pointer; color: #999; }

/* Utils */
.btn-view { background: var(--info); color: white; border: none; padding: 6px 12px; border-radius: 4px; cursor: pointer; font-size: 12px; }
.btn-edit { background: var(--warning); color: white; border: none; padding: 6px 12px; border-radius: 4px; cursor: pointer; font-size: 12px; }
.btn-delete { background: var(--danger); color: white; border: none; padding: 6px 12px; border-radius: 4px; cursor: pointer; font-size: 12px; }
.seed-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; }

/* Fields */
.field-item {
    background: #f8f9fa; border: 1px solid #eee; padding: 12px 15px; border-radius: 8px; margin-bottom: 10px;
    display: flex; justify-content: space-between; align-items: center;
}
