
#login-box {
    position: relative;
    margin: 0 auto;
    width: 100%;
    background: #FFF;
    display: flex;
    flex-wrap: wrap;
}

.left {
    position: relative;
    box-sizing: border-box;
    padding: 40px;
    padding-right: 80px;
    flex: 1 1 50%;
    min-width: 320px;
}

h1 {
    margin: 0 0 20px 0;
    font-weight: 300;
    font-size: 28px;
}

#login-box input[type="text"],
#login-box input[type="password"] {
    display: block;
    box-sizing: border-box;
    margin-bottom: 20px;
    padding: 4px;
    width: 100%;
    height: 32px;
    border: none;
    border-bottom: 1px solid #AAA;
    background-color: transparent;
    font-weight: 400;
    font-size: 15px;
    transition: 0.2s ease;
}

#login-box input[type="text"]:focus,
#login-box input[type="password"]:focus {
    color: #16a085;
    border-bottom: 2px solid #16a085;
    outline: none;
    box-shadow: none;
    transition: 0.2s ease;
}

input[type="submit"] , button.forgot{
    margin-top: 20px;
    width: 120px;
    height: 32px;
    background: #16a085;
    border: none;
    border-radius: 2px;
    color: #FFF;
    font-weight: 500;
    text-transform: uppercase;
    transition: 0.1s ease;
    cursor: pointer;
}

button.forgot{
    background-color: #DD4B39;
    margin-left: 30px;
}


input[type="submit"]:hover,
input[type="submit"]:focus, button.forgot:hover, button.forgot:focus {
    opacity: 0.8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    transition: 0.1s ease;
}

input[type="submit"]:active, button.forgot:active {
    opacity: 1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    transition: 0.1s ease;
}

.pdf-icon {
    position: absolute;
    top: 43px;
    right: 75px;
    width: 170px;
    font-size: 12px;
    /*background: #DDD;
    border-radius: 50%;*/
    line-height: 40px;
    margin: 0 auto;
    border: none;
    text-align: right;
}

.pdf-icon-mobile {
    position: absolute;
    top: 0px;
    right: 5px;
    width: 170px;
    font-size: 12px;
    line-height: 40px;
    text-align: right;
    margin: 0 auto;
    border: none;
}

.right {
    position: relative;
    box-sizing: border-box;
    padding: 40px;
    padding-left: 80px;
    flex: 1 1 50%;
    min-width: 320px;
    background-size: cover;
    background-position: center;
    border-radius: 0 2px 2px 0;
}

.right .loginwith {
    display: block;
    margin-bottom: 40px;
    font-size: 28px;
    color: #FFF;
    text-align: center;
}

.otp-modal {
    font-size: 1.1rem;
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.otp-modal.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.otp-modal__backdrop {
    position: absolute;
    inset: 0;
}

.otp-modal__dialog {
    position: relative;
    width: min(560px, 90vw);
    background: #fff;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.otp-modal__title {
    margin: 12px 0 8px;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
}

.otp-modal__subtitle {
    text-align: center;
    margin-bottom: 24px;
    color: #6f6f6f;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.otp-modal__subtitle .otp-modal__email {
    font-weight: 600;
    color: #444;
}

.otp-modal__change-email {
    border: none;
    background: transparent;
    color: #b88963;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.otp-modal__change-email:hover,
.otp-modal__change-email:focus {
    text-decoration: underline;
    outline: none;
}


.otp-modal__icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.otp-modal__icon-img {
    width: 70px;
    height: 70px;
    display: block;
}

.otp-modal__inputs {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

input[type="text"].otp-modal__digit {
    width: 64px;
    height: 78px;
    text-align: center;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 2px solid #d8c3b0;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"].otp-modal__digit:focus {
    border-color: #b88963;
    box-shadow: 0 0 0 3px rgba(184, 137, 99, 0.25);
    outline: none;
}

.otp-modal__error {
    min-height: 20px;
    text-align: center;
    color: #d03a3a;
    margin-bottom: 16px;
}

.otp-modal__ref {
    text-align: center;
    margin-bottom: 16px;
}

.otp-modal__confirm,
.otp-modal__resend,
.otp-modal__close-success {
    display: block;
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.otp-modal__confirm {
    background: #b88963;
    color: #fff;
    margin-bottom: 10px;
}

.otp-modal__confirm:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.otp-modal__confirm:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(184, 137, 99, 0.3);
}

.otp-modal__resend {
    background: transparent;
    color: #b88963;
}

.otp-modal__resend:disabled {
    color: #c9b6a5;
    cursor: not-allowed;
}

.otp-modal__success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 20px auto 10px;
    background: #dff5dd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: #28a745;
}

.otp-modal__success-icon::before {
    content: '\2714';
}

.otp-modal__step {
    display: none;
}

.otp-modal__step.is-active {
    display: block;
}

.otp-modal__close-success {
    background: #28a745;
    color: #fff;
    margin-top: 20px;
}

@media (max-width: 575.98px) {
    .otp-modal__dialog {
        padding: 28px 20px;
        border-radius: 14px;
    }

    .otp-modal__inputs {
        gap: 0.4rem;
    }

    input[type="text"].otp-modal__digit {
        width: 2.6rem;
        height: 60px;
        font-size: 22px;
    }
}

@media (max-width: 991.98px) {
    #login-box {
        display: block;
    }

    .left,
    .right {
        width: 100%;
        flex: 1 1 100%;
        min-width: 0;
        padding: 30px 20px;
    }

    .right {
        padding-top: 0;
    }
}

button.social-signin {
    margin-bottom: 20px;
    width: 220px;
    height: 36px;
    border: none;
    border-radius: 2px;
    color: #FFF;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    transition: 0.2s ease;
    cursor: pointer;
}

button.social-signin:hover,
button.social-signin:focus {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    transition: 0.2s ease;
}

button.social-signin:active {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    transition: 0.2s ease;
}

button.social-signin.facebook {
    background: #32508E;
}

button.social-signin.twitter {
    background: #55ACEE;
}

button.social-signin.google , a.social-signin.google{
    background: #DD4B39;
}
