/* load font */
@font-face {
    font-family: "Codec Pro", Helvetica, "sans-serif";
    src: url(../../../../../public/dashboard_assets/CodecPro-Regular.ttf);
    font-weight: normal;
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 300;
    src: url(../../../../fonts/Poppins/Poppins-Light.ttf) format("truetype");
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    src: url(../../../../fonts/Poppins/Poppins-Regular.ttf) format("truetype");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    src: url(../../../../fonts/Poppins/Poppins-Medium.ttf) format("truetype");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    src: url(../../../../fonts/Poppins/Poppins-SemiBold.ttf) format("truetype");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    src: url(../../../../fonts/Poppins/Poppins-Bold.ttf) format("truetype");
}

/* Cairo Font */

@font-face {
    font-family: "Cairo";
    font-style: normal;
    font-weight: 400;
    src: url(../../../../fonts/Cairo/Cairo-Regular.ttf) format("truetype");
}

@font-face {
    font-family: "Cairo";
    font-style: normal;
    font-weight: 700;
    src: url(../../../../fonts/Cairo/Cairo-Bold.ttf) format("truetype");
}

* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    text-decoration: none;
}
body {
    font-family: "Codec Pro", Poppins, cairo, serif !important;
    background: var(--body-bg);
}
.auth_wrapper {
    width: 100%;
    min-height: 100vh;
    height: 100%;
    display: flex;
    background-color: white;
    flex: 1 0 auto;
    flex-direction: column !important;
}

.auth_wrapper .content_section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.auth_wrapper .content_section .login-form {
    width: 80%;
    margin: 20px auto;
}
.d-flex {
    display: flex;
}

.auth_wrapper .login-aside {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color:  #00979e21;
    flex: 0 0 auto;
}

/* start  */

.flex-column {
    flex-direction: column !important;
}

.bg-white {
    background-color: #fff !important;
}
.text-primary {
    color: var(--primary) !important;
}
.font-size-h6 {
    font-size: 1rem !important;
}
.pt-5,
.py-5 {
    padding-top: 1.25rem !important;
}
.mx-auto {
    margin: auto !important;
}
.p-7 {
    padding: 1.75rem !important;
}
.overflow-hidden {
    overflow: hidden !important;
}
.display4 {
    font-size: 2.5rem !important;
}
.mb-1,
.my-1 {
    margin-bottom: 0.25rem !important;
}
.pb-5 {
    padding-bottom: 1.25rem !important;
}
.font-size-h2 {
    font-size: 1.75rem !important;
}

.btn.btn-default {
    color: #b5b5c3;
    background-color: #f3f6f9;
    border-color: #f3f6f9;
}
.btn.btn-default:hover:not(.btn-text):not(:disabled):not(.disabled) {
    color: var(--primary);
    background-color: #f3f6f9;
    border-color: #f3f6f9;
}
.text-dark {
    color: #181c32 !important;
}
.font-weight-bolder {
    font-weight: 600 !important;
}
h3 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}
.form-group {
    margin-bottom: 1.75rem;
}

label {
    display: inline-block;
    margin-bottom: 0.5rem;
}
.pb-7,
.py-7 {
    padding-bottom: 1.75rem !important;
}
.h-auto {
    height: auto !important;
}
.pl-6,
.px-6 {
    padding-right: 1.5rem !important;
}
.rounded-lg {
    border-radius: 0.85rem !important;
}
.border-0 {
    border: 0 !important;
}
.form-control {
    display: block;
    width: 100%;
    height: 60px;
    padding: 5px 10px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #3f4254;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #e4e6ef;
    border-radius: 0.42rem;
    box-shadow: none;
}

.form-control.form-control-solid {
    background-color: #f3f6f9;
    border-color: #f3f6f9;
}

.form-control.form-control-solid.active,
.form-control.form-control-solid.focus,
.form-control.form-control-solid:active,
.form-control.form-control-solid:focus {
    background-color: #ebedf3;
    border-color: #ebedf3;
    color: #3f4254;
    border: none;
    outline: none;
}
.form-group .invalid-feedback,
.form-group .valid-feedback {
    font-size: 0.9rem;
    font-weight: 400;
}
.mt-10,
.my-10 {
    margin-top: 2.5rem !important;
}
.justify-content-between {
    justify-content: space-between !important;
}

.pb-4,
.py-4 {
    padding-bottom: 1rem !important;
}
.mb-3,
.my-3 {
    margin-bottom: 0.75rem !important;
}
.mr-3,
.mx-3 {
    margin-left: 0.75rem !important;
}
input {
    overflow: visible;
}
.invalid-feedback {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.9rem;
    color: #f64e60;
}
.btn.btn-primary {
    color: #ffffff;
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.btn {
    display: inline-block;
    font-weight: normal;
    color: #3f4254;
    font-family: "Codec Pro", Poppins, cairo, serif !important;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.65rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.42rem;
}
.opacity-70 {
    opacity: 0.7 !important;
}
.text-center {
    text-align: center !important;
}
.form-group .valid-feedback {
    font-size: 0.8rem;
    margin-top: 0.25rem;
    padding-right: 0;
    display: block;
    color: #1bc5bd;
    font-weight: 400;
}

.mb-20 {
    margin-bottom: 2.5rem;
}

@media only screen and (max-width: 992px) {
    .login-aside {
        padding-top: 100px;
        padding-bottom: 50px;
    }
}
@media only screen and (min-width: 992px) {
    .auth_wrapper {
        flex-direction: row !important;
    }
    .auth_wrapper .content_section .login-form {
        width: 60%;
        margin: 20px auto;
    }
    .login-aside {
        width: 100%;
        max-width: 700px;
    }
    .login-aside img {
        height: 120px !important;
        width: auto;
    }

    .pb-lg-15,
    .py-lg-15 {
        padding-bottom: 1.75rem !important;
    }
    .font-size-h1-lg {
        font-size: 1.5rem !important;
    }
    .pb-lg-0,
    .py-lg-0 {
        padding-bottom: 0 !important;
    }
}
@media only screen and (min-width: 992px) and (max-width: 1399.98px) {
    .login-aside {
        width: 100%;
        max-width: 450px;
    }
}

@media only screen and (min-width: 768px) {
    .font-size-h2-md {
        font-size: 1.75rem !important;
    }
}

@media (max-width: 575.98px) {
    .aside-img {
        min-height: 300px !important;
        background-size: 400px;
    }
}

/* handle spinner  */

.spinner {
    display: block;
    height: 30px;
    width: 30px;
}
.spinner.spinner-white {
    border-top-color: white;
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
    padding-left: calc(1.5em + 1.3rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23F64E60' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23F64E60' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left calc(0.375em + 0.325rem) center;
    background-size: calc(0.75em + 0.65rem) calc(0.75em + 0.65rem);
}
