// =========================================================
//                          Defaults
// =========================================================
* {
    scrollbar-color: #dbdbdb transparent;
    scrollbar-width: thin;
}

*::-webkit-scrollbar,
html::-webkit-scrollbar {
    width: 8px;
}

*::-webkit-scrollbar-track,
html::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb,
html::-webkit-scrollbar-thumb {
    background-color: #dbdbdb;
}

.remove-icon {
    font-size: 15px !important;
    color: #ff4e4e !important;
    cursor: pointer;
}

// antd select language
.select-option-language {
    height: 39px !important;
    width: 100px !important;
    color: #04041c !important;
    border-radius: 4px !important;

    .ant-select-selector,
    .ant-select-selector:hover,
    .ant-select-selector:active {
        padding-top: 4px !important;
        background: transparent !important;
        box-shadow: none !important;
        border: 0 !important;
        border-radius: 4px !important;
        height: 39px !important;
        font-size: 14px !important;
    }

    .ant-select-selection-item {
        font-weight: 400 !important;
    }

    .ant-select-arrow {
        right: 20px !important;
    }
}

.auth-container {
    .ant-select-rtl {
        .ant-select-selection-item {
            padding-right: 28px !important;
            padding-left: 0 !important;
        }
    }
}

.top-navigation {
    .ant-select-rtl {
        .ant-select-selection-item {
            padding-right: 28px !important;
            padding-left: 0 !important;
        }
    }
}

.primary-card {
    width: 100%;
    min-height: 500px;
    background: #ffffff;
    box-shadow: 0px 0px 20px #cecece29;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    position: relative;
}

.primary-card-rounded {
    width: 100%;
    min-height: 123px;
    background: #ffffff;
    box-shadow: 0px 0px 20px #e3e3e3;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
}

.primary-table-header {
    height: 63px;
    padding: 15px 24px 13px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e2e2;

    h1 {
        font-size: 14px !important;
        font-weight: 500;
    }
}
.primary-table-secondary-header {
    height: 70px;
    border-bottom: 1px solid #dedede;
    padding: 16px 28px;
    display: flex;

    .vertical-divider {
        width: 0px !important;
        height: 18px !important;
        border: 1px solid #dfdfdf !important;
    }
}

.primary-table {
    .hCBnvI {
        border-top: 1px solid #e0e0e0;
    }

    .lnndaO {
        font-size: 14px;
    }

    .bhoXfZ {
        position: absolute;
        bottom: 0;
    }

    .cTsUPQ {
        margin-top: 100px !important;
    }
}

.dragger-image-preview-wrapper {
    .dragger-image-preview {
        width: 100%;

        @include BGImageCenterCover();
    }
    .ant-upload {
        padding: 0 !important;
    }
}

.add-expense-modal-wrapper {
    .primary-input {
        width: 100% !important;
    }
}

.btn-filter-icon {
    font-size: 20px !important;
    margin-left: 8px !important;
}
*[dir="rtl"] .btn-filter-icon {
    margin-left: 0 !important;
    margin-right: 8px !important;
}
.btn-filter {
    height: 34px !important;
    margin-right: 14px !important;
    margin-left: 10px !important;
}
.btn-filter-active {
    background: #f2f2f2 !important;
    border: 0 !important;
}

.table-filter-menu {
    width: 400px;
    min-height: 200px;
    background: #ffffff;
    border: 1px solid #d4d4d4;
    border-radius: 4px;
    padding: 12px;
    position: absolute;
    right: 13px;
    top: 35px;
    z-index: 2;

    // .ant-form-item {
    //     margin-bottom: 16px !important;
    // }

    // .primary-input,
    // .select-option-primary {
    //     width: 201px !important;
    // }
}

.secondary-sidebar-container {
    width: 153px;
    height: fit-content;
    background: #ffffff;
    border: 1px solid #d4d4d4;
    border-radius: 4px;
    padding: 20px 0;

    li {
        width: 100%;
        height: 27px;
        font-size: 12px;
        list-style-type: none;
        padding: 5px 23px;
        margin-bottom: 15px;
        cursor: pointer;
    }

    .active {
        background: transparent linear-gradient(293deg, #2d2ba8 0%, #089752 100%);
        color: #fff;
    }
}

.primary-tabs {
    .ant-tabs-nav-wrap {
        width: 100%;
        height: 45px;
        background: #ffffff;
        border: 1px solid #d4d4d4;
        border-radius: 4px;
        padding-left: 20px;
    }
    .ant-tabs-tab .ant-tabs-tab-btn {
        color: #b9b9b9 !important;
    }
    .ant-tabs-tab-active .ant-tabs-tab-btn {
        color: #089752 !important;
    }
    .ant-tabs-ink-bar {
        height: 5px !important;
        background: #089752 !important;
        border-radius: 5px 5px 0px 0px !important;
    }
}

.select-arrow-down {
    margin-top: -5px !important;
    color: #04041c !important;
}

.secondary-sidebar-wrapper {
    .secondary-sidebar-content {
        flex: 1;
        width: 70%;
    }

    .secondary-sidebar {
        font-size: 12px;
        width: 165px;
        min-height: 663px;
        background: #fcfcfc 0% 0% no-repeat padding-box;
        box-shadow: 0px 3px 6px #00000029;
        border: 1px solid #e6e6e6;
        border-radius: 0px 20px 20px 0px;
        margin: 0;
        padding: 23px 0px 17px 8px;
        color: #b5b5b5;
        text-transform: capitalize;
        margin-right: 23px;
        margin-left: -8px;

        & li:not(:last-child) {
            margin-bottom: 9px;
        }
    }

    .secondary-sidebar-item {
        border-radius: 4px 0px 0px 4px;
        margin-left: 8px;
        margin-right: -4px;
        padding: 5px 20px 5px 8px;
        cursor: pointer;
        list-style-type: none;
    }

    .active {
        background: transparent linear-gradient(293deg, #2d2ba8 0%, #089752 100%) 0% 0% no-repeat
            padding-box;
        font-weight: 500;
        color: #ffffff !important;
    }

    .inactive {
        color: #04041c !important;
    }
}

.period-status {
    display: inline-block;
    width: 79px;
    height: 31px;
    background: #ffffff;
    border-radius: 4px;
    text-transform: capitalize;
    text-align: center;
    line-height: 31px;
}

.period-status-active {
    border: 1px solid #089752;
    color: #089752;
}
.period-status-inactive {
    border: 1px solid #ff4e4e;
    color: #ff4e4e;
}
.horizontal-divider {
    width: 100%;
    height: 1px;
    background-color: #e6e6e6;
    margin-bottom: 17px;
}
.schedule-date-range-icon {
    font-size: 18px !important;
    color: #2f2f75 !important;
}
.admin-bread-crumbs {
    display: flex;
}
.bread-forward-icon {
    font-size: 15px !important;
    margin: 4px 9px 0 9px;
}
.icon-create-new {
    color: #089752 !important;
    font-size: 20px !important;
    margin-bottom: 3px !important;
}
.view-eye-icon {
    font-size: 18px !important;
    color: #089752 !important;
}
.btn-close-icon,
.btn-tick-icon {
    font-size: 15px !important;
    margin-right: 5px !important;
    margin-bottom: 2px !important;
}

.clearance-status {
    display: inline-block;
    width: 96px;
    height: 31px;
    background: transparent;
    border-radius: 4px;
    text-transform: capitalize;
    text-align: center;
    line-height: 31px;
    font-weight: 500;
}
.clearance-status-approved {
    background: #e9ffe5;
    color: #089752;
}
.clearance-status-rejected {
    background: #fff1f4;
    color: #e91b4c;
}
.clearance-status-pending {
    background: #f2f2f2;
    color: #a1a1a1;
}

.add-new-list-wrapper {
    .all-items-container,
    .selected-items-container {
        width: 326px;
        background: #ffffff;
        border: 1px solid #d4d4d4;
        border-radius: 4px;
        padding: 16px;
    }
    .scroll-container {
        height: 261px;
        overflow: hidden;
        overflow-y: scroll;
        padding-right: 10px;
    }

    .selected-items-container {
        .scroll-container {
            height: 310px !important;
        }
    }

    .all-items-container,
    .selected-items-container {
        li {
            list-style-type: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0;

            li:not(:last-child) {
                border: 1px solid #d4d4d4;
                margin-bottom: 10px;
            }
        }
    }
    .btn-action,
    .btn-action:hover {
        color: #089752 !important;
        border: 0 !important;
        background: transparent !important;
        height: auto !important;
        padding: 0 !important;

        svg {
            color: #ff4e4e !important;
        }
    }
    .primary-input {
        background: #f5f5f5 !important;
        border: 1px solid #d4d4d4 !important;
        width: 100% !important;
        margin-bottom: 15px;
        .ant-input {
            background: #f5f5f5 !important;
        }
    }
}

.error-container {
    height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    .error-page {
        width: 60%;
        min-height: 100px;

        h1 {
            font-size: 37px;
            font-weight: 800;
            color: #089752;
            margin-bottom: 5px !important;
        }
        p {
            font-size: 17px;
            font-weight: 600;
            color: #2f2f75;
            margin-bottom: 24px !important;
            text-transform: capitalize;
        }
        img {
            margin-bottom: 50px;
        }
        .desc {
            margin-bottom: 20px !important;
            font-weight: 400 !important;
            color: #000000 !important;
        }
    }
}
@media (max-width: 600px) {
    .error-page {
        img {
            width: 100%;
        }
    }
}

.primary-table-wrapper-header {
    padding: 15px 15px 13px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    h1 {
        font-size: 14px !important;
        font-weight: 500;
    }
}

.primary-table-wrapper {
    position: relative;
    min-height: 440px;

    .sc-hHEiqL {
        padding: 0 20px !important;
    }

    .erjDfa {
        border-top: 1px solid #e5e5e5;
        border-bottom: 1px solid #e5e5e5;
        border-radius: 4px;
        padding-left: 12px;
    }

    .eoVfnz {
        padding-left: 16px !important;
    }
}

.page-card {
    width: 100%;
    min-height: 446px;
    background: #ffffff 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 20px #cecece29;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

// delete action modal
.delete-action-modal {
    .ant-modal-content {
        width: 500px !important;
    }
}

.button-outlined-danger {
    color: #fb1139 !important;
    border-radius: 4px !important;
    border-color: #fb1139 !important;
}
.delete-action-modal-wrapper {
    text-align: center;
}
.button-outlined-success {
    color: #089752 !important;
    border-radius: 4px !important;
    border-color: #089752 !important;
}

.icon-back {
    font-size: 25px;
    margin-bottom: 4px;
    margin-right: 10px;
    color: #2f2f75 !important;
}

.ant-message-success {
    .ant-message .anticon {
        top: -3px !important;
        svg {
            color: #009656 !important;
        }
    }
}

.primary-input-number-suffix {
    .ant-input-number {
        border: 1px solid #d4d4d4 !important;
        box-shadow: none;
        height: 34px;
    }
    .ant-input-number-wrapper {
        height: 34px;
    }
    .ant-input-number-group-addon {
        background-color: transparent !important;
    }
}

// Remove this styling if it effect other components
// .ant-form-vertical .ant-form-item-label > label {
//     height: 14px !important;
// }

// Remove this styling if it effect other components
.ant-image {
    .ant-image-img {
        width: 100% !important;
    }
}
// payment information

.payment-information-wrapper {
    .page-card {
        padding: 16px 24px;
        min-height: 223px !important;
    }
}

/////////////////////////////////////////////////// buttons
// button primary

.button-main,
.button-main:hover,
.button-main:focus,
.button-main:active {
    color: #fff !important;
    border-radius: 4px !important;
    border-color: #079751f7 !important;
    background: #079751f7 !important;
}

// Alert lg component
.alert-lg-container {
    width: 100%;
    min-height: 151px;
    background: #f15555 0% 0% no-repeat padding-box;
    border-radius: 6px;

    border-left: 9px solid #e11313;
    padding: 12px 30px;

    &,
    h3 {
        color: #ffffff;
    }
    p:not(:last-child) {
        margin-bottom: 10px !important;
    }
}

// fee status
.fee-status,
.status-approved-rejected {
    width: 73px;
    height: 31px;
    border-radius: 4px;
    line-height: 31px;
    text-align: center;
    padding: 6px 21px;
    text-transform: uppercase;
    font-weight: 500;
}
.status-paid,
.status-approved {
    background: #e9ffe5 0% 0% no-repeat padding-box;
    color: #089752;
}
.status-unpaid,
.status-rejected {
    background: #ffe5e5 0% 0% no-repeat padding-box;
    color: #cf2323;
}

.status-payment-Paid {
    color: #089752;
}
.status-payment-Approved {
    color: #089752;
}
.status-payment-Pending {
    color: #f59535;
}
.status-payment-Rejected {
    color: #cf2323;
}
// secondary search
.secondary-search {
    width: 320px !important;
    height: 34px !important;
    background: #ffffff 0 0 no-repeat padding-box !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    border: 1px solid #e1e1e1 !important;
    padding: 0 11px !important;

    input.ant-input {
        font-size: 12px !important;
        height: 32px !important;
    }

    .ant-input-affix-wrapper,
    .ant-input-affix-wrapper:hover,
    .ant-input-affix-wrapper:active {
        border: 1px solid #d4d4d4 !important;
        box-shadow: none !important;
    }
}

.primary-divider {
    background: #dbdbdb !important;
    margin: 5px 0 25px 0 !important;
}
