/* =========================================================
   LOGIN - NUESTRA HISTORIA
========================================================= */

.login-container {
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    justify-content: center;

    padding-top: 40px;
    padding-bottom: 80px;
}


/* =========================================================
   BOTÓN VOLVER
========================================================= */

.login-container .back-button {
    align-self: center;

    margin-bottom: 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 9px 16px;

    border: 1px solid rgba(255, 181, 216, 0.12);

    border-radius: 30px;

    background: rgba(255, 255, 255, 0.025);

    color: #bda8bf;

    text-decoration: none;

    font-family: "Montserrat", sans-serif;

    font-size: 11px;

    letter-spacing: 0.4px;

    backdrop-filter: blur(10px);

    transition:
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.login-container .back-button:hover {
    color: var(--light-pink);

    background: rgba(240, 111, 174, 0.07);

    border-color:
        rgba(240, 111, 174, 0.3);

    transform: translateY(-2px);
}


/* =========================================================
   TARJETA
========================================================= */

.login-card {
    width: min(470px, 100%);

    margin: 0 auto;

    padding: 55px 45px;

    text-align: center;

    border-radius: 30px;

    border: 1px solid rgba(240, 111, 174, 0.22);

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(240, 111, 174, 0.12),
            transparent 48%
        ),
        rgba(255, 255, 255, 0.035);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);

    backdrop-filter: blur(20px);
}


/* =========================================================
   ICONO
========================================================= */

.login-card .memories-icon {
    width: 72px;
    height: 72px;

    margin: 0 auto 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border: 1px solid rgba(240, 111, 174, 0.4);

    color: var(--pink);

    font-size: 29px;

    box-shadow:
        0 0 40px rgba(240, 111, 174, 0.12);
}


/* =========================================================
   ENCABEZADO
========================================================= */

.login-card .section-label {
    margin-bottom: 14px;
}

.login-card h1 {
    margin-bottom: 18px;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(60px, 8vw, 82px);

    font-weight: 600;

    line-height: 0.9;

    color: var(--white);
}

.login-text {
    max-width: 330px;

    margin: 0 auto 35px;

    font-family: "Cormorant Garamond", serif;

    font-size: 21px;

    line-height: 1.45;

    color: #cdbdce;
}


/* =========================================================
   FORMULARIO
========================================================= */

.login-form {
    width: 100%;

    display: flex;

    flex-direction: column;

    text-align: left;

    gap: 9px;
}

.login-form label {
    margin-top: 10px;

    font-family: "Montserrat", sans-serif;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 3px;

    text-transform: uppercase;

    color: #d2afcf;
}

.login-form input {
    width: 100%;

    height: 52px;

    padding: 0 17px;

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 14px;

    outline: none;

    background:
        rgba(255, 255, 255, 0.045);

    color: #ffffff;

    font-family: "Montserrat", sans-serif;

    font-size: 14px;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.login-form input::placeholder {
    color: #756579;
}

.login-form input:hover {
    border-color:
        rgba(255, 181, 216, 0.25);
}

.login-form input:focus {
    border-color:
        rgba(240, 111, 174, 0.65);

    background:
        rgba(255, 255, 255, 0.06);

    box-shadow:
        0 0 0 4px
        rgba(240, 111, 174, 0.08);
}


/* =========================================================
   BOTÓN
========================================================= */

.login-button {
    width: 100%;

    height: 54px;

    margin-top: 22px;

    border: none;

    border-radius: 30px;

    outline: none;

    cursor: pointer;

    color: #ffffff;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;

    font-weight: 600;

    background:
        linear-gradient(
            90deg,
            #d95fa8,
            #895bd0
        );

    box-shadow:
        0 15px 35px
        rgba(217, 95, 168, 0.28);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.login-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 20px 45px
        rgba(217, 95, 168, 0.42);
}

.login-button:active {
    transform: translateY(-1px);
}


/* =========================================================
   DECORACIÓN
========================================================= */

.login-card::after {
    content: "♥";

    display: block;

    margin-top: 30px;

    color: rgba(240, 111, 174, 0.45);

    font-family: "Cormorant Garamond", serif;

    font-size: 18px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 600px) {

    .login-container {
        padding: 30px 18px 50px;
    }

    .login-container .back-button {
        margin-bottom: 35px;
    }

    .login-card {
        padding: 45px 24px;

        border-radius: 24px;
    }

    .login-card h1 {
        font-size: 62px;
    }

    .login-text {
        font-size: 20px;
    }

    .login-form input {
        height: 50px;
    }

    .login-button {
        height: 52px;
    }
}