/*==================================================
    LA TOXICA RADIO
    PAGINA DE ACCESO
    LOGIN ADMINISTRADOR
==================================================*/

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #081526;
    color: #ffffff;
}


/*==================================================
    PAGINA PRINCIPAL
==================================================*/

.login-page {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 18px;
    background:
        radial-gradient(
            circle at top,
            rgba(11, 61, 145, 0.45),
            transparent 45%
        ),
        #081526;
}


/*==================================================
    CONTENEDOR
==================================================*/

.login-container {
    width: 100%;
    max-width: 430px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


/*==================================================
    ENCABEZADO
==================================================*/

.login-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
}


/*==================================================
    LOGO
==================================================*/

.login-logo {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.login-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/*==================================================
    TITULO
==================================================*/

.login-title h1 {
    margin: 0;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 1px;
}

.login-title p {
    margin: 7px 0 0;
    color: #ffd400;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}


/*==================================================
    TARJETA LOGIN
==================================================*/

.login-card {
    width: 100%;
    padding: 30px 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 212, 0, 0.28);
    border-radius: 20px;
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/*==================================================
    ICONO
==================================================*/

.login-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffd400;
    color: #081526;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}


/*==================================================
    TITULO ACCESO
==================================================*/

.login-card h2 {
    margin: 0;
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
}

.login-description {
    margin: 10px auto 26px;
    max-width: 320px;
    text-align: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.5;
}


/*==================================================
    FORMULARIO
==================================================*/

.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}


/*==================================================
    CAMPOS
==================================================*/

.login-field {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-field label {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.login-field input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    outline: none;
    background: rgba(0, 0, 0, 0.25);
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.login-field input::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.login-field input:focus {
    border-color: #ffd400;
    background: rgba(0, 0, 0, 0.35);
    box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.12);
}


/*==================================================
    MENSAJE
==================================================*/

.login-message {
    min-height: 20px;
    margin: -4px 0 0;
    text-align: center;
    color: #ffd400;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}


/*==================================================
    BOTON LOGIN
==================================================*/

.login-button {
    width: 100%;
    min-height: 52px;
    margin-top: 2px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: #ffd400;
    color: #081526;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.login-button:hover {
    background: #ffe75a;
    box-shadow: 0 8px 22px rgba(255, 212, 0, 0.18);
}

.login-button:active {
    transform: scale(0.98);
}

.login-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}


/*==================================================
    VOLVER
==================================================*/

.login-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 20px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        background 0.2s ease;
}

.login-back:hover {
    color: #ffd400;
    border-color: rgba(255, 212, 0, 0.45);
    background: rgba(255, 212, 0, 0.06);
}


/*==================================================
    FOOTER
==================================================*/

.login-footer {
    margin-top: 18px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
}


/*==================================================
    MOVILES PEQUENOS
==================================================*/

@media (max-width: 360px) {

    .login-page {
        padding: 22px 14px;
    }

    .login-card {
        padding: 25px 18px;
    }

    .login-logo {
        width: 100px;
        height: 100px;
    }

    .login-title h1 {
        font-size: 22px;
    }

    .login-card h2 {
        font-size: 20px;
    }

}