:root {
    --primary: #1B5E20;
    --primary-dark: #0D3D12;
    --accent: #4CAF50;
    --bg: #F5F5F5;
    --bg-card: #FFFFFF;
    --bg-hover: #E8F5E9;
    --text: #1F2937;
    --text-muted: #6B7280;
    --border: #E5E7EB;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --radius: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--text); line-height: 1.5; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.flex { display: flex; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-white { color: white; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.hidden { display: none !important; }
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
@media (max-width: 600px) { .hide-mobile { display: none; } .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.header { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); padding: 1rem 0; position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.header-logo { display: flex; align-items: center; gap: 0.5rem; color: white; text-decoration: none; font-weight: bold; font-size: 1.1rem; }
.header-logo-icon { font-size: 1.5rem; }
.hero { background: linear-gradient(135deg, var(--primary), #2E7D32); color: white; padding: 2.5rem 0; }
.hero-content h1 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.hero-stats { display: flex; gap: 2rem; margin-top: 1.5rem; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-value { font-size: 2rem; font-weight: bold; }
.hero-stat-label { font-size: 0.875rem; opacity: 0.9; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.625rem 1.25rem; border-radius: 8px; font-weight: 500; cursor: pointer; border: none; transition: all 0.2s; text-decoration: none; font-size: 0.9rem; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: #E5E7EB; color: var(--text); }
.btn-secondary:hover { background: #D1D5DB; }
.btn-accent { background: var(--accent); color: white; }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.5); color: white; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-block { width: 100%; }
.btn-lg { padding: 0.875rem 1.5rem; font-size: 1rem; }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8rem; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.card { background: var(--bg-card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-section { padding: 1.5rem; border-bottom: 1px solid var(--border); }
.card-section:last-child { border-bottom: none; }
.section-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.section-icon { font-size: 1.25rem; }
.section-header h3 { font-size: 1.1rem; }
.form-group { margin-bottom: 1rem; flex: 1; min-width: 0; }
.form-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.form-row .form-group { min-width: 140px; }
.form-label { display: block; font-weight: 500; margin-bottom: 0.375rem; font-size: 0.9rem; }
.form-label.required::after { content: ' *'; color: #EF4444; }
.form-control, .form-select { width: 100%; padding: 0.75rem 1rem; border: 2px solid var(--border); border-radius: 8px; font-size: 1rem; transition: border-color 0.2s; background: white; }
.form-control:focus, .form-select:focus { outline: none; border-color: var(--primary); }
textarea.form-control { resize: vertical; min-height: 70px; }
.form-check { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.form-check input { width: 18px; height: 18px; accent-color: var(--primary); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.stat-card { display: flex; align-items: center; gap: 1rem; background: var(--bg-card); padding: 1.25rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.stat-icon { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: white; flex-shrink: 0; }
.stat-value { font-size: 1.5rem; font-weight: bold; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.menu-card { background: var(--bg-card); padding: 1.5rem; border-radius: var(--radius); text-align: center; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: all 0.2s; border: 2px solid transparent; }
.menu-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.menu-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.menu-card h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.menu-card p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.alert { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; border-radius: 8px; margin-bottom: 1rem; }
.alert-success { background: #D1FAE5; color: #065F46; }
.alert-error { background: #FEE2E2; color: #991B1B; }
.badge { display: inline-block; padding: 0.25rem 0.5rem; border-radius: 6px; font-size: 0.75rem; font-weight: 500; background: #E5E7EB; }
.badge-primary { background: var(--primary); color: white; }
.badge-accent { background: var(--accent); color: white; }
.compromiso-options { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.compromiso-option { flex: 1; min-width: 90px; display: flex; flex-direction: column; align-items: center; gap: 0.25rem; padding: 1rem; border: 2px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: all 0.2s; text-align: center; }
.compromiso-option:hover { border-color: var(--primary); }
.compromiso-option.active { border-color: var(--primary); background: var(--bg-hover); }
.compromiso-option input { display: none; }
.compromiso-option .emoji { font-size: 1.5rem; }
.login-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem; background: linear-gradient(135deg, var(--primary), #2E7D32); }
.login-card { background: white; border-radius: 16px; width: 100%; max-width: 400px; box-shadow: var(--shadow-lg); overflow: hidden; }
.login-header { background: var(--bg-hover); padding: 2rem; text-align: center; }
.login-logo { font-size: 3rem; margin-bottom: 0.5rem; }
.login-header h1 { color: var(--primary); margin-bottom: 0.25rem; }
.login-header p { color: var(--text-muted); font-size: 0.9rem; }
.login-body { padding: 2rem; }
.login-footer { padding: 1.5rem; background: #F9FAFB; border-top: 1px solid var(--border); text-align: center; }
.login-footer p { font-size: 0.85rem; margin: 0.25rem 0; }
code { background: #E5E7EB; padding: 0.15rem 0.4rem; border-radius: 4px; font-size: 0.85rem; }
.footer { background: var(--primary-dark); color: white; padding: 1.5rem 0; margin-top: 2rem; }
.footer p { margin: 0.25rem 0; }
.fade-in { animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
hr { border: none; border-top: 1px solid var(--border); }
