@font-face {
    font-family: "Cairo";
    src: url("/assets/common/fonts/cairo/Cairo-Black.ttf") format("truetype");
    font-weight: 900;
}

@font-face {
    font-family: "Cairo";
    src: url("/assets/common/fonts/cairo/Cairo-Bold.ttf") format("truetype");
    font-weight: 700;
}

@font-face {
    font-family: "Cairo";
    src: url("/assets/common/fonts/cairo/Cairo-ExtraBold.ttf")
        format("truetype");
    font-weight: 800;
}

@font-face {
    font-family: "Cairo";
    src: url("/assets/common/fonts/cairo/Cairo-ExtraLight.ttf")
        format("truetype");
    font-weight: 200;
}

@font-face {
    font-family: "Cairo";
    src: url("/assets/common/fonts/cairo/Cairo-Light.ttf") format("truetype");
    font-weight: 300;
}

@font-face {
    font-family: "Cairo";
    src: url("/assets/common/fonts/cairo/Cairo-Medium.ttf") format("truetype");
    font-weight: 500;
}

@font-face {
    font-family: "Cairo";
    src: url("/assets/common/fonts/cairo/Cairo-Regular.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Cairo";
    src: url("/assets/common/fonts/cairo/Cairo-SemiBold.ttf") format("truetype");
    font-weight: 600;
}

body {
    font-family: "Cairo", sans-serif;
    font-weight: 500;
}

.bank-color {
    color: var(--bank-font-color);
}

.bank-background-color {
    background-color: var(--bank-background-color);
}

th {
    text-align: start;
}

.navbar-header {
    background-color: #4f008c;
    padding: 0;
    z-index: 1000;
}

.main-navbar {
    background-color: #4f008c;
    padding: 1rem 1.5rem;
}

.header-logo {
    width: 180px;
    margin-inline-end: 30px;
}

.navbar-header .nav-link {
    color: #fff;
    position: relative;
    transition: 0.3s ease-in-out;
    padding-left: 10px;
    padding-right: 10px;

    &.active {
        font-weight: 700;
    }

    &.active,
    &:hover {
        &::after {
            width: 100%;
        }
    }

    &::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -8px;
        width: 0%;
        height: 3px;
        background-color: #fff;
        border-radius: 8px;
        transition: 0.3s ease-in-out;
    }
}

.bank-toggle-button {
    border: 1px solid var(--bank-font-color);
    padding: 5px 15px;
    border-radius: 8px;
    font-size: var(--font-xl);
    gap: 10px;
    color: var(--bank-font-color);
}

.bank-toggle-button .icon {
    font-size: var(--font-2xl);
}

.sidebar-toggle,
.sidebar-mobile-toggle {
    color: #fff;
}

.sidebar-logo img {
    width: 180px;
    margin-left: auto;
    margin-right: auto;
}

.select2-container,
.select2-container .selection {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 44px !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    line-height: 40px !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 44px;
    top: 1px;
    right: 10px;
}

.select2-container--default .select2-selection--multiple {
    min-height: 44px !important;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 4px 10px;
}

.select2-container--default .select2-selection--multiple:focus {
    border: 1px solid #4f008c;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice {
    background-color: #4f008c;
    color: #fff;
    outline: none;
    border: none;
    padding: 2px 15px;
    border-radius: 10px;
}

.select2-container--default
    .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #4f008c;
}

.select2-container--default .select2-search--inline .select2-search__field {
    line-height: 15px;
}

.form-select:focus,
.form-select:active,
.form-control:focus,
.form-control:active,
textarea:focus,
textarea:active {
    background-color: var(--bs-body-bg);
}

.card .card-body {
    padding: 25px 30px;
}

.card .card-title {
    font-weight: 700;
}

.auth-image-container {
    position: relative;
}

.auth-image-info {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    .auth-image-title {
        font-size: 2rem;
        font-weight: 700;
        color: #ff375e;
    }

    .auth-image-description {
        font-size: 1.5rem;
        font-weight: 400;
    }
}

.notification-indicator {
    position: absolute;
    top: 5px;
    right: 5px;
    transform: translate(50%, -50%);
    width: 20px;
    height: 20px;
    font-size: 14px;
    color: #fff;
}

.notification-bar {
    background-color: var(--bank-font-color);
    color: var(--bank-background-color);
    padding: 5px 15px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    .notification-item-link {
        font-weight: 700;
    }

    .notification-actions {
        display: flex;
        align-items: center;
        gap: 20px;

        .notification-buttons {
            display: flex;
            align-items: center;
            gap: 8px;

            .notification-button {
                background-color: var(--bank-background-color);
                color: var(--bank-font-color);
                border-radius: 50%;
                padding: 8px;
                transition: 0.3s ease-in-out;

                &:hover {
                    opacity: 0.5;
                }
            }
        }

        .simple-custom-pagination-container {
            .simple-custom-pagination {
                display: flex;
                align-items: center;
                gap: 10px;

                li.disabled {
                    pointer-events: none;
                    opacity: 0.5;
                }
            }
        }
    }
}

.notifications-list-component {
    .notifications-list-item {
        transition: 0.3s ease-in-out;
        &:hover {
            background-color: #f8f9fa;
        }
    }
}

.popup-notification-modal {
    .modal-dialog {
        max-width: initial;
        width: 80%;
    }
}

.disabled,
.disabled * {
    opacity: 0.6 !important;
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    cursor: not-allowed !important;
}

.watermark {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 200px 100px;
    padding: 50px;
    box-sizing: border-box;
}

.watermark span {
    font-size: 20px;
    color: rgba(0, 0, 0, 0.1);
    transform: rotate(-30deg);
    white-space: nowrap;
}
