.login-wrapper h1{
    font-size: var(--font-36);
    line-height: normal;
    margin-bottom: 20px;
    color: var(--h-color);
    font-weight: 700;
}

.login-wrapper .discription {
    margin-bottom: 30px;
}

.login-wrapper .discription p {
    color: var(--text-color);
    font-size: var(--font-regular);
    line-height: 1.6;
    margin-bottom: 0;
}

.login-img {
    margin-top: 60px;
    text-align: center;
}

.login-img img {
    max-width: 100%;
    height: auto;
}

.login-form {
    padding: 62px 30px;
    background-color: var(--light-gray);
    border-radius: 30px;
    margin-left: auto;
    max-width: 551px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.login-form h2{
    font-size: var(--font-32);
    text-align: center;
    margin-bottom: 10px;
    line-height: 44px;
    color: var(--h-color);
    font-weight: 700;
}
.login-form .discription{
    max-width: 363px;
    margin: auto;
    margin-bottom: 20px;
}
.login-form .discription p{
    text-align: center;
    color: var(--typo-secondary);
    font-size: var(--font-small);
    line-height: 1.5;
    margin-bottom: 0;
}

.form-wrap{
    margin-top: 30px;
}

.form-wrap .mb-20 {
    margin-bottom: 20px;
}

.form-wrap label{
    font-size: var(--font-small);
    line-height: normal;
    font-weight: 600;
    margin-bottom: 4px;
}

.input-icon {
    position: relative;
}

.input-icon .icon{
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    z-index: 5;
}

.input-icon input{
    font-size: var(--font-small);
    min-height: 40px;
    background-color: var(--color-white);
    padding-left: 34px;
    border: 1px solid var(--color-white);
    border-radius: 8px;
    width: 100%;
    transition: all 0.3s ease;
}

.input-icon input::placeholder{
    font-weight: 300 !important;
    color: var(--typo-secondary);
    opacity: 0.6;
}

.input-icon input:focus{
    box-shadow: none;
    border-color: var(--color-primary);
}

/* Add styles for validation states */
.input-icon input.is-invalid{
    border-color: var(--red-color);
}

.input-icon input.is-invalid:focus{
    border-color: var(--red-color);
    box-shadow: 0 0 0 0.2rem rgba(241, 9, 9, 0.25);
}

.alert.alert-danger {
    background-color: rgba(241, 9, 9, 0.1);
    border: 1px solid var(--red-color);
    color: var(--red-color);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: var(--font-small);
}

.flex-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-wrap .custom-btn{
    margin-top: 30px;
    width: 100% !important;
    min-height: 48px;
    font-weight: 600;
    font-size: var(--font-small);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-wrap .custom-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-wrap .custom-btn:not(:disabled):hover {
    transform: translateY(-2px);
}

.form-switch input {
    padding: 9px;
    width: 35px !important;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6C4.65685 6 6 4.65685 6 3C6 1.34315 4.65685 0 3 0C1.34315 0 0 1.34315 0 3C0 4.65685 1.34315 6 3 6Z' fill='%23EF7310'/%3E%3C/svg%3E%0A") !important;
    background-position: 3px 2px !important;
    background-size: 14px;
    box-shadow: none !important;
}

.form-switch label{
    font-weight: 400 !important;
    margin-left: 10px;
    font-size: var(--font-xs);
    cursor: pointer;
}

.form-check-input:checked{
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6C4.65685 6 6 4.65685 6 3C6 1.34315 4.65685 0 3 0C1.34315 0 0 1.34315 0 3C0 4.65685 1.34315 6 3 6Z' fill='white'/%3E%3C/svg%3E%0A") !important;
    background-position: 16px 2px !important;
}

.form-check-input:focus{
    border-color: var(--color-primary);
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6C4.65685 6 6 4.65685 6 3C6 1.34315 4.65685 0 3 0C1.34315 0 0 1.34315 0 3C0 4.65685 1.34315 6 3 6Z' fill='%23FFEFEC'/%3E%3C/svg%3E%0A");
}

.form-sub-box{
    max-width: 270px;
    margin: 20px auto 0;
}

.form-sub-box p{
    font-size: var(--font-small);
    text-align: center;
    color: var(--typo-secondary);
    margin-bottom: 24px;
    line-height: 1.4;
}

.form-sub-box p a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.form-sub-box p a:hover {
    color: var(--typo-primary);
    text-decoration: underline;
}

.line{
    position: relative;
    max-width: 206px;
    margin: auto;
    text-align: center;
    margin-bottom: 0;
}

.line::before{
    content: '';
    position: absolute;
    top: 12px;
    left: 0;
    background-color: var(--border-color);
    height: 1px;
    width: 100%;
}

.line span{
    width: 100%;
    position: relative;
    z-index: 9;
    background-color: var(--light-gray);
    padding: 0 10px;
    text-align: center;
    font-size: var(--font-xs);
    color: var(--typo-secondary);
    font-weight: 500;
}

.social-media-account {
    margin-top: 22px;
}

.social-media-account ul{
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-media-account ul li a{
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    border-radius: 50px;
    transition: all .4s ease-in-out;
}

.social-media-account ul li a:hover{
    transform: translate(0, -5px);
}

/* Add styles for button elements to match the Next.js implementation */
.social-media-account ul li button{
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    border-radius: 50px;
    transition: all .4s ease-in-out;
    border: none;
    padding: 0;
    cursor: pointer;
}

.social-media-account ul li button:hover{
    transform: translate(0, -5px);
}

.social-media-account ul li button img {
    max-width: 24px;
    max-height: 24px;
}

.forgot-link{
    color: var(--typo-secondary);
    font-weight: 700;
    font-size: var(--font-xs);
    text-decoration: none;
    transition: all 0.3s ease;
}

.forgot-link:hover{
    color: var(--color-primary);
    text-decoration: underline;
}

.password-show-hide .icon {
    left: auto;
    right: 8px;
    cursor: pointer;
    width: auto;
    height: auto;
}

@media(max-width:1199px){
    .form-wrap .mb-20 {
        margin-bottom: 20px;
    }
}

@media(max-width:1024px){
    .login-wrapper h1 {
        font-size: var(--font-24);
        margin-bottom: 20px;
    }
    .login-form {
        padding: 40px 20px;
        border-radius: 20px;
        max-width: 500px;
    }
    .login-form h2 {
        font-size: var(--font-22);
        line-height: 32px;
    }
    .form-sub-box p {
        margin-bottom: 15px;
    }
    .social-media-account ul li a,
    .social-media-account ul li button {
        width: 40px;
        height: 40px;
    }
    .social-media-account ul li a img,
    .social-media-account ul li button img {
        max-width: 24px;
        max-height: 24px;
    }
    .form-wrap .custom-btn {
        margin-top: 20px;
    }
    .social-media-account {
        margin-top: 15px;
    }
    .login-img {
        margin-top: 40px;
    }
}

@media(max-width:991px){
    .login-form .form-wrap {
        padding: 0;
    }
    .login-wrapper .row {
        flex-direction: column;
    }
    .login-wrapper .col-md-6:first-child {
        margin-bottom: 30px;
    }
}
@media(max-width:767px){
    .login-img{
        display: none;
    }
    .login-form {
        margin-top: 30px;
        max-width: 100%;
        padding: 40px 20px;
    }
    .login-wrapper h1 {
        font-size: var(--font-24);
        margin-bottom: 15px;
    }
    .login-form h2 {
        font-size: var(--font-20);
        line-height: 28px;
    }
    .form-wrap .custom-btn {
        margin-top: 20px;
    }
    .social-media-account ul li a,
    .social-media-account ul li button {
        width: 50px;
        height: 50px;
    }
    .social-media-account ul li a img,
    .social-media-account ul li button img {
        max-width: 20px;
        max-height: 20px;
    }
}

@media(max-width:480px){
    .login-form {
        padding: 30px 15px;
        border-radius: 15px;
    }
    .login-wrapper h1 {
        font-size: var(--font-20);
    }
    .login-form h2 {
        font-size: var(--font-18);
    }
    .flex-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

.form-check {
    margin-bottom: 0;
}

.form-check-input {
    margin-top: 0;
    margin-right: 8px;
}

.form-check-label {
    margin-bottom: 0;
    cursor: pointer;
    user-select: none;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--color-white);
}

.login-wrapper .container {
    max-width: 1200px;
}

.login-wrapper .row {
    align-items: center;
}