
root {
    --bg-mate: #f4f4f9;
    --texto: #444;
    --texto-suave: #888;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: var(--bg-mate);
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

.container {
    max-width: 700px;
    width: 100%;
}

h1 {
    font-size: 1.8rem;
    color: #222;
    margin-bottom: 40px;
    font-weight: 700;
    text-align: center;
}

/* Títulos de las secciones */
.seccion-titulo {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--texto-suave);
    margin: 30px 0 15px 5px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

    .seccion-titulo::after {
        content: "";
        flex: 1;
        height: 1px;
        background: #ddd;
        margin-left: 15px;
    }

.grid-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    width: 100%;
}

.galleta {
    text-decoration: none;
    height: 90px;
    background: white;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

    .galleta::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
    }

    .galleta:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 20px rgba(0,0,0,0.06);
        border-color: transparent;
    }

    .galleta i {
        margin-bottom: 10px;
        stroke-width: 2px;
    }

    .galleta span {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--texto);
    }

    .galleta:active {
        transform: scale(0.96);
    }

/* Colores */
.idiomas {
    color: #3b82f6;
}

    .idiomas::before {
        background: #3b82f6;
    }

.familias {
    color: #f43f5e;
}

    .familias::before {
        background: #f43f5e;
    }

.articulos {
    color: #f43f5e;
}

    .articulos::before {
        background: #f43f5e;
    }

.clientes {
    color: #f43f5e;
}

    .clientes::before {
        background: #f43f5e;
    }

.cabfrave {
    color: #f43f5e;
}

    .cabfrave::before {
        background: #f43f5e;
    }

.cajas {
    color: #f43f5e;
}

.linfrave::before {
    background: #f43f5e;
}

.cajas {
    color: #f43f5e;
}

.linfrave::before {
    background: #f43f5e;
}


.calendario {
    color: #ef4444;
}

    .calendario::before {
        background: #ef4444;
    }

.horarios {
    color: #8b5cf6;
}

    .horarios::before {
        background: #8b5cf6;
    }

.salas {
    color: #10b981;
}

    .salas::before {
        background: #10b981;
    }

.monitores {
    color: #ef4444;
}

    .monitores::before {
        background: #ef4444;
    }

.reservas {
    color: #f59e0b;
}

    .reservas::before {
        background: #f59e0b;
    }

.bonos {
    color: #f43f5e;
}

    .bonos::before {
        background: #f43f5e;
    }


/* Estilos específicos para centrar y diseñar los inputs dentro del SweetAlert */
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 12px;
    margin-top: 15px;
}

.login-input {
    width: 80% !important;
    max-width: 280px;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
    text-align: center !important; /* Centrar el texto que escribe el usuario */
    font-size: 1rem !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    font-family: inherit;
}

/* Cabecera alineada horizontalmente */
.header-principal {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Alinea los elementos en fila desde la izquierda */
    width: 100%;
    margin-bottom: 40px;
}

.logo-header-inline {
    height: 45px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

h1 {
    font-size: 1.8rem;
    color: #222;
    font-weight: 700;
    margin: 0;
    /* Margen izquierdo para separar el título del logo y moverlo a la derecha */
    margin-left: 40px;
    text-align: left;
}
