:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --text: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
}

body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background: var(--bg); margin: 0; padding: 15px; color: var(--text); }
.container { max-width: 650px; margin: 0 auto; }

.header { text-align: center; padding: 10px 0 20px; }
.header h1 { margin: 0; color: var(--primary); font-size: 28px; font-weight: 800; }
.header p { margin: 5px 0 0; color: var(--text-muted); font-size: 14px; }

.card { background: var(--card-bg); border-radius: 16px; padding: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); margin-bottom: 20px; border: 1px solid var(--border); }
.card-weather { background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); color: #fff; }

.weather-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.temp-now { font-size: 42px; font-weight: bold; }

.date-nav { display: flex; justify-content: space-around; margin: 15px 0 5px; background: rgba(255,255,255,0.15); padding: 5px; border-radius: 10px; }
.date-btn { background: none; border: none; color: #fff; padding: 6px 14px; border-radius: 6px; cursor: pointer; font-weight: 600; opacity: 0.7; transition: 0.2s; }
.date-btn.active { background: #fff; color: var(--primary); opacity: 1; }

.section-title { font-size: 16px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }

.search-box { display: flex; gap: 8px; }
.search-box input { margin-bottom: 0; }
.search-box button { background: var(--primary); color: white; border: none; padding: 0 16px; border-radius: 8px; font-weight: bold; cursor: pointer; }

.category-group { margin-bottom: 15px; }
.category-label { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; margin-bottom: 6px; }
.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; }

.option-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 10px; border: 2px solid var(--border); border-radius: 10px; background: #fff;
    cursor: pointer; transition: 0.2s; font-size: 13px; font-weight: 600;
}
.option-btn span { font-size: 20px; margin-bottom: 4px; }
.option-btn input { display: none; }
.option-btn:has(input:checked) { border-color: var(--primary); background: #eff6ff; color: var(--primary); }

.btn-submit { background: var(--primary); color: #fff; border: none; width: 100%; padding: 14px; border-radius: 10px; font-size: 16px; font-weight: 700; cursor: pointer; transition: 0.2s; }
.btn-submit:hover { background: var(--primary-hover); }

.alert-box { padding: 12px 16px; background: #ecfdf5; color: #065f46; border-radius: 10px; font-weight: 600; margin-bottom: 20px; border: 1px solid #a7f3d0; }
.crise-card { border: 1px solid #fecaca; }
.mural-item { background: #f1f5f9; padding: 12px; border-left: 4px solid var(--primary); border-radius: 0 8px 8px 0; margin-bottom: 10px; }
.btn-whats { display: inline-block; background: #25d366; color: white; padding: 6px 12px; border-radius: 6px; text-decoration: none; font-weight: bold; margin-top: 5px; font-size: 13px; }

input, textarea { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 8px; box-sizing: border-box; margin-bottom: 10px; font-size: 14px; }