:root {
    color-scheme: light !important;
    --tw-page-bg: #e7ecf2;

}
.dark{
    --tw-page-bg: #050a18;
}

html.dark {
    --background: #132132;
    --foreground: #e6eeff;
    --card: #ffffff0d;
    --card-foreground: #e6eeff;
    --popover: #0a1330;
    --popover-foreground: #e6eeff;
    --secondary: #101b3a;
    --secondary-foreground: #dfe9ff;
    --muted: #0E1726;
    --muted-foreground: #97acd6;
    --accent: #182a57;
    --accent-foreground: #edf3ff;
    --mono: #d7e4ff;
    --mono-foreground: #050a18;
    --border: #1f3360;
    --input: #45516a;
    --ring: #30558f;
}
.dashboard-stats svg path , .dashboard-stats svg circle {
    stroke: #000d1c !important;
}
.dark .dashboard-stats svg path , .dark .dashboard-stats svg circle {
    stroke: #00F0FF !important;
}

.dark .dashboard-theme-scope .dashboard-hero-panel {
    border-color: rgba(56, 189, 248, 0.35);
    background: linear-gradient(135deg, rgba(8, 47, 73, 0.88), rgba(30, 41, 59, 0.9), rgba(49, 46, 129, 0.88));
}

.dark .dashboard-theme-scope .dashboard-hero-stat {
    background: rgba(15, 23, 42, 0.62) !important;
    box-shadow: inset 0 0 0 1px rgba(71, 85, 105, 0.55);
}

.dark .dashboard-theme-scope .dashboard-chip-success {
    background: rgba(6, 78, 59, 0.45) !important;
    box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.35);
}

.dark .dashboard-theme-scope .dashboard-chip-warning {
    background: rgba(120, 53, 15, 0.45) !important;
    box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.35);
}

.dark .dashboard-theme-scope .bg-slate-100 {
    background-color: rgba(51, 65, 85, 0.55) !important;
}

.dark .dashboard-theme-scope .bg-slate-50 {
    background-color: rgba(15, 23, 42, 0.65) !important;
}

.dark .dashboard-theme-scope .border-slate-100 {
    border-color: rgba(71, 85, 105, 0.55) !important;
}

.dark .dashboard-theme-scope .text-cyan-950,
.dark .dashboard-theme-scope .text-cyan-900,
.dark .dashboard-theme-scope .text-cyan-700,
.dark .dashboard-theme-scope .text-emerald-900,
.dark .dashboard-theme-scope .text-emerald-700,
.dark .dashboard-theme-scope .text-amber-900,
.dark .dashboard-theme-scope .text-amber-700 {
    color: rgb(226, 232, 240) !important;
}

html.swal2-height-auto,
body.swal2-height-auto,
html.swal2-shown,
body.swal2-shown {
    height: 100% !important;
}

.fixed.inset-0.z-50 {
    z-index: 140 !important;
}

.gis-module .kt-table th,
.gis-module .kt-table td,
.gis-module table th,
.gis-module table td {
    text-align: center !important;
    vertical-align: middle !important;
}

.kt-modal-content {

    border-radius: 1rem;

   }
.kt-btn .show_loading{
    display: none;
}
.kt-btn .hide_loading{
    display: inline-flex;
}
.kt-btn.loading .show_loading{
    display: inline-flex;

}
.kt-btn.loading .hide_loading{
    display: none;

}
.ck-content{
    padding: 10px 30px;
}
.ck-content h1{
    font-size: 2rem !important;
    line-height: 2rem !important;
}
.ck-content h2{
    font-size: 1.8rem !important;
    line-height: 1.8rem !important;

}
.ck-content h3{
    font-size: 1.6rem !important;
    line-height: 1.6rem !important;

}
.ck-content h4{
    font-size: 1.4rem !important;
    line-height: 1.4rem !important;

}
.ck-content h5{
    font-size: 1.3rem !important;
    line-height: 1.3rem !important;

}
.ck-content ul{
    list-style: disc !important;
    margin: 5px 10px;
    padding: 0 5px;
}
.ck-content ol{
    list-style: decimal !important;
    margin: 5px 10px;
    padding: 0 5px;
}

.prose ul,
.prose ol {
    margin: 0.5rem 0 !important;
    padding-inline-start: 1.5rem !important;
}

.prose ul {
    list-style: disc !important;
}

.prose ul ul {
    list-style: circle !important;
}

.prose ol {
    list-style: decimal !important;
}

.prose li {
    display: list-item !important;
}

@page {

    size: A4;
    margin: 0;
    padding: 1cm;

}


h1 {
    font-size: 24px !important;
    line-height: 40px !important;
}

h2 {
    font-size: 22px !important;
}


.search_con {
    display: none;
}


.kt-input-date {
    -webkit-appearance: none;
    appearance: none;
    padding-inline-end: 2.5rem;
    padding-block: 0;
    line-height: calc(var(--spacing) * 8.5 - 2px);
    margin: 0;
}

[dir="rtl"] .kt-input-date {
    padding-inline-start: 0.75rem;
    padding-inline-end: 2.5rem;
    text-align: right !important;
}

.kt-input-date::-webkit-datetime-edit {
    padding: 0;
    line-height: calc(var(--spacing) * 8.5 - 2px);
}

.kt-input-date::-webkit-date-and-time-value {
    line-height: calc(var(--spacing) * 8.5 - 2px);
}

.kt-input-date::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
}

.kt-input-date::-webkit-calendar-picker-indicator {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

@media (max-width: 1023.98px) {
    .mobile-header-bg {
        background-color: var(--tw-page-bg) !important;
    }
}

@media print {

    .pt-\(--header-height\) {
        padding-top: 0 !important;
    }
    .search_con{
        display: block;
    }
    .bg-background {
        background-color: #ffffff !important;
    }
    .border-input {
        border-color: #fff !important;
    }
    #SEarch{
        display: none;
    }
    .HidePrint{
        display: none !important;
    }
    #header_container {
        display: none !important;
    }

    #sidebar {
        display: none !important;
    }

    #navbar {
        display: none !important;
    }
    #header {
        display: none !important;
    }

    #bredcrumbss {
        display: none !important;
    }

    #ACtions {
        display: none !important;
    }
    #select-all {
        display: none !important;
    }

    .menu,.kt-menu {
        display: none !important;
    }


    .CheckedItem {
        display: none !important;
    }

    #content_main_lev_con {
        margin: 0 !important;
        border: 0 !important;
    }
    #top_lvl_to_prt {
        padding: 0 !important;
    }
    .card-header, .kt-card-header{
        display: none !important;
    }
    .card-footer, .kt-card-footer{
        display: none !important;
    }

    .card, .kt-card{
        border: 0 !important;
    }
    table {
        width: 100%;
        border-collapse: collapse;
    }
    th, td {

    }
    thead {
        display: table-header-group; /* سر تكرار الترويسة */
    }
    tfoot {
        display: table-row-group;
    }
    tr {
        page-break-inside: avoid;
    }

    body {
        background-color: #fff;
    }


    .hide-print {
        display: none !important;
    }

    .footer, .kt-footer {
        display: none !important;
    }

    .print_only {
        display: block;
        width: 100%;
        top: 0;
        position: absolute;

    }

    .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl,
    .kt-container, .kt-container-fluid, .kt-container-lg, .kt-container-md, .kt-container-sm, .kt-container-xl, .kt-container-xxl {
        padding: 0;
    }

    :root {
        font-size: 12px;
    }



    .card .card-body ,
    .kt-card .kt-card-body {
        padding: 0 !important;
    }

    .border-bottom-ctm {
        padding-bottom: 30px;
        border-bottom: 2px dashed #000;
    }

    .table td, .table tr, .kt-table td, .kt-table tr {
        border-color: #000000 !important;
        border-width: 1px !important;
        border-style: solid !important;
        text-transform: inherit !important;
        font-weight: 400 !important;
        font-size: 12px !important;
        color: #000 !important;
        padding: 5px !important;

    }

    .table th, .kt-table th {
        border-color: #000000 !important;
        border-width: 1px !important;
        border-style: solid !important;
        text-transform: inherit !important;
        font-weight: 600 !important;
        font-size: 12px !important;
        color: #000 !important;
        padding: 5px !important;

    }

    .table tbody tr:last-child td, .table tbody tr:last-child th, .table tfoot tr:last-child td, .table tfoot tr:last-child th,
    .kt-table tbody tr:last-child td, .kt-table tbody tr:last-child th, .kt-table tfoot tr:last-child td, .kt-table tfoot tr:last-child th {
        border-color: #000000 !important;
        border-width: 1px !important;
        border-style: solid !important;
    }

}
