/* =========================================================
   RISTHABOX LOGIN / SIGNUP
========================================================= */
.auth-container {
    width: 92%;
    max-width: 900px;

    margin: 45px auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    background: #ffffff;

    border-radius: 16px;

    overflow: hidden;

    box-shadow: 0 10px 35px rgba(74, 38, 53, 0.15);
}

/* ================= LEFT SIDE ================= */
.auth-welcome {
    background: #f8f1f3;

    color: #ffffff;

    padding: 55px 45px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-gift-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.auth-gift-icon img {
    width: 100px;
    height: 100px;

    object-fit: cover;
    border-radius: 50%;

    display: block;
    margin: 0 auto;
}

.auth-welcome h2 {
    font-size: 28px;

    line-height: 1.3;

    margin-bottom: 15px;

    color: #4a2635;
}

.auth-welcome>p {
    font-size: 14px;

    line-height: 1.8;

    color: #4a2635;

    margin-bottom: 30px;
}

/* ================= FEATURES ================= */
.auth-features {
    display: flex;

    flex-direction: column;

    gap: 17px;
}

.auth-features div {
    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 13px;
    color: #4a2635;
}

.auth-features span {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(227, 84, 134, 0.2);

    border-radius: 50%;
}

/* ================= RIGHT SIDE ================= */
.auth-box {
    padding: 42px 45px;

    background: #ffffff;
}

/* ================= HEADING ================= */
.auth-heading {
    margin-bottom: 25px;
}

.auth-heading h1 {
    font-size: 25px;

    color: #4a2635;

    margin-bottom: 5px;
}

.auth-heading p {
    color: #777777;

    font-size: 12px;
}

/* ================= INPUT GROUP ================= */
.auth-input-group {
    margin-bottom: 17px;
}

.auth-input-group label {
    display: block;

    font-size: 12px;

    font-weight: 600;

    color: #4a2635;

    margin-bottom: 7px;
}

.auth-label-row {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 7px;
}

.auth-label-row label {
    margin-bottom: 0;
}

.auth-label-row a {
    color: #e35486;

    text-decoration: none;

    font-size: 11px;
}

.auth-label-row a:hover {
    text-decoration: underline;
}

/* ================= INPUT ================= */
.auth-input {
    width: 100%;

    height: 44px;

    border: 1px solid #dddddd;

    border-radius: 7px;

    display: flex;

    align-items: center;

    background: #ffffff;

    transition: 0.2s;
}

.auth-input:focus-within {
    border-color: #e35486;

    box-shadow: 0 0 0 3px rgba(227, 84, 134, 0.12);
}

.auth-input>span {
    width: 42px;

    text-align: center;

    color: #999999;

    font-size: 14px;
}

.auth-input input {
    width: 100%;

    height: 100%;

    border: none;

    outline: none;

    background: transparent;

    padding: 0 5px;

    font-family: "Poppins", sans-serif;

    font-size: 12px;

    color: #333333;
}

.auth-input input::placeholder {
    color: #aaaaaa;
}

/* ================= PASSWORD ================= */
.password-toggle {
    width: 45px;

    height: 100%;

    border: none;

    background: transparent;

    color: #e35486;

    cursor: pointer;

    font-size: 11px;
}

.password-toggle:hover {
    text-decoration: underline;
}

/* ================= REMEMBER ================= */
.remember-me {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #666666;

    font-size: 11px;

    cursor: pointer;

    margin-bottom: 18px;
}

.remember-me input {
    accent-color: #e35486;

    cursor: pointer;
}

/* ================= MAIN BUTTON ================= */
.auth-main-btn {
    width: 100%;

    height: 44px;

    border: none;

    border-radius: 7px;

    background: #e35486;

    color: #ffffff;

    font-family: "Poppins", sans-serif;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.25s;
}

.auth-main-btn:hover {
    background: #c83f6e;

    transform: translateY(-1px);

    box-shadow: 0 5px 15px rgba(227, 84, 134, 0.25);
}

/* ================= MESSAGE ================= */
.auth-message {
    min-height: 20px;

    margin-top: 12px;

    text-align: center;

    font-size: 11px;
}

.auth-message.success {
    color: #16805c;
}

.auth-message.error {
    color: #d00000;
}

/* ================= SWITCH ================= */
.auth-switch {
    margin-top: 27px;
}

.auth-divider {
    display: flex;

    align-items: center;

    gap: 10px;

    color: #999999;

    font-size: 10px;

    margin-bottom: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";

    height: 1px;

    background: #eeeeee;

    flex: 1;
}

.auth-divider span {
    white-space: nowrap;
}

/* ================= OUTLINE BUTTON ================= */
.auth-outline-btn {
    width: 100%;

    height: 42px;

    border: 1px solid #cccccc;

    border-radius: 7px;

    background: #ffffff;

    color: #4a2635;

    font-family: "Poppins", sans-serif;

    font-size: 12px;

    cursor: pointer;

    transition: 0.2s;
}

.auth-outline-btn:hover {
    border-color: #e35486;

    color: #e35486;

    background: #fff4f7;
}

/* ================= PASSWORD HINT ================= */
.password-hint {
    font-size: 10px;

    color: #777777;

    margin-top: -7px;

    margin-bottom: 17px;
}

/* ================= MOBILE ================= */
@media (max-width: 750px) {
    .auth-container {
        grid-template-columns: 1fr;

        max-width: 450px;

        margin: 25px auto;
    }

    .auth-welcome {
        padding: 35px 30px;

        text-align: center;

        align-items: center;
    }

    .auth-welcome h2 {
        font-size: 23px;
    }

    .auth-welcome>p {
        max-width: 350px;
    }

    .auth-features {
        width: 100%;

        max-width: 330px;

        text-align: left;
    }

    .auth-box {
        padding: 35px 30px;
    }
}

@media (max-width: 480px) {
    .auth-container {
        width: calc(100% - 25px);

        margin: 20px auto;

        border-radius: 12px;
    }

    .auth-welcome {
        padding: 28px 22px;
    }

    .auth-welcome h2 {
        font-size: 20px;
    }

    .auth-welcome>p {
        font-size: 12px;
    }

    .auth-box {
        padding: 30px 22px;
    }

    .auth-heading h1 {
        font-size: 22px;
    }
}

