﻿/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/*//@import url(https://fonts.googleapis.com/earlyaccess/notokufiarabic.css);*/
/*font-family: 'Noto Kufi Arabic', sans-serif;*/


@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;
}


:root {
    --bs-danger-rgb: 180, 34, 24;
}

a {
    -webkit-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;
    }
}

.input-validation-error {
    border: 1px solid #b42318 !important;
}

.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: -webkit-box;
    display: -ms-flexbox;
    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: #B42318;
    border-bottom-color: #d92d20;
    padding: 22px 24px;
    /*    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 24px;
    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 24px;
    color: #067647;
    background-color: #ecfdf3;
    /*    position: fixed; 
    left: 0;
    right: 0;
    z-index: 1050; 
    border-radius: 0;*/
}

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 */
        }



.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
    color: #fff !important;
    background-color: #104631 !important;
    border-radius: 4px !important;
}
/* 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: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 8px;
    width: 600px;
    padding: 24px;
}
form label {
    margin-bottom: 8px !important;
}

.form-label.required:before {
    content: "*";
    color: #d6183a;
}

.form-label.required:after {
    content: "" !important;
    color: #d6183a;
}

.header__container {
    max-height: 40px;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    -ms-flex-line-pack: center !important;
    align-content: center !important;
}

.navbar-expand-xl {
    max-height: 72px;
    height: 72px;
}
/*.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: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    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;
    border: 0;
    background-color: transparent !important;
}

.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;
}

table-striped tbody tr:hover {
    background-color: #f3f4f6 !important;
    --bs-table-accent-bg: #f3f4f6 !important;
}

tbody tr:hover {
    background-color: #f3f4f6 !important;
    --bs-table-accent-bg: #f3f4f6 !important;
}

.table tr td, table tr td {
    font-size: 16px !important;
    color: #161616 !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;
    }
}

@-webkit-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;
    }
}

@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;
    }
}

.digital-stamp-card {
    padding: 8px 32px;
    background: #f3f4f6;
}

    .digital-stamp-card .digital-stamp-header {
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .digital-stamp-card .digital-stamp-header h6 {
            color: #161616;
            font-size: 14px;
            font-family: "IBMArabic-Bold";
            margin: 0px !important;
        }

h6 {
    font-size: 1rem;
    color: #757575;
    font-weight: 500;
    line-height: 1.2;
}

.digital-stamp-card .digital-stamp-header .btn-digital-stamp-card {
    cursor: pointer;
}

    .digital-stamp-card .digital-stamp-header .btn-digital-stamp-card span {
        color: #1b8354;
        font-size: 14px;
    }

    .digital-stamp-card .digital-stamp-header .btn-digital-stamp-card img {
        transition: 0.3s;
    }

.digital-stamp-card .digital-stamp-body .digital-stamp-container {
    margin-bottom: 32px;
    display: flex;
    gap: 32px;
}

.digital-stamp-card .digital-stamp-body {
    padding-top: 40px;
    padding-bottom: 32px;
}

    .digital-stamp-card .digital-stamp-body .digital-stamp-container .box h6 {
        margin-bottom: 12px;
        color: #161616;
        font-size: 18px;
    }

    .digital-stamp-card .digital-stamp-body .digital-stamp-container .box p {
        color: #384250;
        font-size: 16px;
        font-family: "IBMArabic-Regular";
    }

.green-text {
    color: #1b8354 !important;
}

.digital-stamp-card .digital-stamp-body .stamp-link-box {
    padding: 8px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 8px;
    background: #fff;
}

    .digital-stamp-card .digital-stamp-body .stamp-link-box p {
        color: #161616;
        font-size: 16px;
        font-family: "IBMArabic-Regular";
        margin: 0px !important;
    }

    .digital-stamp-card .digital-stamp-body .stamp-link-box a {
        color: #1b8354;
        font-size: 16px;
        text-decoration: underline;
    }

.digital-stamp-card .digital-stamp-body .digital-stamp-container .box {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.digital-stamp-card .digital-stamp-header.open .btn-digital-stamp-card img {
    transform: rotate(180deg);
}

.digital-stamp-card .digital-stamp-header .btn-digital-stamp-card img {
    transition: 0.3s;
}
