/* =========================================
   MAIN WRAPPER
========================================= */

.auth-wrapper{
    position: relative;
    background: #fff;
    min-height: 620px;
    overflow: hidden;
   
}

/* =========================================
   LEFT SIDE
========================================= */

.auth-left{
    background: linear-gradient(
        145deg,
        var(--color-primary),var(--color-primary-dark)

    );

    position: relative;
    overflow: hidden;

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

    min-height: 620px;
    padding: 60px;
}

/* circles */

.auth-left::before{
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    top: -120px;
    left: -120px;
}

.auth-left::after{
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    bottom: -80px;
    right: -80px;
}

.auth-left-content{
    position: relative;
    z-index: 2;
    width: 100%;
}

.auth-left-content h2{
    color: #fff;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 24px;
}

.auth-left-content p{
    color: rgba(255,255,255,0.82);
    font-size: 17px;
    line-height: 1.8;
    margin: 0;
}

/* =========================================
   RIGHT SIDE
========================================= */

.auth-right{
    padding: 60px 50px;
    background: #fff;
    min-height: 620px;

    display: flex;
    align-items: center;
}

.auth-section{
    width: 100%;
}

.auth-title{
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 35px;
}

/* =========================================
   FORM GROUP
========================================= */

.auth-wrapper .form-group{
    position: relative;
    margin-bottom: 24px;
}

.auth-wrapper .form-control{
    width: 100%;
    height: 58px;

    border: 1px solid #d1d5db;
    border-radius: 14px;

    padding: 20px 16px 8px;

    font-size: 15px;

    background: #fff;

    transition: all 0.25s ease;
}

.auth-wrapper .form-control:focus{
    border-color: var(--color-primary);
    box-shadow: none;
}

/* =========================================
   FLOATING LABEL
========================================= */

.auth-wrapper .form-group label{
    position: absolute;

    top: 17px;
    left: 16px;

    font-size: 15px;
    color: #6b7280;

    pointer-events: none;

    transition: all 0.2s ease;

    background: #fff;
    padding: 0 4px;
}

/* important fix */

.auth-wrapper .form-control:focus + label,
.auth-wrapper .form-control:not(:placeholder-shown) + label,
.auth-wrapper .form-control:valid + label{
    top: -8px;
    left: 12px;

    font-size: 12px;
    color: var(--color-primary);
}

/* =========================================
   BUTTON
========================================= */

.auth-btn{
    width: 100%;
    height: 54px;

    border: none;
    border-radius: 14px;

    background: var(--color-primary);
    color: #fff;

    font-size: 15px;
    font-weight: 600;

    transition: all 0.25s ease;
}

.auth-btn:hover{
    background:var(--color-secondary);
    transform: translateY(-1px);
    color: #fff;
}

/* =========================================
   LINKS
========================================= */

.auth-link{
    color: var(--color-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.auth-link:hover{
    text-decoration: underline;
}

/* =========================================
   CLOSE BUTTON
========================================= */

.btn-close-custom{
    position: absolute;

    top: 18px;
    right: 18px;

    width: 38px;
    height: 38px;

    border: none;
    border-radius: 50%;

    background: #f3f4f6;
    color: #111827;

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

    z-index: 20;

    font-size: 14px;

    transition: all 0.25s ease;
}

.btn-close-custom:hover{
    background: var(--color-primary);
    color: #fff;
}

/* =========================================
   INVALID
========================================= */

.invalid-feedback{
    font-size: 13px;
    margin-top: 6px;
}

.form-control.is-invalid{
    border-color: #dc3545;
}

/* =========================================
   MOBILE
========================================= */

@media(max-width:991px){

    .auth-right{
        padding: 40px 30px;
        min-height: auto;
    }

    .auth-wrapper{
        min-height: auto;
    }

    .auth-title{
        font-size: 28px;
    }
}

@media(max-width:576px){

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

    .auth-title{
        font-size: 24px;
    }

    .form-control{
        height: 54px;
    }
}