
/* BIVACO AUTH LUXURY SHARED V1 */

/* Shared premium background */
.form-login-section.bivaco-auth-theme {
    min-height: 100vh !important;
    padding: 90px 20px 55px !important;
    box-sizing: border-box;
    position: relative;
    isolation: isolate;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F3F6F9 !important;
    background-image:
        radial-gradient(ellipse 48% 55% at 96% 4%,
            rgba(164,122,61,.10), transparent 75%),
        radial-gradient(ellipse 45% 60% at 1% 95%,
            rgba(74,120,158,.09), transparent 75%),
        linear-gradient(135deg,
            #FAFBFC 0%, #EDF2F6 55%, #F8F6F2 100%) !important;
}

/* Disable previous dark photo overlay */
.form-login-section.bivaco-auth-theme::before {
    content: none !important;
    display: none !important;
}

.form-login-section.bivaco-auth-theme::after {
    content: "";
    position: absolute;
    width: 440px;
    height: 440px;
    top: -250px;
    right: -170px;
    border-radius: 50%;
    border: 1px solid rgba(164,122,61,.12);
    box-shadow:
        0 0 0 42px rgba(164,122,61,.025),
        0 0 0 84px rgba(164,122,61,.018);
    pointer-events: none;
    z-index: 0;
}

.bivaco-auth-theme .ctnr,
.bivaco-auth-theme .content {
    position: relative;
    z-index: 1;
}

/* Login form */
.bivaco-auth-theme .form-login {
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    border: 1px solid #E4E8ED;
    border-radius: 20px !important;
    overflow: hidden;
    background: #FFF;
    box-shadow: 0 18px 48px rgba(25,43,62,.10);
}

.bivaco-auth-theme .form-login .info {
    background: #FFF !important;
    color: #24394A !important;
    border: 0 !important;
    border-radius: 20px !important;
    padding: 34px 38px 38px !important;
}

.bivaco-auth-theme .form-login .img-wrap {
    width: 170px;
    max-width: 100%;
    margin: 0 auto 16px;
}

.bivaco-auth-theme .form-login .img-wrap img {
    max-width: 100%;
    max-height: 80px;
    height: auto;
    object-fit: contain;
}

.bivaco-auth-theme .form-login .header-title {
    text-align: center;
    padding-bottom: 23px;
}

.bivaco-auth-theme .form-login .header-title h1 {
    color: #17334D;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.bivaco-auth-theme .form-login .header-title p {
    color: #74818C;
    font-size: 14px;
    line-height: 1.6;
}

.bivaco-auth-theme .form-login form {
    padding: 0 !important;
}

/* Form elements */
.bivaco-auth-theme .form-group {
    margin-bottom: 17px;
}

.bivaco-auth-theme .form-group label {
    color: #17334D;
    font-weight: 600;
}

.bivaco-auth-theme .input-with-icon {
    min-height: 51px;
    padding: 10px 14px;
    border: 1px solid #D9E1E8;
    border-radius: 10px;
    background: #FFF;
    transition: border-color .2s, box-shadow .2s;
}

.bivaco-auth-theme .input-with-icon:focus-within {
    border-color: #A47A3D;
    box-shadow: 0 0 0 3px rgba(164,122,61,.12);
}

.bivaco-auth-theme .input-with-icon input {
    min-width: 0;
    color: #24394A;
    font-size: 14px;
}

/* Shared button */
.bivaco-auth-theme .submit-btn {
    width: 100%;
    min-height: 52px;
    background: #A47A3D !important;
    border: 1px solid #A47A3D !important;
    color: #FFF !important;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 750;
    transition: background .2s, transform .2s;
}

.bivaco-auth-theme .submit-btn:hover {
    background: #87612B !important;
    border-color: #87612B !important;
    transform: translateY(-1px);
}

.bivaco-auth-theme .form-footer a,
.bivaco-auth-theme .forgot-password a {
    color: #A47A3D !important;
    font-weight: 700;
}

/* Back to home */
.bivaco-auth-theme .btn-back-home {
    position: absolute;
    z-index: 5;
    top: 18px;
    left: 20px;
    padding: 10px 16px;
    background: #A47A3D !important;
    color: #FFF !important;
    border-radius: 9px;
    text-decoration: none;
}

.bivaco-auth-theme .btn-back-home:hover {
    background: #87612B !important;
}

/* Forgot and reset password */
.bivaco-auth-theme .form-reset {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    max-width: 520px;
    margin: 0 auto;
    padding: 40px;
    box-sizing: border-box;
    border: 1px solid #E4E8ED;
    border-radius: 20px;
    background: #FFF;
    box-shadow: 0 18px 48px rgba(25,43,62,.10);
}

.bivaco-auth-theme .form-reset .header {
    background: transparent !important;
    border: 0 !important;
    text-align: center;
    margin-bottom: 28px;
}

.bivaco-auth-theme .form-reset .header h1 {
    color: #17334D !important;
    font-size: 27px;
    line-height: 1.3;
    font-weight: 800;
}

.bivaco-auth-theme .form-reset .header p {
    color: #74818C;
    line-height: 1.6;
}

.bivaco-auth-theme .form-reset .form-group input:not([type="hidden"]) {
    width: 100%;
    min-height: 50px;
    box-sizing: border-box;
    background: #FFF;
    border: 1px solid #D9E1E8;
    border-radius: 9px;
    padding: 10px 14px;
    color: #24394A;
}

.bivaco-auth-theme .form-reset .form-group input:focus {
    outline: none;
    border-color: #A47A3D;
    box-shadow: 0 0 0 3px rgba(164,122,61,.12);
}

.bivaco-auth-theme .form-reset .input-with-icon {
    padding: 0 12px;
}

.bivaco-auth-theme .form-reset .input-with-icon input {
    border: 0 !important;
    box-shadow: none !important;
    padding: 0;
    min-width: 0;
}

@media (max-width: 640px) {
    .form-login-section.bivaco-auth-theme {
        padding: 80px 14px 28px !important;
    }

    .bivaco-auth-theme .form-login .info,
    .bivaco-auth-theme .form-reset {
        padding: 27px 22px !important;
    }

    .bivaco-auth-theme .form-login .header-title h1,
    .bivaco-auth-theme .form-reset .header h1 {
        font-size: 24px;
    }

    .form-login-section.bivaco-auth-theme::after {
        display: none;
    }
}
