@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Bold.woff2') format('woff2'),
        url('/fonts/Montserrat-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-BoldItalic.woff2') format('woff2'),
        url('/fonts/Montserrat-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-ExtraBold.woff2') format('woff2'),
        url('/fonts/Montserrat-ExtraBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
.fa-solid{
    margin: 5px;
}
@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-ExtraLightItalic.woff2') format('woff2'),
        url('/fonts/Montserrat-ExtraLightItalic.woff') format('woff');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-ExtraBoldItalic.woff2') format('woff2'),
        url('/fonts/Montserrat-ExtraBoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-ExtraLight.woff2') format('woff2'),
        url('/fonts/Montserrat-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Italic.woff2') format('woff2'),
        url('/fonts/Montserrat-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-LightItalic.woff2') format('woff2'),
        url('/fonts/Montserrat-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Light.woff2') format('woff2'),
        url('/fonts/Montserrat-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-MediumItalic.woff2') format('woff2'),
        url('/fonts/Montserrat-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Medium.woff2') format('woff2'),
        url('/fonts/Montserrat-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Regular.woff2') format('woff2'),
        url('/fonts/Montserrat-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-SemiBold.woff2') format('woff2'),
        url('/fonts/Montserrat-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-SemiBoldItalic.woff2') format('woff2'),
        url('/fonts/Montserrat-SemiBoldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Thin.woff2') format('woff2'),
        url('/fonts/Montserrat-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-ThinItalic.woff2') format('woff2'),
        url('/fonts/Montserrat-ThinItalic.woff') format('woff');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Black.woff2') format('woff2'),
        url('/fonts/Montserrat-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-BlackItalic.woff2') format('woff2'),
        url('/fonts/Montserrat-BlackItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --main-color: rgba(79, 201, 218);
    --light-main-color: rgba(79, 202, 218, 0.447);
    --main: 72, 190, 206;
    --light-main-color: rgba(72, 190, 206, .3);
    --green-color: rgba(174, 204, 52);
    --light-green-color: rgba(174, 204, 52, 0.371);
    --yellow-color: rgba(235, 195, 63);
    --light-yellow-color: rgba(235, 195, 63, 0.407);
    --light-red-color: rgba(299, 94, 64);
    --red-color: rgba(220, 53, 69);
    --light-red-color: rgba(220, 53, 70, 0.529);
    --main-light-color: #f4f4f4;
    --main-bg-color: rgb(203, 213, 253);
    --text-color: rgba(139, 132, 118);
    --gray-color: #898a9a;
    --dark: 72, 68, 61;
    --dark-gray-color: rgba(72, 68, 61);
    --light-dark-gray-color: rgba(72, 68, 61, 0.263);
    --white-color: #fff;
    --light-color: rgb(248, 249, 249);
    --box-shadow: rgba(137, 138, 154, 0.15) 0px 15px 24px 0px;
    --dark-light-color: rgb(187, 195, 203);
    --bg-light-color: rgba(0, 0, 0, 0.01);
    --black-color: #000;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

::-webkit-scrollbar {
    width: 5px;
    height: 2px;
    border-radius: 4px;
    background-color: var(--gray-color);
}

::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: var(--main-color);
}

body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Montserrat';
    background-color: var(--main-light-color) !important;
}

a {
    text-decoration: none !important;
    color: var(--black-color);

    &:hover {
        color: var(--black-color);
    }
}

button {
    border: 0;
    outline: none;
    box-sizing: border-box;
}
#eye-button{
    position: absolute;
    top: 60%;
    right: 7%;
}
input {
    border: 0;
    outline: none;
    box-sizing: border-box;
}

span {
    display: inline-block;
}

/* Comman Class Start*/
.bg-main {
    background-color: var(--main-color) !important;
}

.bg-main-light {
    background-color: rgba(var(--main), .1) !important;
}

.bg-light {
    background-color: var(--light-color) !important;
}

.text-dark-light {
    color: var(--text-light-color) !important;
}

.text-dark {
    color: var(--text-color) !important;
}

.bg-success {
    background-color: var(--green-color) !important;
}

.bg-light-success {
    background-color: var(--light-green-color) !important;
}

.text-success {
    color: var(--green-color) !important;
}

.text-light-success {
    color: var(--light-green-color) !important;
}

.bg-danger {
    background-color: var(--red-color) !important;
}

.bg-warning {
    background-color: var(--yellow-color) !important;
}

.text-warning {
    color: var(--yellow-color) !important;
    ;
}

.bg-danger {
    background-color: var(--red-color) !important;
}

.text-danger {
    color: var(--red-color) !important;
    ;
}

.bg-light-danger {
    background-color: var(--light-red-color) !important;
}

.text-danger {
    color: var(--red-color) !important;
}

.text-light-danger {
    color: var(--light-red-color) !important;
}

.shadow-right {
    box-shadow: -5px 0 5px -5px var(--text-light-color);
}

.shadow-left {
    box-shadow: 5px 0 5px -5px var(--text-light-color);
}

.main-heading {
    font-size: 1.75rem;
}

.text-main {
    color: var(--main-color) !important;
}

.text-white {
    color: var(--white-color) !important;
}

.w-fit {
    width: fit-content !important;
}

.h-fit {
    height: fit-content !important;
}

.user-img {
    width: 40px;
    height: 40px;
    border-radius: .5rem;
    overflow: hidden;

    & img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}

.text-sm {
    font-size: 14px;
    line-height: 16px;
}

.comman-lg-heading {
    font-size: 1.75rem;
    font-weight: 600;
}

.form-design {
    & .form-group {
        margin: .5rem 0;
    }

    & .form-label {
        color: rgba(var(--dark), .8);
        font-size: 15px;
        font-weight: 500;
    }

    .form-control {
        font-size: 14px;
        padding: .8rem .75rem;
        color: rgba(var(--dark), .8);
        border: 1px solid var(--dark-light-color);
    }
}

.comman-btn {
    width: 100%;
    border: 0;
    height: 42px;
    line-height: 42px;
    color: var(--white-color);
    background-color: var(--main-color);
    display: inline-block;
    text-align: center;
    border-radius: .5rem;
    padding: 0 1rem;
    transition: all .3s ease-in-out;

    &:hover {
        background-color: var(--light-main-color);
        color: var(--main-color);
    }
}

.comman-design {
    width: 100%;
    border-radius: .5rem;
    background-color: var(--white-color);
    box-shadow: var(--bs-box-shadow) !important;

    & .comman-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1rem;
        border-bottom: 1px solid var(--light-dark-gray-color);
    }

    & .comman-body {
        padding: 1rem 1.75rem;
    }
}

.comman-design-heading {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--dark-gray-color);
    margin: 0;
}

.table {
    & thead {
        & tr {
            & th {
                text-transform: uppercase;
                font-size: 16px;
                font-weight: 600;
                text-align: center;
            }
        }
    }

    & tbody {
        & tr {
            & td {
                font-size: 14px;
                text-align: center;
            }
        }
    }
.ql-editor {
  direction: rtl !important;
  text-align: right !important;
}
    & .table-btn-dropdown {
        position: static;

        & .table-dropdown-content {
            background-color: var(--white-color);

            & .dropdown-item {
                display: inline-block;
                font-size: 12px;
                color: var(--text-color);
                font-weight: 600;

                & i {
                    color: var(--text-color);
                    font-size: 10px;
                }

                &:focus {
                    color: var(--white-color);
                    background-color: var(--main-color);

                    & i {
                        color: var(--white-color);
                    }
                }
            }

            & .list {
                transition: all .3s ease-in-out;

                &:hover {
                    background-color: var(--main-light-color);
                }
            }
        }
    }
}

.rtlArabic{
    direction: rtl !important;
  text-align: right !important;
}
/* Force RTL in Quill editor (high specificity) */
.quill-editor.rtl-force .ql-container .ql-editor {
  direction: rtl !important;
  text-align: right !important;
  unicode-bidi: embed !important;
}

.table-btn {
    width: 30px;
    height: 30px;
    border-radius: .8rem;
    text-align: center;
    line-height: 30px;
    color: var(--white-color);
    transition: all .3s ease-in-out;

    &:hover {
        color: var(--white-color);
        transform: scale(0.85);
        box-shadow: var(--dark-gray-color) 0px 1px 2px 0px, var(--dark-gray-color) 0px 1px 3px 1px;
    }
}

.search {
    position: relative;

    & .search-icon {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 3%;
    }

    & .search-input {
        padding-right: 2rem;
        height: 42px;
    }
}

.comman-tabs {
    & .nav-link {
        color: var(--black-color);
    }

    & .nav-link.active {
        background-color: var(--main-color) !important;
    }
}

.user-view-img {
    background-color: var(--dark-gray-color);

    & img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

.comman-border {
    border-top: 2px dashed var(--dark-gray-color);
    padding: .5rem;
}

.upload-img-wrapper {
    background-color: rgba(var(--main), .1);
    border-radius: .5rem;
    text-align: center;
    height: fit-content;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all .3s ease-in-out;
    height: 200px;
    & .uploaded-img.active {
        width: 100%;
        height: 100%;
        object-fit: contain;
        position: relative;
        z-index: 1;
        background-color: var(--light-main-color);
    }
    & .upload-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        z-index: 5;
        cursor: pointer;
    }
    & .content {
        width: 100%;
        text-align: center;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }
    & .icon {
        font-size: 5rem;
        color: var(--main-color);
    }
    & .text {
        color: var(--dark-gray-color);
        font-size: 1.25rem;
        font-weight: 600;
    }
    &:hover {
        background-color: var(--main-color);
        & .icon,
        & .text {
            color: var(--white-color);
        }
    }
}

.comman-user-img {
    width: 100%;
    height: fit-content;
    border-radius: .75rem;
    background-color: var(--dark-gray-color);
}

.comman-document {
    margin-top: .5rem;
    width: 100px;
    height: 100px;
    position: relative;
    border-radius: .75rem;
    overflow: hidden;

   

    & a {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        text-align: center;
        line-height: 100px;
        transition: all .3s ease-in-out;

        & i {
            color: transparent;
            font-size: 2rem;
        }
    }

    & img {
        object-fit: cover;
    }
}

.form-check-input:checked {
    background-color: var(--main-color);
    border-color: var(--main-color);
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  transition: background-color 0.3s;
}

.sidebar-item.active {
  background-color: #57d8e6; /* or your highlight color */
  border-radius: 6px;
}

.sidebar-item i {
  font-size: 18px;
}

.sidebar-item a {
  color: #000;
  text-decoration: none;
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-item:hover {
  background-color: #f2f2f2;
}

/* Comman Class End*/
#sidebar-container {
    width: 20%;
    flex: 0 0 auto;
    transition: all .3s ease-in-out;
    & .sidebar {
        height: 100vh;
        overflow: hidden;
        box-shadow: 0 -.8rem 1.2rem var(--gray-color);
        background-color: var(--white-color);
        border-top-right-radius: 25px;
        border-bottom-right-radius: 25px;
        padding: 1.5rem 1rem;
        padding-right: 0;
        & .logo-wrapper {
            width: 100%;
            height: 50px;
            line-height: 50px;
            & img {
                object-fit: contain;
                height: fit-content;
                width: 100%;
            }
            & .logo-text {
                font-size: 1.5rem;
                font-weight: 500;
                color: var(--main-color);
            }
            & .sidebar-toggle {
                font-size: 1.5rem;
                cursor: pointer;
                color: var(--black-color);
                transition: all .3s ease-in-out;
                &:hover {
                    color: var(--main-color);
                }
            }
        }
    }
    & .sidebar-content {
        padding-right: 1rem;
        height: calc(100vh - 70px);
        overflow-y: auto;
        overflow-x: hidden;
        & .sidebar-item-wrapper {
            padding: 0;
            list-style: none;
            white-space: nowrap;
            & .sidebar-item {
                padding: .5rem;
                margin: .5rem 0;
                border-radius: .75rem;
                display: flex;
                gap: 10px;
                align-items: center;
                & span:first-child {
                    width: 25px;
                    height: 25px;
                    flex: 0 0 auto;
                    text-align: center;
                    & i {
                        font-size: 1rem;
                        color: var(--black-color);
                    }
                }
                & span:last-child {
                    margin-top: 0.25rem;
                    & a {
                        color: var(--black-color);
                        font-size: 1rem;
                        text-decoration: none;
                        width: 100%;
                        /* display: inline-block; */
                        white-space: nowrap;
                        text-overflow: ellipsis;
                        overflow: hidden;
                        transition: all .3s ease-in-out;
                    }
                }
                &.active {
                    background-color: var(--main-color) !important;
                    & span:first-child {
                        & i {
                            color: var(--white-color) !important;
                        }
                    }
                    & span:last-child {
                        & a {
                            color: var(--white-color) !important;
                        }
                    }
                }
                &:hover {
                    background-color: var(--light-color);
                    & span:first-child {
                        & i {
                            color: var(--main-color);
                        }
                    }
                    & span:last-child {
                        & a {
                            color: var(--main-color);
                        }
                    }
                }
            }
        }
    }
    &.sidebar-off {
        width: 5%;
        & .logo-text {
            display: none;
        }
        & .sidebar-content {
            & .sidebar-item-wrapper {
                & .sidebar-item {
                    & span:first-child {
                        text-align: center;
                    }
                    & span:last-child {
                        display: none;
                    }
                }
            }
        }
    }
}








.right-side-container {
    width: 80%;
    flex: 0 0 auto;
    padding: 0 1rem;
    overflow: hidden;
    transition: all .3s ease-in-out;

    &.right-side-off {
        width: 95%;
    }
}

.header {
    height: 60px;
    display: flex;
    justify-content: end;
    padding: 0 1.5rem;
    border-bottom: 1px dashed var(--dark-gray-color);

    & .profile-dropdown {
        & .dropdown-menu {
            width: 250px;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }
    }
}

.content-part {
    height: calc(100vh - 60px);
    overflow-y: auto;
    overflow-x: hidden;
}

.login-wrapper {
    width: 100%;
    height: 100vh;
    padding: 2rem 0;
    overflow-y: auto;
    background-color: var(--light-main-color);
    display: flex;
    flex-direction: column;
    justify-content: center;

    & .login-main {
        width: 100%;
        height: 100%;
        border-radius: 1.5rem;
        overflow: hidden;
        background-color: var(--white-color);
    }

    & .login-image {
        width: 100%;
        height: 100%;
        background-color: rgba(var(--main), .1);
        padding: 0 1.5rem;

        & img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
    }

    & .login-right-side {
        width: 100%;
        padding: 1.75rem 1.5rem;
    }
}

.statics-card {
    border-radius: .75rem;
    background-color: var(--white-color);
    box-shadow: var(--bs-box-shadow) !important;
    padding: 1rem;
    transition: all .3s ease-in-out;
    overflow: hidden;
    width: 100%;

    &:hover {
        margin-top: -.5rem;
    }

    & .icon-card {
        width: 50px;
        height: 50px;
        border-radius: 1.3rem;
        line-height: 50px;
        text-align: center;
        font-size: 1.5rem;
        color: var(--white-color);
    }

    & .stats-heading {
        font-size: .86rem;
        font-weight: 600;
        white-space: nowrap;
    }

    & .stats-num {
        font-size: 1.5rem;
        font-weight: 700;
    }

    &.stats-2 {
        & i {
            transition: all .6s ease-in-out;

            &:hover {
                transform: rotate(360deg);
            }
        }
    }

    & .status-main {
        color: var(--main-color);
        background-color: var(--light-main-color);
    }

    & .status-success {
        color: var(--green-color);
        background-color: var(--light-green-color);
    }

    & .status-warning {
        color: var(--yellow-color);
        background-color: var(--light-yellow-color);
    }

    & .status-dark {
        color: var(--dark-gray-color);
        background-color: var(--light-dark-gray-color);
    }
}

.table-img {
    width: 40px;
    height: 40px;
    border-radius: .8rem;
    overflow: hidden;
    background-color: var(--dark-gray-color);
    padding: .2rem;

    & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
.custom-pagination .pagination .page-item .page-link {
    width: 40px;
    height: 40px;
    line-height: 40px;
    flex: 0 0 auto;
    padding: 0;
    text-align: center;
    border: 0;
}
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 0.3rem;
  }
  
  .image-overlay:hover {
    opacity: 1;
  }
  
  .image-overlay i {
    color: white;
    font-size: 1.5rem;
  }