@charset "utf-8";
/* CSS Document */

/* =========================================================
   CONFIGURACIÓN GENERAL
   ========================================================= */

:root {
    --gold: #e62877;
    --gold-light: #e62877;

    --background: #08090b;
    --card: rgba(15, 17, 20, 0.88);

    --input: rgba(255, 255, 255, 0.07);
    --input-border: rgba(255, 255, 255, 0.10);

    --text: #f2f2f2;
    --text-secondary: #8f9298;

    --radius: 18px;
}


/* =========================================================
   BODY
   ========================================================= */

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    background: var(--background);
    color: var(--text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
}


/* =========================================================
   PÁGINA
   ========================================================= */

.login-page {
    position: relative;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

   

       background-image: url("../img/intra-04.webp");
background-repeat: no-repeat;
background-size: cover;
background-position: center; /* Centra la imagen para un mejor encuadre */

      
  
/*    background:
        radial-gradient(
            circle at 0% 0%,
            rgba(255, 255, 255, 0.08),
            transparent 0%
        ),
        radial-gradient(
            circle at 0% 0%,
            rgba(200, 168, 120, 0.07),
            transparent 0%
        ),
        linear-gradient(
            135deg,
            #050607 0%,
            #111317 0%,
            #050607 0%
        );*/
}


/* =========================================================
   EFECTO DE FONDO
   ========================================================= */

.login-page::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0.15;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.04) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    pointer-events: none;
}


/* =========================================================
   OVERLAY
   ========================================================= */

.background-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.78),
            rgba(0, 0, 0, 0.30),
            rgba(0, 0, 0, 0.80)
        );

    pointer-events: none;
}


/* =========================================================
   LOGIN CARD
   ========================================================= */

.login-card {
    position: relative;

    width: 100%;

    padding: 42px 48px 30px;

    background: var(--card);

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 22px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


/* =========================================================
   LOGO
   ========================================================= */

.logo-container {
    display: flex;
    justify-content: center;

    margin-bottom: 28px;
}

.logo {
    width: 82px;
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: center;
    
}

.logo span {
    color: var(--gold-light);

    font-size: 22px;
    font-weight: 700;
    letter-spacing: -1px;

    transform: rotate(-45deg);
}


/* =========================================================
   HEADER
   ========================================================= */

.login-header {
    margin-bottom: 32px;
}

.login-header h1 {
    margin: 0;

    color: #f5f5f5;

    font-size: 34px;
    font-weight: 400;

    letter-spacing: -0.8px;
}

.login-header h1 span {
    color: var(--gold-light);
}

.login-header p {
    margin-top: 10px;
    margin-bottom: 0;

    color: var(--text-secondary);

    font-size: 14px;
}


/* =========================================================
   FORMULARIO
   ========================================================= */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #d6d6d6;

    font-size: 14px;
    font-weight: 500;
}


/* =========================================================
   INPUT CON ICONO
   ========================================================= */

.input-container {
    position: relative;
}

.input-icon {
    position: absolute;

    left: 18px;
    top: 50%;

    width: 22px;
    height: 22px;

    color: #a7a9ad;

    transform: translateY(-50%);

    pointer-events: none;
}

.login-input {
    width: 100%;

    min-height: 62px;

    padding:
        18px
        50px
        18px
        55px;

    color: #f3f3f3;

    background: var(--input);

    border: 1px solid var(--input-border);

    border-radius: 14px;

    font-size: 15px;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.login-input::placeholder {
    color: #73767b;
}

.login-input:focus {
    color: #ffffff;

    background: rgba(255,255,255,0.09);

    border-color: rgba(230,40,119,0.65);

    box-shadow:
        0 0 0 3px rgba(200,168,120,0.08);

    outline: none;
}


/* =========================================================
   MOSTRAR CONTRASEÑA
   ========================================================= */

.password-toggle {
    position: absolute;

    top: 50%;
    right: 16px;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    color: #92959a;

    background: transparent;

    border: 0;

    transform: translateY(-50%);

    cursor: pointer;

    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: var(--gold-light);
}

.password-toggle svg {
    width: 21px;
    height: 21px;
}


/* =========================================================
   ERROR
   ========================================================= */

.login-error {
    margin-bottom: 18px;
    padding: 11px 14px;

    color: #ffb4b4;

    background: rgba(220, 53, 69, 0.10);

    border: 1px solid rgba(220, 53, 69, 0.25);

    border-radius: 10px;

    font-size: 13px;
}


/* =========================================================
   BOTÓN LOGIN
   ========================================================= */

.btn-login {
    min-height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    margin-top: 10px;

    color: #ffffff;

    background:#e62877;

    border: 1px solid rgba(255,255,255,0.15);

    border-radius: 14px;

    font-size: 16px;
    font-weight: 500;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.25);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.btn-login svg {
    width: 22px;
    height: 22px;

    transition: transform 0.2s ease;
}

.btn-login:hover {
    color: #e62877;
	
	border: 1px solid #e62877;

    filter: brightness(1.08);

    transform: translateY(-1px);

    box-shadow:
        0 14px 30px rgba(0,0,0,0.35);
}

.btn-login:hover svg {
    transform: translateX(4px);
}

.btn-login:active {
    transform: translateY(0);
}


/* =========================================================
   FOOTER
   ========================================================= */

.login-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;

    margin-top: 30px;

    color: #70747a;

    font-size: 12px;
}

.separator {
    color: var(--gold);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .login-card {
        padding: 38px 40px 28px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    .login-page {
        padding: 20px 0;
    }

    .login-card {
        padding: 32px 24px 24px;

        border-radius: 18px;
    }

    .logo {
        width: 70px;
        height: 70px;
    }

    .login-header {
        margin-bottom: 27px;
    }

    .login-header h1 {
        font-size: 28px;
    }

    .login-header p {
        font-size: 13px;
    }

    .login-input {
        min-height: 58px;

        padding-left: 52px;
    }

    .btn-login {
        min-height: 58px;
    }

    .login-footer {
        flex-direction: column;
        gap: 3px;
    }

    .separator {
        display: none;
    }

}


/* =========================================================
   TELÉFONOS MUY PEQUEÑOS
   ========================================================= */

@media (max-width: 360px) {

    .login-card {
        padding: 28px 18px 22px;
    }

    .login-header h1 {
        font-size: 25px;
    }

}