﻿/*//@import url(https://fonts.googleapis.com/earlyaccess/notokufiarabic.css);*/
/*font-family: 'Noto Kufi Arabic', sans-serif;*/



@font-face {
    font-family: "IBMArabic-Regular";
    src: url('./fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Regular.ttf') format('truetype');
    font-weight: 400;
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "IBMArabic-Medium";
    src: url('./fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "IBMArabic-SemiBold";
    src: url('./fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "IBMArabic-Bold";
    src: url('./fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "IBMArabic-Thin";
    src: url('./fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "IBMArabic-Light";
    src: url('./fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap
}



a {
    -webkit-transition: all 250ms ease-in-out;
    -moz-transition: all 250ms ease-in-out;
    -ms-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
    transition: all 250ms ease-in-out;
}

.alert-primary {
    background: #dfecf5;
    border: 1px solid #88c1e6 !important;
}


.SearchForm input, .SearchForm select {
    border: 1px solid #88c1e6 !important;
    font-size: 0.8em;
    margin-top: 6px;
    margin-bottom: 6px;
}


.NoPadingRight {
    padding-right: 0 !important;
}

.SearchForm input[type="submit"] {
    background: #0071bc;
    width: 150px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1em;
}

body {
    direction: rtl;
    font-family: 'IBMArabic-Medium', sans-serif;
}
/*.header__top {
    height: 40px;
}*/
main {
    min-height: 60vh !important;
}

@media (max-width: 1200px) {
    main {
        padding-top: 135px;
    }
}

.fade.show {
    opacity: 1;
}

.modal-backdrop.show {
    opacity: 0.5 !important;
}

.modal-backdrop {
    position: relative !important;
}

select.form-control:not([size]):not([multiple]) {
    height: auto; /* إعادة تعيين القيمة الافتراضية */
}

.navbar-brand img {
    /*height: 80px !important;*/
    width: auto !important;
}

.checkboxDiv {
    display: flex;
}

.form-check:not(.form-switch) {
    margin: 0px 10px;
}
/*.footer-logo img {
    height: 80px !important;
}*/
.alert-danger {
    border: none;
    border-bottom: 2px solid;
    border-radius: 0;
    background-color: #fef3f2;
    color: #d92d20;
    border-bottom-color: #d92d20;
    padding: 22px;
    /*    position: fixed; 
    left: 0;
    right: 0;
    z-index: 1050; 
    border-radius: 0;*/
}

.alert-warning {
    border: none;
    border-bottom: 2px solid;
    border-radius: 0;
    padding: 22px;
    color: #b54708;
    background-color: #fffaeb;
    /*    position: fixed; 
    left: 0;
    right: 0;
    z-index: 1050; 
    border-radius: 0;*/
}

.alert-success {
    border: none;
    border-bottom: 2px solid;
    border-radius: 0;
    padding: 22px;
    color: #067647;
    background-color: #ecfdf3;
    /*    position: fixed; 
    left: 0;
    right: 0;
    z-index: 1050; 
    border-radius: 0;*/
}
.header__container {
    max-height: 40px;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-content: center !important;
}

.navbar-expand-xl {
    max-height: 72px;
    height: 72px;
}
input[type="radio"]:hover, input[type="checkbox"]:hover {
    accent-color: #074D31;
}

input[type="radio"]:focus, input[type="checkbox"]:hover {
    accent-color: #074D31;
}

input[type="radio"]:focus-visible, input[type="checkbox"]:hover {
    accent-color: #074D31;
}

input[type="radio"]:focus-within, input[type="checkbox"]:hover {
    accent-color: #074D31;
}
/* Remove default focus outline */
input[type="radio"]:focus {
    outline: none;
    box-shadow: none;
}

/* Remove hover effect that changes color */
input[type="radio"]:hover, input[type="checkbox"]:hover {
    background-color: transparent !important;
}

/* Ensure selected radio button doesn't turn black */
input[type="radio"]:checked, input[type="checkbox"]:checked {
    accent-color: initial; /* Reset to default */
}

/* Optional: Style custom radio button */
input[type="radio"] {
    appearance: none; /* Remove default styling */
    width: 16px;
    height: 16px;
    border: 1px solid #074D31; /* Border color */
    border-radius: 50%;
    position: relative;
    background-color: #fff;
    cursor: pointer;
    margin: 0 3px;
}

    /* Custom checked state */
    input[type="radio"]:checked::before {
        content: "";
        width: 10px;
        height: 10px;
        background-color: #074D31;
        border-radius: 50%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

/* Remove default browser styles */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #074D31;
    border-radius: 4px;
    background-color: #fff; /* Keep background white */
    cursor: pointer;
    position: relative;
}

    /* Keep checkmark visible when checked */
    input[type="checkbox"]:checked {
        background-color: #074D31;
        border-color: #074D31;
    }

        /* Custom checkmark */
        input[type="checkbox"]:checked::before {
            content: "✔"; /* Unicode checkmark */
            font-size: 14px;
            color: white;
            font-weight: bold;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

    /* No background change on hover when unchecked */
    input[type="checkbox"]:not(:checked):hover {
        background-color: transparent !important; /* No background color */
        border-color: #074D31; /* Keep border color */
    }

    /* Keep checkmark visible on hover when checked */
    input[type="checkbox"]:checked:hover {
        background-color: #074D31 !important; /* Maintain checked background */
        border-color: #0056b3; /* Slightly darker border */
    }

        /* Ensure checkmark does not disappear on hover */
        input[type="checkbox"]:checked:hover::before {
            color: white !important; /* Force checkmark to stay visible */
        }


/* Default dropdown option color */
.nice-select.open .nice-select-dropdown {
    max-height: 240px;
    overflow-y: auto;
    overflow-x: hidden;
}

.nice-select-dropdown .list {
    height: 100% !important;
    max-height: 100% !important;
    overflow: auto !important;
    margin-bottom: 0;
}

.bootbox .modal-content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    width: 600px;
    padding: 24px;
}
/*.btn-info {
    background-color: var(--color-success);
    color: #fff !important;
    background-image: none !important;
}
.btn-info:is(:hover,:active,:focus), input.btn-info:is(:hover,:active,:focus) {
        background-color: #00df83;
        border-color: var(--color-success);
    }*/
.bootbox .modal-header {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.modal .modal-dialog .modal-content {
    padding: 24px;
}

    .modal .modal-dialog .modal-content .modal-body {
        padding: 0px 0;
    }

    .modal .modal-dialog .modal-content .modal-header {
    }

        .modal .modal-dialog .modal-content .modal-header .modal-title {
            color: #1f2a37;
        }

    .modal .modal-dialog .modal-content .modal-footer .btn-primary {
        margin: 0px;
    }

    .modal .modal-dialog .modal-content .modal-body .bootbox-body {
        color: var(--color-gray-color);
    }
/* .modal .modal-dialog .modal-content .modal-header .btn-close {
        background: var(--color-primary) url("./images/cancel-circle.svg") auto no-repeat;
    }*/
.close {
    float: left;
}

.calendars-month {
    width: auto !important;
}

.calendars-month-header, .calendars-month-header select, .calendars-month-header input {
    font-size: 1rem !important;
    font-family: 'IBMArabic-Medium', sans-serif !important;
    font-weight: normal !important;
}

.calendars-cmd-today {
    color: #000 !important;
}

@media (max-width: 991.98px) {
    .item-HijriDate {
        display: none;
    }
}
/* For larger screens (768px and up) */
@media (min-width: 992px) {
    .container, .container-md, .container-sm {
        padding-top: 20px;
    }
}

@media (max-width: 991.98px) {
    .container, .container-md, .container-sm {
        margin-top: 80px
    }
}

@media (max-width: 992px) {

    .table td::before {
        content: attr(data-label) !important;
        font-weight: bold !important;
        width: 50% !important;
        display: inline-block !important;
    }
}

@keyframes default-botfront-blinker-animation {
    0% {
        outline-color: rgba(0, 255, 0, 0);
    }

    49% {
        outline-color: rgba(0, 255, 0, 0);
    }

    50% {
        outline-color: green;
    }

    100% {
        outline-color: green;
    }
}
