:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --background: #f8fafc;
    --surface: #ffffff;
    --text: #0f172a;
    --text-light: #64748b;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', sans-serif; }

body { background-color: var(--background); color: var(--text); min-height: 100vh; }
.container { max-width: 1200px; margin: 0 auto; padding: 2rem; }

/* Header */
header { background: var(--surface); padding: 1rem; box-shadow: var(--shadow); text-align: center; margin-bottom: 2rem; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary); text-decoration: none; }
h4 {text-align: center; }
/* Cards & Grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.card { background: var(--surface); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.card h2 { margin-bottom: 1.5rem; color: var(--text); font-size: 1.25rem; }

/* Forms */
.form-group { margin-bottom: 1.25rem; }
label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--text-light); font-size: 0.9rem; }
input[type="text"], input[type="date"] {
    width: 100%; padding: 0.75rem; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 1rem;
}
input:focus { outline: none; border-color: var(--primary); }

/* Checkboxes */
.checkbox-group { display: flex; gap: 1.5rem; margin-top: 0.5rem; }
.checkbox-item { display: flex; align-items: center; gap: 0.5rem; }
.checkbox-item input { width: auto; transform: scale(1.2); cursor: pointer; }

/* Button */
button {
    background-color: var(--primary); color: white; border: none; padding: 0.75rem 1.5rem;
    border-radius: 8px; font-weight: 600; cursor: pointer; width: 100%;
}
button:hover { background-color: var(--primary-dark); }
button:disabled { background-color: #cbd5e1; cursor: not-allowed; }

/* Map */
#map { height: 400px; width: 100%; border-radius: var(--radius); margin-top: 1rem; }

/* Results */
.result-section { margin-bottom: 1rem; }
.section-title { font-size: 1rem; color: var(--text-light); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }

.school-item {
    border: 1px solid #e2e8f0; padding: 1rem; border-radius: 8px; margin-bottom: 0.5rem;
    transition: background 0.2s; cursor: pointer;
}
.school-item:hover { background: #f1f5f9; border-color: var(--primary); }
.school-item h3 { color: var(--primary); font-size: 1.1rem; margin: 0; }

/* Badges */
.badge { font-size: 0.75rem; padding: 0.25rem 0.5rem; border-radius: 4px; font-weight: 600; }
.badge-integral { background: #dcfce7; color: #166534; } /* Green */
.badge-parcial { background: #fff7ed; color: #9a3412; }   /* Orange */

.hidden { display: none; }
.flex { display: flex; align-items: center; }
.text-sm { font-size: 0.875rem; }
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }

