﻿body {
    padding-top: 86px;
    padding-bottom: 20px;
    background: #f6f8fc;
    color: #1f2937;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}
*/
.ar {
    font-family: 'Al-Kanz';
}

.alkanz {
    font-family: 'Al-Kanz';
}

.marjaan {
    font-family: 'Kanz-al-Marjaan';
}
.title{
    font-size:24pt
}

    #wait {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 ) url(ajax-loader.gif) 50% 50% no-repeat;
}
.error {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important;
}
.th-inner {
    font-stretch: ultra-condensed
}

input[type="date"]::-webkit-outer-spin-button,
input[type="date"]::-webkit-inner-spin-button {
    display: none;
}

.myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

    .myImg:hover {
        opacity: 0.7;
    }

/* The Modal (background) */
#PhotoModel.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
#PhotoModel .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
#PhotoModel .modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
#PhotoModel .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

    #PhotoModel.close:hover,
    #PhotoModel.close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    #PhotoModel.modal-content {
        width: 100%;
    }
}

.app-content {
    padding-top: 6px;
}

.app-navbar {
    background-color: #0f2f63 !important;
    background: linear-gradient(90deg, #0f2f63 0%, #164b9f 55%, #1f6ed4 100%) !important;
    border-bottom: 2px solid rgba(255, 255, 255, .18);
    box-shadow: 0 4px 14px rgba(6, 24, 52, 0.25);
}

.app-navbar .navbar-brand {
    color: #ffffff !important;
    line-height: 1;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
    display: flex !important;
    align-items: center;
    gap: .5rem;
}

.app-brand-icon {
    font-size: 1.65rem;
    opacity: .92;
    line-height: 1;
}

.app-brand-text {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: .01em;
}

.app-navbar .nav-link {
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 500;
    transition: background .15s ease, color .15s ease;
}

.app-navbar .nav-link:hover,
.app-navbar .nav-link:focus,
.app-navbar .show > .nav-link {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.16);
}

.app-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.4);
}

.app-navbar .dropdown-menu {
    border: 1px solid #dbe4f0;
    border-radius: 10px;
    padding-top: .4rem;
    padding-bottom: .4rem;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
}

.app-navbar .dropdown-header {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #64748b;
}

.app-navbar .dropdown-item {
    padding-top: .4rem;
    padding-bottom: .4rem;
    border-left: 3px solid transparent;
    transition: border-color .12s, background .12s;
}

.app-navbar .dropdown-item:hover {
    background-color: #eef4ff;
    color: #0a58ca;
    border-left-color: #3b82f6;
}

.card {
    border: 1px solid #e6edf7;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.04);
}

.card-header {
    background-color: #f3f7ff;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 78px;
    }

    .app-navbar .navbar-collapse {
        background: rgba(255, 255, 255, 0.97);
        margin-top: .5rem;
        padding: .5rem;
        border-radius: .5rem;
        border: 1px solid #cbd5e1;
    }

    .app-navbar .navbar-collapse .nav-link {
        color: #1f2937 !important;
    }
}

/* ── Authenticated user pill ─────────────────────────── */
.app-user-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: rgba(255, 255, 255, .9);
    font-size: .85rem;
    font-weight: 500;
    padding: .28rem .85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    white-space: nowrap;
}

/* ── Active / open nav link ───────────────────────────── */
.app-navbar .nav-link.active,
.app-navbar .nav-item.active > .nav-link {
    background: rgba(255, 255, 255, .22) !important;
    color: #ffffff !important;
    font-weight: 600;
}

/* ── Dropdown item icon tint ──────────────────────────── */
.app-navbar .dropdown-item i {
    color: #4b7cf3;
    min-width: 1.3em;
    display: inline-block;
    text-align: center;
}

/* end */



