
/* =========================================================
   BABYNOAH - LOGIN
   Estilo moderno para sistema de juegos infantiles
   ========================================================= */

body {
    background: linear-gradient(
        135deg,
        #4C1D95 0%,
        #6D28D9 45%,
        #8B5CF6 75%,
        #6366F1 100%
    );

    min-height: 100vh;
    font-family: 'Segoe UI', sans-serif;
}


/* =========================================================
   FONDO LOGIN
   ========================================================= */

body.login-page {
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(236, 72, 153, .18),
            transparent 28%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(6, 182, 212, .16),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #3B176D 0%,
            #5B21B6 45%,
            #6D28D9 75%,
            #4338CA 100%
        );
}


/* =========================================================
   LOGIN BOX
   ========================================================= */

.login-box {
    width: 430px;
    max-width: 95%;
}


/* =========================================================
   TARJETA LOGIN
   ========================================================= */

.login-box .card {
    background: rgba(255, 255, 255, .98);

    border: none;

    border-top: 5px solid #7C3AED;

    border-radius: 20px;

    box-shadow:
        0 25px 60px rgba(37, 15, 80, .30);

    overflow: hidden;
}


/* TARJETAS GENERALES */

.card {
    background: rgba(255, 255, 255, .97);

    border-top: 5px solid #7C3AED;

    border-radius: 20px;

    box-shadow:
        0 15px 40px rgba(76, 29, 149, .20);
}


/* =========================================================
   TITULO
   ========================================================= */

.card-header {
    background: transparent;

    border-bottom: none;

    padding:
        20px
        25px
        10px;
}


.card-header a {
    display: block;

    font-size: 32px;

    font-weight: 700;

    color: #5B21B6;

    text-decoration: none;

    margin-bottom: 12px;
}


.card-header a:hover {
    color: #7C3AED;
}


/* =========================================================
   LINK OLVIDASTE CONTRASEÑA
   ========================================================= */

.card-body .mb-1 a {
    color: #7C3AED;

    font-size: 15px;

    text-decoration: none;

    transition: color .2s ease;
}


.card-body .mb-1 a:hover {
    color: #5B21B6;

    text-decoration: underline;
}


/* =========================================================
   LOGO
   ========================================================= */

.login-logo {
    width: 100%;

    margin-bottom: 10px;

    padding: 0;
}


.nombre-hotel {
    text-align: center;

    color: #334155;

    font-size: 18px;

    letter-spacing: .5px;

    margin-top: 5px;
}


.nombre-hotel b {
    color: #7C3AED;
}


.login-logo img {
    display: block;

    width: 100%;

    max-width: 100%;

    height: auto;

    border-radius: 4px;

    margin: 0 auto;

    object-fit: contain;
}


/* =========================================================
   MENSAJE LOGIN
   ========================================================= */

.login-box-msg {
    font-size: 16px;

    color: #64748B;

    margin-bottom: 0;
}


/* =========================================================
   INPUTS
   ========================================================= */

.input-group {
    margin-bottom: 15px;
}


.form-control {
    height: 62px;

    border-radius: 10px;

    border: 1px solid #E2E8F0;

    font-size: 20px;

    padding-left: 20px;

    color: #334155;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.form-control::placeholder {
    color: #94A3B8;
}


.form-control:focus {
    border-color: #8B5CF6;

    box-shadow:
        0 0 0 3px rgba(124, 58, 237, .15);

    outline: none;
}


/* =========================================================
   ICONOS DE INPUT
   ========================================================= */

.input-group-text {
    width: 55px;

    justify-content: center;

    background: #7C3AED;

    color: #FFFFFF;

    border: 1px solid #7C3AED;

    border-radius: 0 10px 10px 0;

    font-size: 17px;
}


/* =========================================================
   BOTÓN LOGIN
   ========================================================= */

.btn-login {
    width: 100%;

    height: 56px;

    border: none;

    border-radius: 11px;

    background: linear-gradient(
        135deg,
        #7C3AED,
        #5B21B6
    );

    color: #FFFFFF;

    font-size: 19px;

    font-weight: 600;

    letter-spacing: .3px;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


.btn-login:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(91, 33, 182, .30);

    background: linear-gradient(
        135deg,
        #8B5CF6,
        #6D28D9
    );
}


.btn-login:active {
    transform: translateY(0);
}


.btn-login:focus {
    outline: none;

    box-shadow:
        0 0 0 4px rgba(124, 58, 237, .20);
}


/* =========================================================
   LINK
   ========================================================= */

.forgot-link {
    display: block;

    text-align: center;

    margin-top: 1px;

    font-size: 16px;
}


.forgot-link a {
    color: #7C3AED;

    font-size: 15px;

    text-decoration: none;
}


.forgot-link a:hover {
    color: #5B21B6;

    text-decoration: underline;
}


.forgot-link:hover {
    text-decoration: underline;
}


/* =========================================================
   VERSION
   ========================================================= */

.version {
    font-size: 12px;

    color: #94A3B8;

    margin-top: 15px;
}


/* =========================================================
   MODALES
   ========================================================= */

.modal {
    z-index: 99999 !important;
}


.modal-backdrop {
    z-index: 99998 !important;
}


.modal-content {
    border: none;

    border-radius: 15px;

    overflow: hidden;

    box-shadow:
        0 20px 50px rgba(37, 15, 80, .25);
}


.modal-dialog {
    z-index: 999999 !important;
}


/* =========================================================
   BOTÓN PROCESAR
   ========================================================= */

.btnProcesar {
    background: linear-gradient(
        135deg,
        #7C3AED,
        #5B21B6
    );

    border: none;

    border-radius: 10px;

    color: #FFFFFF;

    font-size: 16px;

    font-weight: 600;

    padding: 10px 25px;

    min-width: 130px;

    transition: all .2s ease;
}


.btnProcesar:hover {
    background: linear-gradient(
        135deg,
        #8B5CF6,
        #6D28D9
    );

    box-shadow:
        0 8px 20px rgba(91, 33, 182, .25);

    transform: translateY(-1px);
}


.btnProcesar:focus {
    outline: none;

    box-shadow:
        0 0 0 4px rgba(124, 58, 237, .20);
}


/* =========================================================
   LOGO
   ========================================================= */

.logo-hotel {
    height: 120px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 5px auto 0;
}


.logo-cliente {
    display: block;

    max-width: 300px;

    max-height: 115px;

    width: auto;

    height: auto;

    object-fit: contain;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 500px) {

    .login-box {
        width: 95%;
    }

    .card-header {
        padding-left: 18px;

        padding-right: 18px;
    }

    .card-header a {
        font-size: 28px;
    }

    .login-logo img {
        width: 250px;
    }

    .logo-cliente {
        max-width: 220px;
    }
}


/* =========================================================
   PANTALLAS PEQUEÑAS
   ========================================================= */

@media (max-height: 700px) {

    .login-logo {
        margin-bottom: 0;
    }

    .login-logo img {
        width: 220px;
    }

    .card-header {
        padding-top: 10px;
    }

    .card-body {
        padding-top: 12px;

        padding-bottom: 15px;
    }
}
