/*==========================================
LOGIN PAGE
(all classes prefixed "login-page-" so nothing
here collides with shop.css, wishlist.css,
cart.css, checkout.css, contact.css, account.css
or featured-products.css)
==========================================*/

.login-page-section {

    padding: 60px 70px 90px;

    background: url("../images/login.png") no-repeat;

    background-size: 100% 100%;

}

/*==========================================
LAYOUT
==========================================*/

.login-page-layout {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;

    margin-bottom: 50px;

}

/*==========================================
LEFT: WELCOME
==========================================*/

.login-page-welcome {

    padding-right: 20px;

}

.login-page-welcome-title {

    margin: 0;

    font-size: 40px;

    font-weight: 700;

    font-family: "Cinzel", serif;

    color: #241b3f;

}

.login-page-welcome-divider {

    display: block;

    width: 90px;

    height: 3px;

    background: #d8a128;

    margin: 18px 0 20px;

    position: relative;

}

.login-page-welcome-divider::after {

    content: "\2726";

    position: absolute;

    left: 40px;

    top: -9px;

    color: #d8a128;

    font-size: 14px;

    background: #fff;

    padding: 0 4px;

}

.login-page-welcome-text {

    margin: 0 0 30px;

    font-size: 15px;

    line-height: 1.8;

    color: #666;

}

.login-page-welcome-img {

    width: 100%;

    max-width: 500px;

    border-radius: 18px;

    overflow: hidden;

    margin-bottom: 24px;

}

.login-page-welcome-img img {

    width: 100%;

    height: auto;

    display: block;

    object-fit: cover;

}

.login-page-privacy-note {

    display: flex;

    align-items: center;

    gap: 14px;

    background: #fff;

    border: 1px solid #eee;

    border-radius: 14px;

    padding: 14px 18px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .05);

    max-width: 380px;

}

.login-page-privacy-icon {

    flex: none;

    width: 38px;

    height: 38px;

    border-radius: 50%;

    background: #ece9f7;

    color: #241b3f;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 14px;

}

.login-page-privacy-note p {

    margin: 0;

    font-size: 13px;

    color: #444;

    font-weight: 600;

    line-height: 1.5;

}

/*==========================================
RIGHT: LOGIN FORM
==========================================*/

.login-page-form-wrap {

    background: #fff;

    border: 1px solid #eee;

    border-radius: 20px;

    padding: 45px 45px;

    box-shadow: 0 20px 50px rgba(0, 0, 0, .06);

}

.login-page-form-title {

    margin: 0;

    text-align: center;

    font-size: 24px;

    font-weight: 700;

    font-family: "Cinzel", serif;

    color: #241b3f;

}

.login-page-form-divider {

    display: block;

    width: 60px;

    height: 3px;

    background: #d8a128;

    margin: 14px auto 30px;

}

.login-page-field {

    display: flex;

    flex-direction: column;

    margin-bottom: 20px;

}

.login-page-field label {

    font-size: 13.5px;

    font-weight: 600;

    color: #241b3f;

    margin-bottom: 8px;

}

.login-page-req {

    color: #e0435a;

}

.login-page-input-wrap {

    display: flex;

    align-items: center;

    gap: 10px;

    height: 52px;

    padding: 0 16px;

    border: 1px solid #e2e2e2;

    border-radius: 10px;

    background: #fff;

    transition: .3s;

}

.login-page-input-wrap:focus-within {

    border-color: #d8a128;

    box-shadow: 0 0 0 3px rgba(216, 161, 40, .12);

}

.login-page-input-wrap i {

    color: #999;

    font-size: 14px;

    flex: none;

}

.login-page-input-wrap input {

    border: none;

    outline: none;

    background: transparent;

    width: 100%;

    height: 100%;

    font-size: 14px;

    color: #222;

    font-family: inherit;

}

.login-page-toggle-pass {

    flex: none;

    border: none;

    background: none;

    color: #999;

    cursor: pointer;

    font-size: 14px;

    padding: 4px;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: .3s;

}

.login-page-toggle-pass:hover {

    color: #241b3f;

}

.login-page-invalid {

    border-color: #e0435a !important;

    box-shadow: 0 0 0 3px rgba(224, 67, 90, .1) !important;

}

.login-page-error-msg {

    display: block;

    min-height: 16px;

    font-size: 12px;

    color: #e0435a;

    margin-top: 6px;

}

/*============================*/

.login-page-form-meta {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 26px;

}

.login-page-remember {

    display: flex;

    align-items: center;

    gap: 9px;

    font-size: 13.5px;

    color: #444;

    cursor: pointer;

    user-select: none;

}

.login-page-remember input {

    display: none;

}

.login-page-checkbox {

    width: 18px;

    height: 18px;

    border-radius: 5px;

    border: 1.5px solid #ccc;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: .25s;

    flex: none;

    position: relative;

}

.login-page-remember input:checked+.login-page-checkbox {

    background: #241b3f;

    border-color: #241b3f;

}

.login-page-remember input:checked+.login-page-checkbox::after {

    content: "\f00c";

    font-family: "Font Awesome 6 Free";

    font-weight: 900;

    font-size: 10px;

    color: #fff;

}

.login-page-forgot-link {

    font-size: 13.5px;

    font-weight: 600;

    color: #2b6fd8;

    text-decoration: none;

}

.login-page-forgot-link:hover {

    text-decoration: underline;

}

/*============================*/

.login-page-submit-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    width: 100%;

    height: 54px;

    border: none;

    border-radius: 10px;

    background: #d8a128;

    color: #fff;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition: .3s;

}

.login-page-submit-btn:hover {

    background: #be8c13;

}

.login-page-submit-btn:disabled {

    opacity: .8;

    cursor: not-allowed;

}

/*============================*/

.login-page-divider-row {

    display: flex;

    align-items: center;

    gap: 14px;

    margin: 26px 0;

}

.login-page-divider-row span {

    flex: 1;

    height: 1px;

    background: #eee;

}

.login-page-divider-row p {

    margin: 0;

    font-size: 12.5px;

    color: #999;

    white-space: nowrap;

}

/*============================*/

.login-page-social-row {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    margin-bottom: 26px;

}

.login-page-social-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    height: 48px;

    border: 1px solid #e2e2e2;

    border-radius: 10px;

    background: #fff;

    color: #333;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;

    transition: .3s;

}

.login-page-social-btn:hover {

    border-color: #241b3f;

    box-shadow: 0 8px 18px rgba(0, 0, 0, .06);

    transform: translateY(-2px);

}

.login-page-social-btn i {

    font-size: 16px;

}

.login-page-social-btn i.fa-google {

    color: #ea4335;

}

.login-page-social-btn i.fa-facebook {

    color: #1877f2;

}

.login-page-social-btn i.fa-apple {

    color: #111;

}

/*============================*/

.login-page-signup-note {

    margin: 0;

    text-align: center;

    font-size: 13.5px;

    color: #666;

}

.login-page-signup-note a {

    color: #d8a128;

    font-weight: 700;

    text-decoration: none;

}

.login-page-signup-note a:hover {

    text-decoration: underline;

}

/*==========================================
FEATURES STRIP
==========================================*/

.login-page-features {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;

    padding: 26px;

    background: #f8f6fc;

    border-radius: 18px;

}

.login-page-feature-item {

    display: flex;

    align-items: center;

    gap: 16px;

}

.login-page-feature-icon {

    flex: none;

    width: 52px;

    height: 52px;

    border-radius: 50%;

    background: #ece9f7;

    color: #241b3f;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 20px;

}

.login-page-feature-text h4 {

    margin: 0 0 4px;

    font-size: 14.5px;

    font-weight: 700;

    color: #222;

}

.login-page-feature-text p {

    margin: 0;

    font-size: 12.5px;

    color: #888;

    line-height: 1.5;

}

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

@media(max-width: 1200px) {

    .login-page-layout {

        grid-template-columns: 1fr;

        gap: 40px;

    }

    .login-page-welcome {

        padding-right: 0;

        text-align: center;

    }

    .login-page-welcome-divider {

        margin-left: auto;

        margin-right: auto;

    }

    .login-page-welcome-img,
    .login-page-privacy-note {

        margin-left: auto;

        margin-right: auto;

    }

    .login-page-features {

        grid-template-columns: repeat(2, 1fr);

    }

}

@media(max-width: 768px) {

    .login-page-section {

        padding: 40px 20px 60px;

    }

    .login-page-form-wrap {

        padding: 30px 24px;

    }

    .login-page-social-row {

        grid-template-columns: 1fr;

    }

    .login-page-form-meta {

        flex-direction: column;

        align-items: flex-start;

        gap: 12px;

    }

}

@media(max-width: 576px) {

    .login-page-features {

        grid-template-columns: 1fr;

    }
}




/*==========================================
PREMIUM LOGIN PAGE ANIMATIONS
==========================================*/

/* Floating Background */

.login-page-section {
    position: relative;
    overflow: hidden;
}

.login-page-section::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    top: -150px;
    left: -150px;
    border-radius: 50%;
    background: rgba(216, 161, 40, .08);
    animation: loginFloat 8s ease-in-out infinite;
}

.login-page-section::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    right: -100px;
    bottom: -100px;
    border-radius: 50%;
    background: rgba(36, 27, 63, .05);
    animation: loginFloat 10s ease-in-out infinite reverse;
}

@keyframes loginFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-25px);
    }
}

/* Welcome Image */

.login-page-welcome-img {
    transition: .7s;
    overflow: hidden;
}

.login-page-welcome-img img {
    transition: .8s;
}

.login-page-welcome-img:hover img {
    transform: scale(1.08);
}

/* Form Card */

.login-page-form-wrap {
    position: relative;
    overflow: hidden;
    transition: .45s cubic-bezier(.22, .61, .36, 1);
}

.login-page-form-wrap:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .12);
}

/* Shine */

.login-page-form-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, .5),
            transparent);
    transform: skewX(-25deg);
    transition: .9s;
}

.login-page-form-wrap:hover::before {
    left: 130%;
}

/* Inputs */

.login-page-input-wrap {
    transition: .35s;
}

.login-page-input-wrap:hover {
    border-color: #d8a128;
    transform: translateY(-2px);
}

/* Login Button */

.login-page-submit-btn {
    position: relative;
    overflow: hidden;
}

.login-page-submit-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 45%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, .45),
            transparent);
    transform: skewX(-20deg);
    transition: .8s;
}

.login-page-submit-btn:hover::before {
    left: 130%;
}

.login-page-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(216, 161, 40, .35);
}

/* Social Buttons */

.login-page-social-btn {
    transition: .35s;
}

.login-page-social-btn:hover {
    transform: translateY(-4px) scale(1.04);
}

/* Privacy Card */

.login-page-privacy-note {
    transition: .35s;
}

.login-page-privacy-note:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .08);
}

/* Features */

.login-page-feature-item {
    transition: .35s;
}

.login-page-feature-item:hover {
    transform: translateY(-8px);
}

.login-page-feature-icon {
    transition: .45s;
}

.login-page-feature-item:hover .login-page-feature-icon {
    transform: rotateY(360deg);
    background: #d8a128;
    color: #fff;
}

/* Page Load */

.login-page-welcome,
.login-page-form-wrap {
    opacity: 0;
    animation: loginFade .8s forwards;
}

.login-page-welcome {
    animation-delay: .2s;
}

.login-page-form-wrap {
    animation-delay: .5s;
}

@keyframes loginFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}