
/* auth section */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    box-sizing: border-box;
    /* font-family: "poppins"; */
    font-family: "Tajawal", sans-serif;
    background: var(--background);
    color: var(--color);
    /* letter-spacing: 1px; */
    transition: background 0.2s ease;
    -webkit-transition: background 0.2s ease;
    -moz-transition: background 0.2s ease;
    -ms-transition: background 0.2s ease;
    -o-transition: background 0.2s ease;
}

a {
    text-decoration: none;
    color: var(--color);
}

h1 {
    font-size: 2.5rem;
}

.auth_section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 150px;
    margin-bottom: 100px;
    /* height: 100vh; */
}

.login-container {
    position: relative;
    /* width: 22.2rem; */
    width: 30.2rem;
}
.form-container {
    border: 1px solid hsla(0, 0%, 65%, 0.158);
    box-shadow: 0 0 36px 1px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(20px);
    z-index: 99;
    padding: 2rem;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.login-container form input {
    display: block;
    padding: 14.5px;
    width: 100%;
    /* margin: 2rem 0; */
    color: var(--color);
    outline: none;
    background-color: #9191911f;
    border: none;
    border-radius: 5px !important;
    font-weight: 500;
    /* letter-spacing: 0.8px; */
    font-size: 15px;
    backdrop-filter: blur(15px);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.login-container form input:focus {
    box-shadow: 0 0 16px 1px rgba(0, 0, 0, 0.2);
    animation: wobble 0.3s ease-in;
    -webkit-animation: wobble 0.3s ease-in;
}

.login-container form button {
    background-color: #198754;
    color: #fff;
    display: block;
    padding: 13px;
    border-radius: 5px;
    outline: none;
    font-size: 16px;
    /* letter-spacing: 1.5px; */
    font-weight: bold;
    width: 100%;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: all 0.1s ease-in-out;
    border: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
}

.login-container form button:hover,
.login-container form button:active {
    background-color: #16774a;
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
    -webkit-transform: scale(1.02);
    -moz-transform: scale(1.02);
    -ms-transform: scale(1.02);
    -o-transform: scale(1.02);
}

.circle {
    width: 8rem;
    height: 8rem;
    background: #66C87B;
    background: #66c87b3b;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    position: absolute;
}

.illustration {
    /* position: absolute;
    top: -14%;
    right: -2px;
    width: 90%; */
    position: absolute;
    top: -34%;
    right: -95px;
    width: 100%;
    transform: rotate(14deg);
}

.signup_section .illustration{top: -24%;}

/* File Upload Styling */
.signup_company_section .illustration{top: -12%;}
.signup_company_section .login-section .illustration{top:-27%}

.signup_section .file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.signup_section .file-input {
    position: absolute;
    /* left: -9999px; */
    opacity: 0;
}

.signup_section .file-input-label {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background: rgb(242 242 242);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    font-size: 15px;
    font-weight: 500;
}

.signup_section .file-input-label:hover {
    transform: translateY(-2px);
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
}

.signup_section .file-names {
    display: block;
    margin-top: 5px;
    font-size: 0.875rem;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toggle-password {
    position: absolute;
    top: 16px;
    left: 13px;
    color: #7e8388;
    cursor: pointer;
}

.circle-one {
    top: 0;
    left: 0;
    z-index: -1;
    transform: translate(-45%, -45%);
    -webkit-transform: translate(-45%, -45%);
    -moz-transform: translate(-45%, -45%);
    -ms-transform: translate(-45%, -45%);
    -o-transform: translate(-45%, -45%);
}

.circle-two {
    bottom: 0;
    right: 0;
    z-index: -1;
    transform: translate(45%, 45%);
    -webkit-transform: translate(45%, 45%);
    -moz-transform: translate(45%, 45%);
    -ms-transform: translate(45%, 45%);
    -o-transform: translate(45%, 45%);
}

.register-forget {
    margin: 1rem 0;
    display: flex;
    justify-content: space-between;
}
.opacity {
    opacity: 0.6;
}

.theme-btn-container {
    position: absolute;
    left: 0;
    bottom: 2rem;
}

.theme-btn {
    cursor: pointer;
    transition: all 0.3s ease-in;
}

.theme-btn:hover {
    width: 40px !important;
}

@keyframes wobble {
    0% {
        transform: scale(1.025);
        -webkit-transform: scale(1.025);
        -moz-transform: scale(1.025);
        -ms-transform: scale(1.025);
        -o-transform: scale(1.025);
    }
    25% {
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
    }
    75% {
        transform: scale(1.025);
        -webkit-transform: scale(1.025);
        -moz-transform: scale(1.025);
        -ms-transform: scale(1.025);
        -o-transform: scale(1.025);
    }
    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
    }
}
/* #otp-resend:disabled, { */
#otp-resend:disabled, #otp-resend.disabled, fieldset:disabled #otp-resend{
    background-color: #66C87B !important;
    color: #fff;
    font-size: 14px;
}
#phone.is-invalid{background-position: right calc(.375em + .1875rem) center;}

@media (max-width: 992px) {
    .login-container {
        width: 22.2rem;
    }
    .illustration {
        top: -20% !important;
        right: -70px;
    }

    .signup_company_section .illustration{
        top: -71px !important;
    }
}

@media (max-width: 360px) {
    .opacity{font-size: 18px;}
    #country_code{
        max-width: 60px !important;
        padding: 0;
        text-align: center;
    }
    .illustration {
        top: -20% !important;
        right: -50px;
    }
    .signup_section .illustration{
        top: -65px !important;
        right: -60px;
    }
    .signup_company_section .illustration{
        top: -60px !important;
        right: -60px;
    }

}
