/* @import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&display=swap"); */

@font-face {
    font-family: Montserrat_Arabic_Regular;
    src: url(/assets/fonts/montserrat-arabic/Montserrat-Arabic-Light.ttf)
        format("truetype");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: Montserrat_Arabic_Medium;
    src: url(/assets/fonts/montserrat-arabic/Montserrat-Arabic-Regular.ttf)
        format("truetype");
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: Montserrat_Arabic_Semibold;
    src: url(/assets/fonts/montserrat-arabic/Montserrat-Arabic-Medium.ttf)
        format("truetype");
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: Montserrat_Arabic_Bold;
    src: url(/assets/fonts/montserrat-arabic/Montserrat-Arabic-Bold.ttf)
        format("truetype");
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: Montserrat_Arabic_Black;
    src: url(/assets/fonts/montserrat-arabic/Montserrat-Arabic-Black.ttf)
        format("truetype");
    font-weight: 900;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat_Alternates_regular";
    src: url(/assets/fonts/Montserrat_Alternates/MontserratAlternates-Regular.ttf)
        format("truetype");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Montserrat_Alternates_semibold";
    src: url(/assets/fonts/Montserrat_Alternates/MontserratAlternates-SemiBold.ttf)
        format("truetype");
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: "Montserrat_Alternates_bold";
    src: url(/assets/fonts/Montserrat_Alternates/MontserratAlternates-Bold.ttf)
        format("truetype");
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: "Montserrat_Alternates_black";
    src: url(/assets/fonts/Montserrat_Alternates/MontserratAlternates-Black.ttf)
        format("truetype");
    font-weight: 900;
    font-display: swap;
}
@font-face {
    font-family: "Montserrat_Alternates_medium";
    src: url(/assets/fonts/Montserrat_Alternates/MontserratAlternates-Medium.ttf)
        format("truetype");
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat-Bold";
    src: url(/assets/fonts/montserrat-arabic/Montserrat-Arabic-Regular.ttf)
        format("truetype");
    font-weight: 900;
    font-display: swap;
}
@font-face {
    font-family: "Nunito-Sans";
    src: url("/fonts/Nunito_Sans/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.ttf")
        format("truetype");
    font-weight: 400;
    font-display: swap;
}
:root {
    --primary-color: 10, 22, 41;
    --secondary-color: 125, 125, 125;
    --background: 249, 249, 249;
    --surface: 255, 255, 255;
    --on-primary: 249, 249, 249;
    --on-surface: 10, 22, 41;
    --on-secondary: 10, 22, 41;
    --active: 232, 230, 255;
    --on-active: 10, 22, 41;
    --overlay: 0, 0, 0;
}

html[data-theme="light"] {
    --primary-color: 10, 22, 41;
    --secondary-color: 125, 125, 125;
    --background: 249, 249, 249;
    --surface: 255, 255, 255;
    --on-primary: 249, 249, 249;
    --on-surface: 10, 22, 41;
    --on-secondary: 10, 22, 41;
    --active: 232, 230, 255;
    --on-active: 10, 22, 41;
    --overlay: 0, 0, 0;
    --border-color: 216, 224, 240;
    --black: 0, 0, 0;
    --light-btn: 249, 249, 249;
    --primary-btn: 10, 22, 41;
}
html[data-theme="dark"] {
    --primary-color: 232, 232, 232;
    --secondary-color: 232, 232, 232;
    --background: 0, 0, 0;
    --surface: 32, 32, 32;
    --on-primary: 10, 22, 41;
    --on-surface: 232, 232, 232;
    --on-secondary: 10, 22, 41;
    --active: 232, 230, 255;
    --on-active: 10, 22, 41;
    --overlay: 255, 255, 255;
    --border-color: 216, 224, 240;
    --black: 44, 44, 44;
    --light-btn: 44, 44, 44;
    --primary-btn: 10, 22, 41;
}

html[lang="en"] {
    --font-regular: Montserrat_Alternates_regular, sans-serif;
    --font-medium: Montserrat_Alternates_medium, sans-serif;
    --font-semibold: Montserrat_Alternates_semibold, sans-serif;
    --font-bold: Montserrat_Alternates_bold, sans-serif;
    --font-black: Montserrat_Alternates_black, sans-serif;
}
html[lang="ar"] {
    --font-regular: Montserrat_Arabic_Regular, sans-serif;
    --font-medium: Montserrat_Arabic_Medium, sans-serif;
    --font-semibold: Montserrat_Arabic_Semibold, sans-serif;
    --font-bold: Montserrat_Arabic_Bold, sans-serif;
    --font-black: Montserrat_Arabic_Black, sans-serif;
}

body div::-webkit-scrollbar,
body ul::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
body div::-webkit-scrollbar-thumb,
body ul::-webkit-scrollbar-thumb {
    width: 4px;
    height: 4px;
    background-color: rgba(var(--overlay), 0.25);
}
body div::-webkit-scrollbar-track,
body ul::-webkit-scrollbar-track {
    width: 4px;
    height: 4px;
    background-color: transparent;
}

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

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

.text-active {
    color: rgb(var(--active)) !important;
}
.bg-active {
    background-color: rgb(var(--active)) !important;
}

.text-active {
    color: rgb(var(--active)) !important;
}
.text-on-active {
    color: rgb(var(--on-active)) !important;
}
.bg-transparent {
    background: transparent;
    background-color: transparent;
}

.bg-back {
    background: rgb(var(--background)) !important;
    background-color: rgb(var(--background)) !important;
}
.bg-surface {
    background-color: rgb(var(--surface)) !important;
}

.text-on-surface {
    color: rgb(var(--on-surface)) !important;
}

body {
    font-family: var(--font-regular);
}

.c-app {
    background-color: rgb(var(--background)) !important;
}
body .nunito {
    font-family: var(--font-regular) !important;
}
body .reqular {
    font-family: var(--font-regular) !important;
}

.font-normal {
    font-family: var(--font-regular) !important;
}
.font-medium {
    font-family: var(--font-medium) !important;
}
.font-semibold {
    font-family: var(--font-semibold) !important;
}
.font-bold {
    font-family: var(--font-bold) !important;
}
.font-black {
    font-family: var(--font-black) !important;
}

.text-black {
    color: rgb(var(--primary-color)) !important;
}
.text-secondary {
    color: #919191 !important;
}
.fw-semibold {
    font-weight: 600 !important;
}
.fw-bold {
    font-weight: 700 !important;
}
.fw-bolder {
    font-weight: 900 !important;
}
.bolder {
    font-family: "Montserrat-Bold";
}
.fs-6-5 {
    font-size: 18px;
}
.ck-editor__editable,
textarea {
    min-height: 150px;
}

.card,
.card .card-header {
    background: rgb(var(--surface)) !important;
    background-color: rgb(var(--surface)) !important;
    border: none !important;
    box-shadow: none !important;
}

.datatable {
    width: 100% !important;
}

.dataTables_length,
.dataTables_filter,
.dt-buttons {
    margin-bottom: 0.333em;
    margin-top: 0.2rem;
}

.dataTables_filter {
    margin-right: 0.2rem;
}

.dt-buttons .btn {
    margin-left: 0.333em;
    border-radius: 0;
}

.select2 {
    max-width: 100%;
    width: 100% !important;
}

.select2-selection__rendered {
    padding-bottom: 5px !important;
}

.has-error .invalid-feedback {
    display: block !important;
}

.btn-info,
.badge-info {
    color: white;
}

.sidebar .nav-item {
    cursor: pointer;
}

.btn-default {
    color: #23282c;
    background-color: #f0f3f5;
    border-color: #f0f3f5;
}

.btn-default.focus,
.btn-default:focus {
    box-shadow: 0 0 0 0.2rem rgba(209, 213, 215, 0.5);
}

.btn-default:hover {
    color: #23282c;
    background-color: #d9e1e6;
    border-color: #d1dbe1;
}

.btn-black {
    color: #fff;
    background-color: rgb(var(--black));
    border-color: rgb(var(--black));
    font-family: var(--font-semibold);
}
a.btn-black:active {
    transform: scale(0.99);
}

.btn-black:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.2);
}

.btn-black:hover {
    color: #fff;
    background-color: #121213;
    border-color: #121213;
}
/*  */
.btn-primary {
    color: #fff;
    background-color: rgb(var(--primary-btn));
    border-color: rgb(var(--primary-btn));
    font-family: var(--font-semibold);
}
.btn-primary:active {
    transform: scale(0.99);
    background-color: rgb(var(--primary-btn)) !important;
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgb(var(--primary-color));
    background-color: #121213;
    border-color: rgb(var(--primary-btn)) !important;
}

.btn-primary:hover {
    color: #fff;
    background-color: #121213;
    border-color: rgb(var(--primary-btn));
}
/*  */
.btn.btn-light {
    background-color: rgb(var(--light-btn));
    color: rgb(var(--primary-color));
    border: none;
}
.btn.btn-light:hover {
    box-shadow: 0 0 0 1px rgba(var(--primary-color), 0.1);
    background-color: rgb(var(--light-btn), 0.9);
}

.searchable-title {
    font-weight: bold;
}
.searchable-fields {
    padding-left: 5px;
}
.searchable-link {
    padding: 0 5px 0 5px;
}
.searchable-link:hover {
    cursor: pointer;
    background: #eaeaea;
}
.select2-results__option {
    padding-left: 0px;
    padding-right: 0px;
}

.form-group .required::after {
    content: " *";
    color: red;
}
.form-group label {
    font-family: var(--font-semibold);
    font-size: 14px;
    color: rgb(var(--secondary-color));
}

.form-check.is-invalid ~ .invalid-feedback {
    display: block;
}

.c-sidebar-brand .c-sidebar-brand-full:hover {
    color: inherit;
}

.custom-select.form-control-sm {
    padding: 0.25rem 1.5rem;
}

/* header base style */
.c-header.c-header-fixed {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    top: 15px !important;
}
.c-header.c-header-fixed .float-nav {
    border-radius: 10px;
    transition: all 0.3s ease;
}
.c-header.c-header-fixed.bg-surface .float-nav {
    padding: 10px;
    background-color: rgb(var(--surface));
    box-shadow: 0 0 8px 0px rgba(0, 0, 0, 0.2);
}
.c-header.c-header-fixed.bg-surface .btn.farah-btn {
    box-shadow: 0 0 0 1px rgba(var(--on-surface), 0.25);
}
.c-header-toggler {
    font-size: 24px;
    display: flex;
}
/* Sidebar Base Styles */
#sidebar {
    /* background: linear-gradient(135deg, #2c3e50 0%, #1a1a2e 100%); */
    background: rgb(var(--surface)) !important;
    color: rgb(var(--on-surface)) !important;
    max-width: 240px;
    transition: all 0.3s;
    left: 10px;
    top: 15px;
    /* box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1); */
    box-shadow: 0px 6px 58px 0px #c4cbd61a;
    border-radius: 14px;
    max-height: 96vh;
    max-height: 96dvh;
    padding-inline: 12px;
}

[data-sidebar="narrow"] #sidebar {
    max-width: 86px;
    overflow: hidden;
    padding-inline: 16px;
    align-items: center;
}
[data-sidebar="narrow"] #sidebar .c-sidebar-brand .large-brand {
    display: none;
}
[data-sidebar="narrow"] #sidebar .c-sidebar-brand .small-brand {
    display: block !important;
}

[data-sidebar="narrow"] #sidebar .c-sidebar-nav-dropdown-toggle,
[data-sidebar="narrow"] #sidebar .c-sidebar-nav-link {
    padding: 8px !important;
    justify-content: center;
    width: 44px !important;
    height: 44px !important;
}
[data-sidebar="narrow"] #sidebar .c-sidebar-nav-dropdown.c-show {
    max-width: 44px;
}
[data-sidebar="narrow"] #sidebar .c-sidebar-nav-dropdown-toggle span:last-child,
[data-sidebar="narrow"] #sidebar .c-sidebar-nav-link span:last-child {
    display: none;
}

[data-sidebar="narrow"] #sidebar a:hover::before {
    content: attr(data-title);
    background-color: rgb(var(--active));
    color: rgb(var(--on-active));
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 12px;
    position: fixed;
    top: var(--pos);
    inset-inline-start: 80px;
}

#sidebar .c-sidebar-nav-dropdown-toggle .nav-item-icon,
#sidebar .c-sidebar-nav-link .nav-item-icon {
    font-size: 20px;
    width: 24px;
    height: 24px;
}

/* Brand Section */
.c-sidebar-brand {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.c-sidebar-brand {
    background-color: transparent !important;
}

.c-sidebar-brand-full {
    color: rgb(var(--on-surface)) !important;
}

/* Navigation Items */
.c-sidebar-nav {
    padding: 1rem 0;
}

.c-sidebar-nav-item {
    margin: 5px 0;
}

.c-sidebar
    .c-sidebar-nav-dropdown.c-show
    .c-sidebar-nav-dropdown-items
    .c-sidebar-nav-item
    .c-sidebar-nav-link,
.c-sidebar .c-sidebar-nav-link {
    color: rgb(var(--secondary-color));
    padding: 0.75rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s;
    border-radius: 10px;
    font-size: 16px;
    font-family: var(--font-semibold);
}
.c-sidebar .c-sidebar-nav-dropdown .c-sidebar-nav-dropdown-toggle::after {
    display: none !important;
}
.c-sidebar .c-sidebar-nav-dropdown.c-show .c-sidebar-nav-dropdown-toggle {
    color: rgb(var(--primary-color)) !important;
    font-family: var(--font-semibold);
}
.c-sidebar .c-sidebar-nav-dropdown.c-show .c-sidebar-nav-dropdown-toggle:hover,
.c-sidebar-nav-dropdown .c-sidebar-nav-dropdown-toggle:hover,
.c-sidebar .c-sidebar-nav-link:hover {
    color: rgb(var(--on-active)) !important;
    background: rgb(var(--active)) !important;
}
/* Active State */

.c-sidebar
    .c-sidebar-nav-dropdown.c-show
    .c-sidebar-nav-dropdown-items
    .c-sidebar-nav-item
    .c-sidebar-nav-link.c-active,
.c-sidebar .c-sidebar-nav-link.c-active {
    color: rgb(var(--on-active)) !important;
    font-family: var(--font-semibold);
    background: rgb(var(--active)) !important;
    /* border-left: 3px solid #3490dc; */
}

/* Dropdown Styles */
.c-sidebar-nav-dropdown {
    position: relative;
}

/* .c-sidebar-nav-dropdown-toggle::after {
    content: "›";
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transition: all 0.3s;
} */

a.dropdown-toggle::after {
    content: "";
    mask: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE4IDkuMDAwMDVDMTggOS4wMDAwNSAxMy41ODExIDE1IDEyIDE1QzEwLjQxODggMTUgNiA5IDYgOSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+");
    width: 24px;
    height: 24px;
    border: none !important;
    background-color: rgb(var(--on-surface));
}
.profile-dropdown {
    min-width: 238px;
}

.profile-dropdown .dropdown-menu {
    border-radius: 10px;
    min-width: 100%;
}
.profile-dropdown .dropdown-menu .dropdown-item:hover {
    background: rgb(var(--active), 0.2) !important;
    color: rgb(var(--primary-color)) !important;
}

@media (max-width: 991.98px) {
    .profile-dropdown {
        min-width: 200px;
    }
}
@media (max-width: 768px) {
    .profile-dropdown {
        min-width: 171px;
    }
}
.c-sidebar-nav-dropdown .c-sidebar-nav-dropdown-toggle {
    display: flex;
    gap: 16px;
    font-size: 16px;
    font-family: var(--font-semibold);
    color: rgb(var(--secondary-color));
    border-radius: 10px;
}

.c-sidebar .c-sidebar-nav-dropdown.c-show {
    border-radius: 10px;
    background: rgba(var(--overlay), 0.03) !important;
}

.c-sidebar-nav-dropdown.c-show .c-sidebar-nav-dropdown-toggle::after {
    transform: translateY(-50%) rotate(0deg);
}
.c-sidebar-nav-dropdown-items {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
}

.c-sidebar-nav-dropdown-items .c-sidebar-nav-link {
    padding-inline: 0.85rem !important;
}
.c-sidebar-nav-dropdown.c-show .c-sidebar-nav-dropdown-items {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

/* nav tabs */
.nav.nav-enclosed.nav-enclosed-pills.nav-fill {
    background-color: #e8e6ff;
    border-radius: 24px;
    padding: 4px 4px;
    min-height: 48px;
}
.nav.nav-enclosed.nav-enclosed-pills.nav-fill .nav-link {
    background-color: transparent;
    outline: none;
    border: none;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    border-radius: 48px;
}
.nav.nav-enclosed.nav-enclosed-pills.nav-fill .nav-link.active {
    background-color: #000;
    color: #fff;
    font-weight: 900;
}

.flex-1 {
    flex: 1;
}

.toast[type="success"] {
    background-color: #e0f9f2;
    border-radius: 8px;
    color: #00d097;
}
.toast[type="success"] svg path {
    fill: #00d097;
}
.toast[type="error"] {
    background-color: #ffcdcd;
    border-radius: 8px;
    color: #f92c4b;
}
.toast[type="error"] svg path {
    fill: #f92c4b;
}
.modal.fade.show {
    background: rgba(33, 85, 163, 0.161) !important;
}
.modal .modal-content {
    border-radius: 1.2rem !important;
    background-color: rgb(var(--surface)) !important;
}

textarea.form-control,
input.form-control,
textarea.form-control:focus,
input.form-control:focus {
    background-color: transparent;
    border-color: rgb(var(--border-color));
    color: rgb(var(--primary-color));
}
textarea.form-control::placeholder,
input.form-control::placeholder {
    color: rgb(var(--primary-color));
}
.search-box span svg path{
    fill: rgb(var(--primary-color));
}
.form-check-input.checkbox:checked {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEwIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik05IDFMMy41IDYuNUwxIDQiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPg==");
    background-size: 10px;
}
.form-check-input.checkbox.check-all {
    background-color: transparent;
    border-color: #cfd3d4;
}
.form-check-input.checkbox.check-all:checked {
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='2' viewBox='0 0 14 2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L13 1' stroke='%23141B34' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.form-check-input:checked {
    background-color: #e8e6ff !important;
    border-color: #6d7dcd !important;
}

.form-check.form-switch,
.form-switch .form-check-input {
    height: 30px;
    width: 55px !important;
}

.form-check.form-switch .form-check-input:checked {
    background-color: #000 !important;
}

.form-check.form-switch .form-check-input:not(:checked) {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
}

.form-check.form-switch .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12) !important;
}

.form-check-input.checkbox {
    width: 24px !important;
    height: 24px !important;
    border-radius: 8px !important;
    position: relative !important;
    margin: 0px !important;
    left: auto !important;
}
a {
    display: inline-block;
    vertical-align: middle;
    color: rgb(var(--primary-color));
}

.text-Message .length {
    position: absolute;
    bottom: 8px;
    inset-inline-end: 10px;
}

.text-Message .emoji {
    position: absolute;
    top: 8px;
    inset-inline-end: 10px;
}
.text-Message .emoji.open svg path {
    fill: goldenrod;
}

/* Device Frame and Notification Preview Styles */
.device-frame {
    width: 300px;
    height: 600px;
    position: relative;
    background: url("/phone-frame.png") no-repeat center center;
    background-size: 100%;
}

.device-screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    padding: 25px;
}

.notification-preview {
    position: relative;
    top: 150px;
    padding: 10px 15px;
    background-color: #898989;
    border-radius: 12px;
    margin: 0 auto;
    color: #fff !important;
}

.app-header {
    font-size: 11px;
}

.notification-content {
    font-size: 12px;
    line-height: 110%;
    letter-spacing: -1%;
}

.tooltip-trigger {
    position: relative;
    cursor: pointer;
    color: #3b82f6;
}

.tooltip-trigger:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 100%;
    background: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 8px;
    z-index: 100;
}

.tooltip-trigger:hover::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 100%;
    border: 5px solid transparent;
    border-top-color: #333;
    margin-bottom: -2px;
}
/* end css file */
.btn-close[data-coreui-dismiss="modal"][aria-label="Close"] {
    background-color: #e8e6ff;
    width: 28px;
    height: 28px;
    border-radius: 12px;
}
/*  */
.white-badge {
    border: solid 1px #e4e4e7;
    border-radius: 6px;
    background-color: rgb(var(--surface));
    border-radius: 24px;
    padding: 4px 8px;
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-tooltip {
    position: relative;
}
.btn-tooltip:hover::after {
    content: attr(title);
    color: #111827;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    width: max-content;
    padding: 6px 12px;
    background-color: #cdc8ff;
    border-radius: 14px;
    min-height: 21px;
    z-index: 10;
    transform: translate(-50%, -10px) scale(0.9);
    opacity: 0;
    animation: tooltib-fadein 0.25s forwards linear;
}

.action-tooltip {
    position: relative !important;
}

.action-tooltip:hover::after {
    content: attr(data-title);
    color: #111827;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, -10px) scale(0.9);
    width: max-content;
    min-height: 21px;
    padding: 4px 12px;
    background-color: #cdc8ff;
    border-radius: 10px;
    z-index: 10;
    box-shadow: 0px 6px 58px 0px #c4cbd61a;
    opacity: 0;
    animation: action-tooltip-fadein 0.25s forwards linear;
}

@keyframes tooltib-fadein {
    to {
        transform: translate(-50%, 0px) scale(1);
        opacity: 1;
    }
}
@keyframes action-tooltip-fadein {
    to {
        transform: translate(-50%, 0px) scale(1);
        opacity: 1;
    }
}
emoji-picker {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 30;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 0 10px 0px #00000020;
    border: solid 1px #e8e6ff;
}
emoji-picker.top {
    top: unset;
    bottom: 100%;
}

/*  */

.flex {
    display: flex;
}
.justify-center {
    justify-content: center;
}
.items-center {
    align-items: center;
}
.flex-col {
    flex-direction: column;
}
.flex-row {
    flex-direction: row;
}
.flex-wrap {
    flex-wrap: wrap;
}
.justify-between {
    justify-content: space-between;
}
.justify-around {
    justify-content: space-around;
}
.justify-end {
    justify-content: flex-end;
}
.justify-start {
    justify-content: flex-start;
}
.items-start {
    align-items: start;
}
.items-end {
    align-items: flex-end;
}
.items-baseline {
    align-items: baseline;
}
.items-stretch {
    align-items: stretch;
}
.gap-1 {
    gap: 0.25rem;
}
.gap-2 {
    gap: 0.5rem;
}
.gap-3 {
    gap: 1rem;
}
.gap-4 {
    gap: 1.5rem;
}
.gap-5 {
    gap: 3rem;
}
.gap-6 {
    gap: 4rem;
}
.gap-7 {
    gap: 5rem;
}
.gap-8 {
    gap: 6rem;
}
.gap-9 {
    gap: 7rem;
}

.text-14 {
    font-size: 14px !important;
}
.text-16 {
    font-size: 16px !important;
}
.text-18 {
    font-size: 18px !important;
}
.text-20 {
    font-size: 20px !important;
}
.text-24 {
    font-size: 24px !important;
}
.text-32 {
    font-size: 32px !important;
}
.text-48 {
    font-size: 48px !important;
}

.lh-24 {
    line-height: 24px !important;
}
.lh-32 {
    line-height: 32px !important;
}
.lh-40 {
    line-height: 40px !important;
}

@media (min-width: 992px) and (min-width: 992px) {
    html[data-sidebar="narrow"]:not([dir="rtl"])
        .c-sidebar.c-sidebar-lg-show:not(.c-sidebar-right).c-sidebar-fixed
        ~ .c-wrapper,
    html[data-sidebar="narrow"]:not([dir="rtl"])
        .c-sidebar.c-sidebar-show:not(.c-sidebar-right).c-sidebar-fixed
        ~ .c-wrapper {
        margin-left: 90px;
    }
    html[data-sidebar="narrow"]:not([dir="ltr"])
        .c-sidebar.c-sidebar-lg-show:not(.c-sidebar-right).c-sidebar-fixed
        ~ .c-wrapper,
    html[data-sidebar="narrow"]:not([dir="ltr"])
        .c-sidebar.c-sidebar-show:not(.c-sidebar-right).c-sidebar-fixed
        ~ .c-wrapper {
        margin-right: 90px;
    }
}
