﻿* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Cairo-Regular';
    src: url("../Fonts/Cairo-Regular.ttf");
}

@font-face {
    font-family: 'Cairo-Bold';
    src: url("../Fonts/Cairo-Bold.ttf");
}


body {
    font-family: Cairo-Regular, sans-serif;
    font-size: 16px;
    color: black !important;
    /* background-image: url('images/backgrd.jpg') online */
    background-image: url('../images/baks.jpg');
    background-repeat:no-repeat;background-size:auto;
   /* background-image: linear-gradient(to right top, #abc6f4, #bacff3, #cad9f1, #d9e2f0, #e9ebee);*/
}

.ForHeader {
    background-color: #15133C;
}
.ForBar {
    background-color: #F1EEE9;
}
.navbar-nav{
    padding:5px !important;
}
.navbar-nav .nav-link {
    color: #FFFFFF !important;
    padding: 5px;
    margin-left:20px !important;
}

.navbar-nav .nav-item:hover .nav-link {
    background-color: #35b04c !important;
    color: #FFFFFF !important;
    border-radius: 6px !important;
}

.dropdown .dropdown-menu a {
    color: #35b04c !important;
    font-weight:600;
}


.dropdown .dropdown-menu a:hover {
    background-color: #35b04c !important;
    color: #FFFFFF !important;
}

.navbar-light .navbar-toggler-icon {
    background-image: url('../images/menu.png')
}









/*  FOR Default Page    */
/*.sectionbg {
    
   

        background-image: url("../images/SectionBG.jpg");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: right,center;
    background-size: cover;
      background-color: #e5e5e5;
    opacity: 0.8;
    background-image: repeating-radial-gradient( circle at 0 0, transparent 0, #e5e5e5 10px ),
        repeating-linear-gradient( #d9d9d955, #d9d9d9 );
}*/

.sectiondfpg {
    /*height: 100vh;
    background: rgb(232,234,234);
    background: linear-gradient(180deg, rgba(232,234,234,0.21171796355260852) 49%, rgba(178,179,181,0.44421096075148814) 100%);*/
   /* background-image: url('images/back.jpg');
    background-size: cover;*/
}

.hero {  
    
    margin:0;
    background-color: #112397;
    padding:1px;
    clip-path: ellipse(55% 100% at 50.88% 0%);
}


.Text-Style {
    border-radius: 2px;    
    width: 200px;
    height: 35px;
    border: solid 2px #bcbcbc;
    
}
    .Text-Style:hover {
       /* box-shadow: 2px 2px 3px #87cdf4a9;*/
        border: solid 2px #636060;
    }


p {
   
    
    padding: 2px;
    margin: 2px;
   
}


.grdView {
    
    font-size: 16px;
    margin:0;
   
}

.checkboxlist input {
   
    color: #494949;
   
    margin-right: 2px !important;
}
.checkboxlist label {
    color: #494949;
    margin-right: 3px !important;
}

.testt2 > label  {
    color:red !important;
}

.Grdheader{
    color:black;
    font-weight:normal;
}
.GrdItems{
    color:#112397;
    font-size:17px;
}

.radio-spacing input[type="radio"] {
    margin-left: 5px; /* Adjust this value to increase/decrease the space */
}

.gridViewPager td {
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 1px;
    padding-bottom: 2px;
    color:cadetblue;
    background-color:#15133C;
    text-decoration:none;
    
}

.disabledDiv {
    opacity: 0.5; /* Set the desired opacity to make it appear disabled */
    pointer-events: none; /* Disable pointer events to prevent interactions */
}
.enabledDiv {
    color:black;opacity:1.0;pointer-events: auto;
}

.custom-gridview {
    width: 100%;
    border-collapse: separate; /* لتفعيل تقاطعات الزوايا السلسة */
    border-spacing: 0;
    background-color: #fff;
    font-family: 'Cairo', Tahoma, Arial, sans-serif;
    font-size: 15px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

    /* رأس الجدول */
    .custom-gridview th {
        background: linear-gradient(180deg, #198754cc, #198754);
        color: #fff;
        font-weight: 600;
        font-size: 12px;
        letter-spacing: .5px;
        padding: 10px 12px;
        position: relative;
        user-select: none;
    }

        /* إظهار أيقونات الترتيب عند التحويم */
        .custom-gridview th:hover::after {
            content: '⇅';
            position: absolute;
            right: 8px;
            font-size: 12px;
            opacity: 0.6;
        }

    /* صفوف البيانات */
    .custom-gridview td {
        padding: 12px;
        border-bottom: 1px solid #e0e0e0;
        color: #333;
        background-color: #fff;
        transition: background 0.2s, color 0.2s;
    }

    /* ألوان منقطة للصفوف */
    .custom-gridview tr:nth-child(even) td {
        background-color: #f9fafb;
    }

    /* تأثير التحويم على الصف */
    .custom-gridview tr:hover td {
        background-color: #fffbcc;
        color: #198754;
    }

    /* إزالة الحدود الزائدة عند آخر صف */
    .custom-gridview tr:last-child td {
        border-bottom: none;
    }

    /* ألوان حدود عمودية داخلية */
    .custom-gridview th:not(:last-child),
    .custom-gridview td:not(:last-child) {
        border-right: 1px solid #e0e0e0;
    }

    /* تظليل خفيف لعمود محدد */
    .custom-gridview td.highlight {
        background-color: #eafbea;
    }

    /* صف مميز */
    .custom-gridview tr.selected td {
        background-color: #d1f5d3;
        color: #0f5132;
    }

    .custom-gridview tr.table-success td {
        background-color: #d1f5d3 !important;
        color: #14532d !important;
    }

    .custom-gridview tr.table-danger td {
        background-color: #ffdddd !important;
        color: #8b1818 !important;
    }
.modern-header {
    background: linear-gradient(90deg, #00a651 0%, #26e472 100%);
    box-shadow: 0 4px 14px rgba(40,167,69, 0.13);
    border-radius: 0 0 24px 24px;
    padding: 4px 0 4px 0;
    position: relative;
    z-index: 2;
}

.header-title {
    color: #ffffff;
    font-weight: 400;
    letter-spacing: 1px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 10px;
}

    .header-title i {
        font-size: 1.4rem;
    }

.dashboard-bg {
    background: #f8f9fa;
}

.stat-card {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

    .stat-card:hover {
        transform: translateY(-5px);
    }

.grid-header {
    background: #019b4f !important;
    color: white !important;
}

.number {
    font-size: 2.2rem;
    font-weight: 700;
}

/* الحاوية الرئيسية للكارت */
.custom-search-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #eaeaea;
    transition: all 0.3s ease;
}

/* غلاف العناصر لترتيبها بشكل مرن ودعم الاتجاه من اليمين لليسار */
.search-wrapper {
    display: flex;
    align-items: center;
    gap: 12px; /* مسافة ثابتة وأنيقة بين كل عنصر والآخر */
    flex-wrap: wrap; /* لضمان التجاوب على الشاشات الصغيرة */
    direction: rtl;
}

/* تنسيق النص */
.search-label {
    font-size: 1rem;
    font-weight: 600;
    color: #4A5568;
    white-space: nowrap; /* يمنع نزول النص لسطر جديد */
}

/* حاوية التحديد لضمان عرض مناسب */
.select-container {
    min-width: 140px;
    flex-grow: 0;
}

/* تنسيق القائمة المنسدلة */
.custom-select {
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.95rem;
    color: #334155;
    background-color: #F8FAFC;
    transition: all 0.2s ease;
    cursor: pointer;
}

    .custom-select:focus {
        border-color: #10B981; /* لون أخضر مريح عند التحديد */
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
        background-color: #ffffff;
    }

/* حاوية الزر */
.button-container {
    flex-grow: 0;
}

/* تنسيق زر البحث */
.custom-search-btn {
    background-color: #10B981 !important; /* لون أخضر عصري (Emerald) */
    border: none !important;
    color: #ffffff !important;
    padding: 8px 32px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.2) !important;
    transition: all 0.2s ease !important;
}

    .custom-search-btn:hover {
        background-color: #059669 !important; /* درجة أغمق عند التمرير */
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
    }

    .custom-search-btn:active {
        transform: translateY(1px);
    }



.grid-header {
    background: #019b4f !important;
    color: white !important;
}

/* تحسين الـ Paging */
.pagination {
    justify-content: center;
    margin-top: 15px;
}

    .pagination a, .pagination span {
        margin: 0 4px;
        padding: 8px 14px;
        border-radius: 6px;
        border: 1px solid #ddd;
        color: #019b4f;
        text-decoration: none;
    }

        .pagination a:hover {
            background: #019b4f;
            color: white;
            border-color: #019b4f;
        }

    .pagination .active {
        background: #019b4f;
        color: white;
        border-color: #019b4f;
        font-weight: bold;
    }














@media (max-width: 576px) {
    .header-title {
        font-size: 1.25rem;
        gap: 8px;
    }

        .header-title i {
            font-size: 1.5rem;
            padding: 5px 10px;
        }

    .modern-header {
        border-radius: 0 0 14px 14px;
        padding: 16px 0 10px 0;
    }
}