@font-face {
    font-family: Tajawal-Medium;
    src: url("/fonts/Tajawal-Medium.ttf");
}

* {
    font-family: Tajawal-Medium, sans-serif;
    font-size: 14px;
}

.font-14 {
    font-size: 14px !important;
}

.font-13 {
    font-size: 13px !important;
}

td {
    font-size: 14px !important;
}

#notification-toast-container {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 1049;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    pointer-events: none;
}

#notification-toast-container.toast-hidden {
    display: none !important;
}

.demo-static-toast {
    pointer-events: auto;
}

.demo-static-toast .toast {
    min-width: 260px;
    max-width: 380px;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-30px) translateY(10px);
    transition: all 0.25s ease-in-out;
    pointer-events: auto;
}

.demo-static-toast .toast.show {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.demo-static-toast .toast-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
}

.demo-static-toast .toast-header h6 {
    margin: 0;
    font-weight: 700;
    font-size: 13px;
}

.demo-static-toast .toast-header small {
    font-size: 11px;
    white-space: nowrap;
    opacity: 0.75;
}

.demo-static-toast .close {
    background: transparent;
    border: none;
    padding: 0 6px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.demo-static-toast .toast-body {
    padding: 10px 12px 12px;
    font-size: 12px;
    line-height: 1.6;
}

.toast-link {
    text-decoration: underline;
    font-size: 12px;
}

.toast-meta-time {
    margin-top: 6px;
    font-size: 11px;
    opacity: 0.75;
}

.toast-progress {
    height: 3px;
    width: 100%;
    overflow: hidden;
}

.toast-progress > span {
    display: block;
    height: 100%;
    width: 100%;
    animation: toast-progress 60s linear forwards;
}

@keyframes toast-progress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

.toast-attention {
    animation: toast-glow 1.1s ease-in-out infinite, toast-shake 0.38s ease-in-out 0s 2;
}

@keyframes toast-glow {
    0% {
        transform: translateX(0) translateY(0) scale(1);
    }

    50% {
        transform: translateX(0) translateY(-2px) scale(1.02);
    }

    100% {
        transform: translateX(0) translateY(0) scale(1);
    }
}

@keyframes toast-shake {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-4px);
    }

    40% {
        transform: translateX(4px);
    }

    60% {
        transform: translateX(-3px);
    }

    80% {
        transform: translateX(3px);
    }

    100% {
        transform: translateX(0);
    }
}

.btn-loading-spinner {
    width: 1rem;
    height: 1rem;
    border: 0.15em solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btn-spin 0.75s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
}

@keyframes btn-spin {
    to {
        transform: rotate(360deg);
    }
}

.dark-theme .app-sidebar .side-menu__label,
.dark-theme .app-sidebar .side-menu__item,
.dark-theme .app-sidebar .side-menu__icon,
.dark-theme .app-sidebar .slide-item {
    color: rgba(255, 255, 255, 0.92) !important;
}

.dark-theme .app-sidebar .side-menu__header {
    color: rgba(255, 255, 255, 0.55) !important;
}

.dark-theme .app-sidebar .side-menu__item:hover .side-menu__label,
.dark-theme .app-sidebar .side-menu__item:hover .side-menu__icon {
    color: #ffffff !important;
}

.dark-theme .app-sidebar .slide.active > .side-menu__item .side-menu__label,
.dark-theme .app-sidebar .slide.active > .side-menu__item .side-menu__icon {
    color: #ffffff !important;
}

.side-menu__label {
    margin-top: 15px;
}
