/********** Template CSS **********/
:root {
    --primary: #009CFF;
    --light: #F3F6F9;
    --dark: #191C24;
}

body {

    font-family: shabnam;
}

@font-face {
    font-family: 'Shabnam';
    src: url('fonts/Shabnam-FD.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    direction: rtl;
    font-family: 'Shabnam';
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Layout ***/
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 250px;
    height: 100vh;
    overflow-y: auto;
    background: var(--light);
    transition: 0.5s;
    z-index: 999;
}

.content {
    margin-right: 250px;
    min-height: 100vh;
    background: #FFFFFF;
    transition: 0.5s;
}

@media (min-width: 992px) {
    .sidebar {
        margin-right: 0;
    }

    .sidebar.open {
        margin-right: -250px;
    }

    .content {
        width: calc(100% - 250px);
    }

    .content.open {
        width: 100%;
        margin-right: 0;
    }
}

@media (max-width: 991.98px) {
    .sidebar {
        margin-right: -250px;
    }

    .sidebar.open {
        margin-right: 0;
    }

    .content {
        width: 100%;
        margin-right: 0;
    }
}


/*** Navbar ***/
.sidebar .navbar .navbar-nav .nav-link {
    padding: 7px 20px;
    color: var(--dark);
    font-weight: 500;
    border-right: 3px solid var(--light);
    border-radius: 30px 0px 0px 30px;
    outline: none;
}

.sidebar .navbar .navbar-nav .nav-link:hover,
.sidebar .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    background: #FFFFFF;
    border-color: var(--primary);
}

.sidebar .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 40px;
}

.sidebar .navbar .navbar-nav .nav-link:hover i,
.sidebar .navbar .navbar-nav .nav-link.active i {
    background: var(--light);
}

.sidebar .navbar .dropdown-toggle::after {
    position: absolute;
    top: 15px;
    left: 15px;
    border: none;
    content: "\f107";
    font-family: "FontAwesome";
    font-weight: 900;
    transition: .5s;
}

.sidebar .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.sidebar .navbar .dropdown-item {
    padding-right: 25px;
    border-radius: 30px 0px 0px 30px;
    text-align: right;
}

.content .navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 12px 0;
    color: var(--dark);
    outline: none;
}

.content .navbar .navbar-nav .nav-link:hover,
.content .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.content .navbar .sidebar-toggler,
.content .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 40px;
}

.content .navbar .dropdown-toggle::after {
    margin-right: 6px;
    vertical-align: middle;
    border: none;
    content: "\f107";
    font-family: "FontAwesome";
    font-weight: 900;
    transition: .5s;
}

.content .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 575.98px) {
    .content .navbar .navbar-nav .nav-link {
        margin-right: 15px;
    }
}


/*** Date Picker ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.progress .progress-bar {
    width: 0px;
    transition: 2s;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 5px solid var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--dark);
    border-color: var(--primary);
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}

.public-header {
    flex-shrink: 0;
}

.public-main {
    flex: 1 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

.public-content-wrap {
    width: 100%;
    max-width: 720px;
}

.public-main .card {
    width: 100%;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.08);
}

.public-footer {
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .public-main {
        padding: 1rem;
        align-items: flex-start;
    }

    .public-header h4 {
        font-size: 1.1rem;
        margin-bottom: 0;
    }

    .public-main .card {
        border-radius: 0.85rem;
    }

    .public-main .card .card-body,
    .public-main .card.p-4,
    .public-main .card.p-5 {
        padding: 1rem !important;
    }
}

@media (min-width: 577px) {
    .public-main {
        padding: 2rem 1rem;
    }
}

.app-logo {
    height: 60px;
    object-fit: contain;
}

.public-header {
    background: #ffffff;
    border-bottom: 1px solid #eee;
}

.dashboard-logo {
    height: 35px;
}

.avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.app-toast-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1080;
    width: min(380px, calc(100vw - 32px));
}

.app-toast-container .alert {
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .10);
    margin-bottom: 10px;
    border: 1px solid transparent;
}

.app-toast-container .alert-success {
    background: #f0fff4;
    border-color: #badbcc;
    color: #0f5132;
}

.app-toast-container .alert-danger {
    background: #fff5f5;
    border-color: #f5c2c7;
    color: #842029;
}

.app-toast-container .alert-warning {
    background: #fffbea;
    border-color: #ffecb5;
    color: #664d03;
}

.app-toast-container .alert-info {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #495057;
}

@media (max-width: 576px) {
    .app-toast-container {
        top: 12px;
        left: 12px;
        width: calc(100vw - 24px);
    }
}

.app-mobile-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.app-mobile-sidebar-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.app-mobile-sidebar-title {
    margin: 0;
    font-weight: 700;
    line-height: 1;
}