[data-bs-theme=light] {
    background-color: #e9f4ff;
}

[data-bs-theme=light] body {
    /* background: linear-gradient(to right bottom, #e9f4ff, #e3f4fc); */
    background: linear-gradient(to right bottom, #e9f4ff, #eff7fb);
}

nav.layout-navbar .navbar.landing-navbar {
    --bs-front-navbar-bg: rgba(var(--bs-paper-bg-rgb), .5);
    border: 2px solid var(--bs-front-navbar-border-color);
}

.section-py {
    padding-block-end: 2.5rem !important;
}

.first-section-pt {
    padding-block-start: 5rem;
}

.card {
    --bs-card-border-radius-2: 4rem;
    border-top-right-radius: var(--bs-card-border-radius-2);
    border-bottom-left-radius: var(--bs-card-border-radius-2);
}

.card-body {
    min-height: calc(100vh - 400px);
}

.auth-wrapper .auth-inner .platform-bg {
    border-bottom-left-radius: var(--bs-card-border-radius-2);
}

@media(max-width: 991.98px) {
    .section-py {
        padding-block-end: .5rem !important;
    }

    .first-section-pt {
        padding-block-start: 3rem;
    }

    .card {
        --bs-card-border-radius-2: var(--bs-card-border-radius);
    }

    /* .auth-wrapper .auth-inner .platform-bg {
        border-bottom-left-radius: var( --bs-card-border-radius-2);
    } */
}

@media(max-width: 575.98px) {
    .section-py {
        padding-block-end: 0px !important;
    }

    .first-section-pt {
        padding-block-start: 3rem;
    }
}

.auth-wrapper {
    --bs-auth-basic-inner-max-width: 460px;
    display: flex;
    flex-basis: 100%;
    inline-size: 100%;
    /* min-block-size: 100vh */
}

/* .auth-wrapper .auth-bg {
    background-color: var(--bs-paper-bg)
} */

.auth-wrapper .auth-title {
    font-size: 2rem
}

@media(max-width: 1199.98px) {
    .auth-wrapper:not(.auth-basic) .auth-inner {
        block-size: 100vh
    }
}

.auth-wrapper .auth-inner {
    block-size: 100%;
    inline-size: 100%;
    margin-block: auto;
    margin-inline: 0
}

.auth-wrapper .auth-inner .auth-cover-bg {
    position: relative;
    /* block-size: 100vh; */
    inline-size: 100%
}

.auth-wrapper .auth-inner .auth-cover-bg .auth-illustration {
    z-index: 1;
    max-block-size: 55%;
    max-inline-size: 55%
}

.auth-wrapper .auth-inner .platform-bg {
    position: absolute;
    block-size: 35%;
    inline-size: 100%;
    inset-block-end: 0%;
    inset-inline-start: 0%
}

/* .auth-wrapper .auth-inner .auth-multisteps-bg-height {
    block-size: 100vh
} */

.auth-wrapper .auth-inner .auth-multisteps-bg-height>img:first-child {
    z-index: 1
}

.auth-wrapper.auth-basic {
    align-items: center;
    justify-content: center
}

.auth-wrapper.auth-basic .auth-inner {
    position: relative;
    /* max-inline-size: var(--bs-auth-basic-inner-max-width) */
}

.auth-wrapper.auth-basic .auth-inner::before,
.bs-stepper.wizard-modern .bs-stepper-wrapper::before {
    position: absolute;
    background: var(--bs-primary);
    block-size: 233px;
    content: " ";
    inline-size: 238px;
    inset-block-start: -65px;
    inset-inline-start: -45px;
    mask-image: url("data:image/svg+xml,%3Csvg width='238' height='233' viewBox='0 0 238 233' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='88.5605' y='0.700195' width='149' height='149' rx='19.5' stroke='%237367F0' stroke-opacity='0.16'/%3E%3Crect x='0.621094' y='33.761' width='200' height='200' rx='10' fill='%237367F0' fill-opacity='0.08'/%3E%3C/svg%3E%0A");
    mask-repeat: no-repeat;
    mask-size: 100% 100%
}

@media(max-width: 991.98px) {

    .auth-wrapper.auth-basic .auth-inner::before,
    .bs-stepper.wizard-modern .bs-stepper-wrapper::before {
        inset-block-start: -40px;
        inset-inline-start: -45px;
    }
}

@media(max-width: 575.98px) {

    .auth-wrapper.auth-basic .auth-inner::before,
    .bs-stepper.wizard-modern .bs-stepper-wrapper::before {
        display: none
    }
}

:dir(rtl) .auth-wrapper.auth-basic .auth-inner::before {
    inset-inline-start: -70px
}

.auth-wrapper.auth-basic .auth-inner::after,
.bs-stepper.wizard-modern .bs-stepper-wrapper::after {
    position: absolute;
    /* z-index: -1; */
    background: var(--bs-primary);
    block-size: 180px;
    content: " ";
    inline-size: 180px;
    inset-block-end: -40px;
    inset-inline-end: -46px;
    mask-image: url("data:image/svg+xml,%3Csvg width='180' height='180' viewBox='0 0 180 180' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1.30469' y='1.44312' width='178' height='178' rx='19' stroke='%237367F0' stroke-opacity='0.16' stroke-width='2' stroke-dasharray='8 8'/%3E%3Crect x='22.8047' y='22.9431' width='135' height='135' rx='10' fill='%237367F0' fill-opacity='0.08'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-size: 100% 100%
}

@media(max-width: 991.98px) {

    .auth-wrapper.auth-basic .auth-inner::after,
    .bs-stepper.wizard-modern .bs-stepper-wrapper::after {
        inset-block-end: -20px;
    }
}

@media(max-width: 575.98px) {

    .auth-wrapper.auth-basic .auth-inner::after,
    .bs-stepper.wizard-modern .bs-stepper-wrapper::after {
        display: none
    }
}

.auth-wrapper.auth-basic .auth-inner .card {
    z-index: 1
}

@media(min-width: 576px) {
    .auth-wrapper.auth-basic .auth-inner .card {
        padding: 1.5rem
    }
}

.auth-wrapper .auth-input-wrapper .auth-input {
    font-size: 150%;
    max-inline-size: 50px;
    padding-inline: .4rem
}

@media(max-width: 575.98px) {
    .auth-wrapper .auth-input-wrapper .auth-input {
        font-size: 1.125rem
    }
}

.auth-cover-brand {
    position: absolute;
    z-index: 1;
    inset-block-start: 2rem;
    inset-inline-start: 2rem;
    margin-block-end: 1.5rem
}

.auth-cover-brand img {
    width: 160px;
}

.auth-basic-brand {
    display: none;
}

.auth-basic-brand img {
    width: 180px;
}

#twoStepsForm .fv-plugins-bootstrap5-row-invalid .form-control {
    border-width: 2px;
    border-color: #ff4c51;
    box-shadow: none
}

@media(max-width: 1199.98px) {
    #section-login .auth-basic-brand {
        display: flex;
    }

    #section-login .auth-cover-brand {
        display: none;
    }

    #section-register .auth-basic-brand {
        display: flex;
    }

    #section-register .auth-cover-brand {
        display: none;
    }
}


@media(max-width: 575.98px) {
    .numeral-mask-wrapper .numeral-mask {
        padding: 0
    }

    .numeral-mask {
        margin-inline: 1px
    }
}

.alert {
    line-height: 1.8rem;
}

.form-label {
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
}

#section-register .form-label {
    font-size: 1.1rem;
    font-weight: 400 !important;
}

.btn {
    --bs-btn-font-size: 1rem;
    --bs-btn-padding-y: .5rem;
}

.btn-label-success {
    --bs-btn-color: #15803D;
    --bs-btn-active-color: #15803D;
    --bs-btn-hover-color: #15803D;
}

/* stepper */
.bs-stepper-content {
    position: relative;
    z-index: 1;
}

/* .bs-stepper .bs-stepper-header {
    --bs-primary: var(--bs-purple);
    --bs-primary-rgb: var(--bs-purple-rgb);
} */

.bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-label {
    font-size: 1.1rem;
    line-height: normal;
}

.bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-label .bs-stepper-subtitle {
    font-size: .86rem;
}

.auth-input-container {
    width: 400px;
    max-width: 100% !important;
}

@media(max-width: 1199.98px) {
    .bs-stepper:not(.vertical):not(.wizard-icons) .bs-stepper-header {
        gap: 1rem;
    }
}

@media (max-width: 991.98px) {
    .bs-stepper .bs-stepper-header {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        flex-direction: row;
    }

    .bs-stepper .bs-stepper-header .step:first-child .step-trigger {
        padding-block-start: .625rem;
    }

    .bs-stepper .bs-stepper-header .step:last-child .step-trigger {
        padding-block-end: .625rem;
    }

    .bs-stepper:not(.vertical) .bs-stepper-header .line .icon-base {
        display: block;
    }
}

@media(max-width: 767.98px) {
    .bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-label {
        display: none;
    }

}

@media(max-width: 575.98px) {
    .auth-input-container {
        width: 350px;
    }
}

.form-control,
.select2-container {
    font-size: 1rem;
}

.required:after {
    display: inline-block;
    font-family: "tabler-icons" !important;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\efd5";
    color: #F00;
    font-size: 0.5rem;
    vertical-align: super;
    padding-left: 3px;
    padding-right: 3px;
    font-weight: 900;
}

.invalid-feedback {
    font-size: .9rem;
}

/* datetimepicker
   ========================================================================== */

.input-group.date .form-control,
.input-group.date .form-control:focus,
.input-group.date .input-group-text,
.input-group.date .input-group-text:focus {
    box-shadow: none !important;
}

.input-group.date .form-control:first-child {
    border-inline-end: 0;
}

.input-group.date .input-group-text:last-child {
    border-inline-start: 0;
}

.input-group.date .input-group-text {
    cursor: pointer;
}

.input-group.date .input-group-text i {
    font-size: 1.35rem;
    color: var(--bs-body-color);
}

.datetimepicker {
    z-index: 9080;
}

.datetimepicker a[data-action] {
    box-shadow: none !important;
}

.datetimepicker table td,
.datetimepicker table th {
    height: 25px;
    line-height: 25px;
}

.datetimepicker .picker-switch td span {
    line-height: 1.5;
    height: 2.2rem;
    font-size: 1.4rem;
}

.datetimepicker table td span {
    line-height: 52px;
}

.datetimepicker .datepicker-decades .decade {
    line-height: 1.3;
    text-align: left;
    padding: 4px 0 0 10px;
    width: 70px;
    font-size: .9rem;
    height: 48px;
}

.datetimepicker .timepicker table td span {
    height: 45px;
    line-height: 43px;
}

.datetimepicker .timepicker .timepicker-hour,
.datetimepicker .timepicker .timepicker-minute,
.datetimepicker .timepicker .timepicker-second {
    line-height: 1;
    display: inline-block;
    padding: .95rem .25rem;
}

.datetimepicker table td.minute,
.datetimepicker table td.second {
    height: 40px !important;
}

.datetimepicker table td.active,
.datetimepicker table td.active:hover,
.datetimepicker table td span.active {
    background-color: var(--bs-primary);
    box-shadow: 0 .125rem .375rem 0 rgba(var(--bs-primary-rgb), .3);
}

.datetimepicker table tr td.today:not(.active),
.datetimepicker table tr td.today:not(.active):hover {
    color: var(--bs-primary);
    background-color: rgba(var(--bs-primary-rgb), .2);
}

[data-bs-theme=dark] .datetimepicker.dropdown-menu.bottom:before {
    border-bottom-color: rgba(0, 0, 0, 0.2);
}

[data-bs-theme=dark] .datetimepicker.dropdown-menu.bottom:after {
    border-bottom: 6px solid #2f3349;
}

[data-bs-theme=dark] .datetimepicker.dropdown-menu.top:before {
    border-top: 7px solid #2f3349;
    border-top-color: rgba(0, 0, 0, 0.2);
}

[data-bs-theme=dark] .datetimepicker.dropdown-menu.top:after {
    border-top: 6px solid #2f3349;
}

[data-bs-theme=dark] .datetimepicker table thead tr:first-child th:hover,
[data-bs-theme=dark] .datetimepicker table td.day:hover,
[data-bs-theme=dark] .datetimepicker table td.hour:hover,
[data-bs-theme=dark] .datetimepicker table td.minute:hover,
[data-bs-theme=dark] .datetimepicker table td.second:hover,
[data-bs-theme=dark] .datetimepicker table td span:hover {
    background: rgba(225, 222, 245, 0.1);
    color: inherit;
}

/* Password Strong
   ========================================================================== */
.list-pass-strong {
    font-size: .96rem;
    line-height: 1.7;
    margin-top: 20px;
    color: rgba(var(--bs-secondary-rgb), 1) !important;
}

.list-pass-strong>div {
    margin-bottom: .2rem !important;
}

.list-pass-strong li {
    position: relative;
    padding-left: 30px;
}

.list-pass-strong li::before {
    font-family: "tabler-icons" !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    color: #CFD8DC;
    font-size: 1.25rem;
    font-weight: 900;
    position: absolute;
    left: 1px;
    content: "\eb55";
    padding-top: .15rem;
}

.list-pass-strong li.valid::before {
    color: #008f00;
    content: "\ea5e";
}

/* Face Detection : Photo
   ========================================================================== */
#photo-canvas {
    border: 2px solid var(--bs-gray-200);
    /* max-width: 180px; */
    transition: opacity 0.3s ease;
    width: 180px;
    max-width: 100%;
}

#photo-canvas.is-valid {
    border-color: var(--bs-success);
}

#photo-canvas.is-invalid {
    border-color: var(--bs-danger);
}

#photo-status {
    line-height: 1.65;
}

#otp-retry:hover {
    cursor: pointer;
    color: var(--bs-primary);
}

/* Ssweetalert2
   ========================================================================== */
.swal2-modal {
    justify-items: center;
}

.swal2-title,
.swal2-confirm {
    max-width: 100% !important;
    font-size: 1.15rem !important;
    font-weight: 500 !important;
}

.swal2-container .swal2-popup .swal2-html-container {
    padding-top: 0px;
    font-size: 1rem;
    line-height: 1.6;
}

button.swal2-confirm {
    font-size: 1rem !important;
    font-weight: 400 !important;
}