:root {
    --primary: #1A73E8;
    --primary-dark: #0F4BB8;
    --light-blue: #E8F1FF;
    --white: #FFFFFF;
    --text: #1F1F1F;
    --text-light: #5A5A5A;
    --border: #DADADA;
    --bg-light: #F5F7FA;

    --radius: 10px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 16px;
    --space-4: 24px;
    --space-5: 32px;
    --space-6: 48px;
}

.hidden {
    display: none;
}

/* ---------- Modal (overlay + contenido) ---------- */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 120vh;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1000;
}

.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -70%);
    /*20% mas hacia arriba debido a la barra de navegación en dispositivos móbiles*/
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    z-index: 1001;
    height: 70vh;
    overflow-y: scroll;
    scroll-behavior: smooth;
}

.modal-close {
    display: none;
}

.modal-form label {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    margin-bottom: var(--space-3);
}

.modal-form input,
.modal-form textarea {
    padding: var(--space-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: var(--space-3);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
}