
  @import url('https://fonts.googleapis.com/css2?family=Changa:wght@200..800&display=swap');
body {
    background-color: #f5f5f5;
    margin: 0;
    padding:10px 20px;
    --blue-color:#0B034C;
    --blue-color_light:#78bef1c8;
    --blue-color_light_hover:#326c96c8;
    --blue-color_light2:#4985e03c;
    --input-hovered-color: #4985e01f;

    --brown_color:#4d3322;
    --yellow_ligth:#d6a96c;
    --gray_color:#6d6d6d;
    --gray_ligth:#dee2e6;
    --gray_ligth_hover:#dadada;
    --gray_ligth_opacity:#dadada76;

    --box_shadow: 1px 1px 7px rgba(0, 0, 0, 0.071);
    --box-shadow1: 0 1px 10px rgba(0, 0, 0, 0.041);
    --box-shadow2: 0 4px 20px rgba(0, 0, 0, 0.5);
    
}

.aily1 {
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    padding: 30px;
    max-width: 400px;
    margin:auto;
    margin-top: 50px;
    height: 500px;
    box-shadow: var(--box-shadow2);
    font-family: "Changa", sans-serif;
}
.aily2 {
    position: relative;
    margin: 20px 0; /* زيادة المسافة بين الإدخالات */
}
/* هذا مال ايقونات تسجيل دخول */
.aily2_img {
    position: absolute;
    margin-left: -5px;
    top: 62PX;
    transform: translateY(-50%);
    font-size: 23px;
    color: #0B034C;
}
/* هذا مال ايقونات انشاء حساب  */

.aily2 input {
     width: 80%;
    padding: 10px 20px 10px 20px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 13px;
    MARGIN-TOP: 40PX;
    text-align: right;
    margin-right: 20px;
    font-family: "Changa", sans-serif;

}
.aily2 input:focus {
    border-color: var(--yellow_ligth); /* تغيير لون الإطار عند التركيز */
    outline: none; /* إزالة الإطار الافتراضي */
}

.aily3 {
  width: 140px;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: var(--yellow_ligth);
    color: white;
    font-size: 16px;
    transition: background-color 0.3s;
    margin-top: 50px;
    font-family: "Changa", sans-serif;
}

.aily3:hover {
  background-color: var(--blue-color_light_hover); /* لون الزر عند التمرير */
  color:white;
}

.ailyh {
    color: var(--blue-color);
    font-size:25px;
    position: relative;
    display: inline-block; /* لجعل الخط يمتد تحت العنوان */
}

.ailyh::after {
    content: "";
    display: block;
    width: 100%; /* عرض الخط بالكامل */
    height: 2px; /* سمك الخط */
    background-color: rgb(0, 0, 0); /* لون الخط */
    margin-top: 10px; /* المسافة بين العنوان والخط */
    position: absolute;
    left: 50%; /* وضع الخط في المنتصف */
    transform: translateX(-50%) scaleX(0); /* بدء الخط من المنتصف مع تكبيره من الصفر */
    transition: transform 1.0s ease; /* إضافة تأثير الانتقال */
    animation: extendLine 1.0s forwards; /* تطبيق الحركة عند التحميل */
}
@keyframes extendLine {
    0% {
        transform: translateX(-50%) scaleX(0); /* بدء من الصفر */
    }
    100% {
        transform: translateX(-50%) scaleX(1); /* انتهاء بالعرض الكامل */
    }
}

.aily5 {
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    padding: 30px;
    max-width: 500px;
    margin: auto;
    margin-top: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    height: 650px;
    font-family: "Changa", sans-serif;
  }

    .aily6{
      width: 140px;
      padding: 10px;
      margin: 10px 0;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      background-color: var(--yellow_ligth);
      color: white;
      font-size: 16px;
      font-family: "Changa", sans-serif;
      transition: background-color 0.3s;
      margin-top: 30px;
    }

    .aily6:hover {
    background-color: var(--blue-color_light_hover); /* لون الزر عند التمرير */
    color: white;
}

.Error1{
  color: #160D53;
    margin-bottom: -40px;
    font-size: 22px;
    margin-top: -10px;
    font-weight: bold;
}
.Error2 {
    color: #160D53;
    margin-bottom: -20px;
    font-size: 24px;
    margin-top: 10px;
    font-weight: bold;
}
/* هنا يبلش ستايل الادمن  */

.aily7-sidebar {
    width: 250px;
    background-color: white;
    color: #333;
    padding: 20px 10px;
    min-height: 110vh;
    position: fixed;
    right: -300px;
    transition: right 0.3s;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    margin-top: -17px;
    font-family: "Changa", sans-serif;

}
.ayo_15_a{
    margin-top: -3px;

}
.ayo_15{
  font-family: "Changa", sans-serif;

}
/* chnage */
.aily7-sidebar > .sidebar_title h2{
    font-size: 17.5px;
}

.aily7-sidebar.open {
    right: 0;
}

/* هذا هنا مال القائمه الجانبية  */
.aily7-sidebar > a {
    color: var(--brown_color);
    text-decoration: none;
    display: flex;
    padding: 12px 0;
    position: relative;
    font-weight: 400;
    justify-content: flex-end; /* محاذاة العناصر إلى اليمين */
    padding-right: 10px; /* إضافة مسافة داخلية لليمين */
    /* change */
    margin-bottom: 10px;
    font-size: 16px;
    align-items: center;
    text-align: start;
}  
/* change */
.aily7-sidebar a span{
    width:  150px;
    text-align: right;
   
}
.aily7-sidebar a  .sidebar-icon {
    margin-inline:25px 10px !important;
    font-size:18px;
    color:var(--yellow_ligth) ;
}

.aily7-sidebar a:nth-of-type(1) span{
    margin-right:-10px ;
} 
.aily7-sidebar a:hover {
    background: #0B034C;
    color: #ffffff;
}
.aily7-sidebar a:hover .sidebar-icon{
    color: var(--blue-color_light);
}
.aily7-header_admin {
  display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding-top: 10px;
}

.aily7-toggle-button11 {
   position: absolute;
    right: 20px;
    transition: right 0.3s;
    background: none;
    border: none;
    font-size: 30px;
    color: #0B034C;
    cursor: pointer;
}
.time {
    font-family: sans-serif;
    position: absolute;
    left: 122px;
    font-size: 14px;
    font-weight: 700;
    background: var(--blue-color);
    color: white;
    padding: 7px 14px;
    border-radius: 7px;
}
/* هذا المسافه و سوالف المربعات مال الجسم  */
.aily10 {
    padding: 20px;
    padding-top: 50px;
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); /* تحدد الحد الأدنى للعرض */
    transition: margin-right 0.3s;
    row-gap: 50px; /* للمسافة العمودية */
    column-gap: 40px; /* للمسافة الأفقية */
    margin-right: 300px;
    font-family: "Changa", sans-serif;
    direction: rtl;


}

/* هذا مالت حجم الايقونه من القائمه الجانبيه مفتوحه */
.aily10.collapsed {
    margin-right: 0px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* عندما تكون القائمة الجانبية مفتوحة */
    transition: margin-right 0.3s;
}
/* هذا مال المربع نفسه مال الجسم */
.aily11 {
    background-color: #0B034C;
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: left; /* تغيير المحاذاة إلى اليسار */
    height: 180px;
    cursor: pointer;
    position: relative; /* إضافة هذه الخاصية لجعل الإعدادات التالية تعمل */
}
/* هذا مال الايقونه الي داخل المربع  */
.aily11_frontosom {
    color:white;
    font-size: 40px;
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);

}

/* هذا مال الاسم الداخل المربع */
.aily11_name {
    font-weight: 500;
    font-size: 23px;
    position: absolute;
    text-align: center;
    left: 200px;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
/* هذا مال الاسماء الطوال الداخل المربع */
.aily11_1name{
    font-weight: bold;
    font-size: 45px;
    position: absolute;
    left: 140px;
    bottom: 20px;transform: translateX(-10%);

}
/* هذا مال الرقم الداخل المربع */

/* هنا يتغير لون المربع عند التمرير  */
.aily11:hover {
    background-color: white; /* لون الخلفية عند التمرير */
    color: #0B034C; /* لون النص عند التمرير */
    box-shadow: var(--box-shadow1);
   
}

/* هنا يتغير لون العناصر الي بداخل المربع الى بنفسجي عند التمرير  */
.aily11:hover .aily11_frontosom,
.aily11:hover .aily11_name,
.aily11:hover .aily11_1name {
    color: #0B034C; /* لون العناصر عند التمرير */
}
/* هذا مال الجرس الي ب هدر الادمن  */
.aily_iconhedr{
   position: absolute;
    left: 70px;
    font-size: 25px;
    color:var(--blue-color);
    top: 20px;  
}
/* change */
.ayo_17{
    left: 30px;
    top: -10px;

}
.notification-icon {
    position: relative;
    display: inline-block;
}
.outer-circle {
    position: absolute;
    border: 2px solid #01004b89;
    border-radius: 50%;
    width: 20px; /* حجم الدائرة الخارجية */
    height: 20px; /* حجم الدائرة الخارجية */
    left: 64px;
    top: 25px;
    margin-left: -35px; /* نصف العرض */
    margin-top: -35px; /* نصف الطول */
    animation: pulse 1.5s infinite, flash 1.5s infinite;
}

.inner-circle {
    position: absolute;
    border: 2px solid #01004b89;
    border-radius: 50%;
    width: 35px; /* حجم الدائرة الداخلية */
    height: 35px; /* حجم الدائرة الداخلية */
    left: 47px;
    top: 7px;
    margin-left: -25px; /* نصف العرض */
    margin-top: -25px; /* نصف الطول */
    animation: pulse 1.5s infinite, flash 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes flash {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* هنا يبدي صفحه الاصناف  */

.aily12 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 20px;
    border-radius: 5px;
}
.aily12aa1{
  display: flex;
  flex:1;
  justify-content: space-between;
  align-items: center;
}
.aily14 {
    padding: 9px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 200px;
    text-align: right;
    font-size: 12px;
    outline: none;
    font-family: "Changa", sans-serif;
}
.aily15 {
    background-color: var(--yellow_ligth); 
    color: #ffffff; /* اللون الجديد */
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    position: relative; /* تغيير الموقع */
    font-family: "Changa", sans-serif;

}
  #editForm,#addForm{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
.aily15:hover {
    background-color: #ffffff; /* لون الزر */
    color: #0B034C; /* اللون الجديد */
}

table {
    width: 100%;
    margin-top: 20px; /* مسافة فوق الجدول */
    border-collapse: collapse; /* إزالة الفراغات بين الحدود */
}

th, td {
    padding: 15px;
    border: 1px solid #ccc;
    text-align: right; /* توسيط النص إلى اليمين */
}

thead {
    background-color: var(--brown_color); /* اللون الجديد */
    color: white;
}

.edit-icon, .delete-icon {
    margin-left: 10px; /* مسافة بين الأيقونات */
    cursor: pointer; /* تغيير شكل المؤشر عند المرور فوق الأيقونة */
    color: #0B034C; /* اللون الجديد */
    font-size: 18px; /* حجم الأيقونة */
}

.edit-icon:hover, .delete-icon:hover {
    color: var(--yellow_ligth); /* تغيير اللون عند التمرير فوق الأيقونة */
}

.aily16{
    margin-top: 30px; /* إعداد الهوامش العلوية */
}
.aily16 thead tr th{
    text-align: center;
    font-size: 14px;
    font-weight: 400;
}
.aily16 tbody tr td{
    text-align: center;
    font-size: 14px;
}
.aily18 {
     display: none; /* بدءاً تكون مخفية */
    position: fixed;
    z-index: 1; /* يجب أن تكون فوق كل شيء */
    left: 0;
    top: 0;
    width: 100%; /* عرض كامل النافذة */
    height: 100%; /* ارتفاع كامل النافذة */
    overflow: auto; /* إضافة تمرير إذا لزم الأمر */
    background-color: rgba(0,0,0,0.5); /* حالة شفافة */
}

.aily19 {
    background-color: #ffffff; /* لون الخلفية */
    margin: 10% auto; /* موقع 15% من الأعلى ووسط الصفحة */
    padding: 20px;
    border: 1px solid #888;
    max-width: 400px; /* عرض النموذج ليكون عمودي */
    border-radius: 10px; /* زوايا مستديرة */
    height: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* ظل خفيف */
}

.close {
    color: #aaa; /* لون الزر للتقريب */
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black; /* تغيير اللون عند التحويم */
    text-decoration: none;
    cursor: pointer;
}

h2 {
    text-align: center; /* وسط النص */
    color: #0B034C; /* لون العنوان */
}

.aily12h1{
    flex: 1; 
    text-align: center; 
    font-weight: 500;
    font-size: 30px;    
}

.aily20 {
    background-color: #0B034C;
    color: white;
    padding:7px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 50%;
    font-size: 18px;
    font-family: "Changa", sans-serif;

}

.aily20:hover {
    background-color: var(--yellow_ligth); /* تغيير اللون عند التحويم */
}
.itemsname {
    width: 89%;
    padding: 10px 20px 10px 20px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    MARGIN-TOP: 25PX;
    margin-bottom: 30px;
    text-align: right;
    direction: rtl;
    margin-right: 20px;
}
/* تصميم الهواتف */
@media (max-width: 768px) {
    .aily12 {
        flex-direction: column;
        align-items: center;
    }
    .aily12aa1{
      flex-direction: row-reverse;
      width:100%;
      margin-bottom: 40px;

    }
    .aily12h1_1{
      width: 100%;
    }
    .aily12h1 {
      
        margin: 0; /* إزالة الهوامش */
        text-align: center; /* وسط العنوان */
        order: 1; /* وضع العنوان في المكان الأول */
    }
    .aily14 {
        /* margin: 10px 0; إضافة مسافة فوق وتحت حقل البحث */
        width: 80%; /* جعل الحقل يأخذ العرض المناسب */
        /* order: 2; وضع حقل البحث في المكان الثاني */
    }
    .aily15 {
        margin-top: 10px; /* إضافة مسافة فوق الزر */
        width: 100%; /* جعل الزر يأخذ كامل العرض */
        order: 3; /* وضع الزر في المكان الثالث */
    }
    .aily15_11{
      width:fit-content;
    }
}
/* هنا ستايل فاتوره الشراء يبدي */


.aily21 {    /* عنوان الصفحة */
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    color: #eeeeee69;
    color: var(--yellow_ligth);
    margin-top:40px;
    font-weight: 650;

}

.aily22 {
    background-color: #dddddd5e;; /* لون البوكس رصاصي */
    background-color: transparent;; /* لون البوكس رصاصي */
    border-radius: 8px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    padding: 20px;
    margin-bottom: 20px;
    /* إضافة padding للحد من الإندماج في الحواف */
    padding-left: 20px;
    padding-right: 20px;
}

.aily23 { /* عنوان القسم */
    margin-bottom: 10px;
    color: var(--brown_color);
    font-weight: 600;
    font-size: 20px;
}
.aliy23a{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}
.aily24 { /* مجموعة الحقول */
    margin-bottom: 15px;
    /* width:65%; */
}

.aily25 {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.aily26 {
    width: calc(100% - 30px); /* تقليل العرض بقدر padding */
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 16px;
    font-size: 12px;
    background-color:var(--blue-color);
    color: white;
    font-family: "Changa", sans-serif;

}

/* جدول المواد */
#items-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}

#items-table th, #items-table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

#items-table th {
    background-color: #f0f0f0;
    font-weight: 500;
    color: black;
    font-size: 14px;
}

#items-table tr:nth-child(odd) {
    background-color: #f2f2f2;
    color: black;
}

#items-table tr:nth-child(even) {
    background-color: #ffffff;
     color: black;
}

.fa-edit {
    color: #333;
    cursor: pointer;
}

/* أزرار الحفظ والطباعة */
.aily30 {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap:10px;
    width: 100%;
    margin-top: 20px;

}

.aily27 {
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: var(--yellow_ligth);
    color: #fff;
    transition:all .5s ease-in ;
    font-family: "Changa", sans-serif;

}

.aily27:hover {
  background-color: var(--brown_color); /* تدرج لون الزر عند التحويم */

}
.aily27#savePrintButton,.aily27#saveAndPrint{
  background-color: var(--gray_ligth);
  color: var(--blue-color);
}
.aily27#savePrintButton:hover,.aily27#saveAndPrint:hover{
  background-color: var(--brown_color);
  color: white;

}
.delete-button{
  background-color: transparent;
  border: none;
  outline: none;
  color: var(--yellow_ligth);
  font-size: 16px;
}
.delete-button:hover{
  cursor: pointer;
}
/* استايلات إضافية */

.aily26::placeholder {
    color: white; /* لون النص في الحقول */
}

.aily26:focus {
    outline: none;
    border-color: var(--yellow_ligth); /* لون الحقل عند التركيز */
}
.add-item-btn {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}
.add-item-btn:hover {
    background-color: #555; /* تدرج لون الزر عند التحويم */}


#search-results {
    max-height: 150px;
    border: 1px solid #ccc;
    position: absolute;
    background: white;
    z-index: 10;
    overflow-y: auto; /* Add this line for vertical scrolling */
}

/* product.php */
.ayo_00{
    text-decoration: none;
    margin-right:50px;
    font-size: 13px;
    display: inline-block;
    background-color: var(--blue-color);
    color: white;
    padding: 7px 20px;
    transition: all .5s ease-in;
}
.ayo_00:hover{
    color: var(--blue-color);
    background-color: white;
    border: 2px solid var(--brown_color);
    font-size: 13px;
}
.ayo_13 {
    text-decoration: none;
    background-color: #4985e01f;
    padding:6px 9px;
    color:#0B034C;
    border-radius: 4px;
    position: relative;
    margin-right:7px;
    font-size: 14px;
}
.ayo_13 > p{
    display: inline-block;
    opacity: 1;
    transition:  all .3s ease-in-out;
    margin-right:17px ;
    margin-block:0;

}
.ayo_13:hover > p{
    opacity: 0;
}
.ayo_13 > i{
    position: absolute;
    top:50%;
    right:7%;
    transform: translate(0%,-50%);
    transition:  all .3s ease-in-out;

}
.ayo_13:hover > i{
    position: absolute;
    top:50%;
    left:50%;
    color: var(--yellow_ligth);
    transform: translate(-50%,-50%);
}

.ayo_16 {
    width: calc(100% - 290px) ; /* إعداد العرض الأساسي للمحتوى */
    transition: width 0.3s; /* إضافة تأثير الانتقال */
}
.ayo_18{
    background-color: white;
    border: 1.5px solid #ccc;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: right;
}
.ayo_18 input{
    border: none;
    outline: none;
    flex: 1;
}
.ayo_18 button{
    background-color: transparent;
    border:none;
    cursor: pointer;
}
.ayo_20{
    display: none;
}
.ayo_21{
    margin-top: 20px;
    width: 80%;
    display: none;
}
/* add product page  */
.ayo_0{
    display: flex;
    font-family: "Changa", sans-serif;
    background-color: #f9f9f9;
    justify-content: center;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
    margin: 0px;
    padding: 0;
}

.ayo_0_arrow{
    position: absolute;
    top:15px;
    left: 15px;
    z-index: 1;
    color:var(--blue-color);
    font-size: clamp(15px ,1vw + 1rem , 25px);
    animation: poparrow  2s forwards;
}
@keyframes poparrow {
  0%{
    opacity: 0;
    transform: scale(0);
    
  } 
  100%{
    opacity: 1;
    transform: scale(1);
  } 
}
.ayo_1{
    display: flex;
    width: 80%;
    max-width: 1100px;
    min-height:500px;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    margin:20px;
    box-shadow: 1px 1px 10px #00000018;
    animation: popscreen 1.5s forwards;
}
@keyframes popscreen {
  0%{
    opacity: 0;
    transform: scale(0);
    
  } 
  100%{
    opacity: 1;
    transform: scale(1);
  } 
}

.ayo_2{
    flex: 1;
    display: flex;
    justify-content: end;
    align-items: center;
    position: relative;
    background-color: #0B034C;
}
img.ayo_4,.ayo_3 {
    width: clamp(350px ,1vw + 33rem , 750px);
    height: clamp(350px ,1vw + 33rem , 750px);
    position: absolute;
    top: 50%;
    left: -318px;
    transform: translateY(-50%);
    border-radius: 50%;
    overflow: hidden;
}
.ayo_3{
    background-color: var(--blue-color);
    left: -148.4px;
    z-index: 1;
    width: 280px;
    height: 280px;
}
.ayo_5 {
    padding: 20px;
    flex: 1;
    width:50%;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.ayo_5 h2 {
    font-size: clamp(15px ,1vw + 1.4rem , 25px);
    margin-block: 15px 40px;
}
.ayo_6{
    width: 100%;
    display: flex;
    flex-direction: column;
}
.ayo_7 {
    --width-of-input: 95%;
    --border-height: 1px;
    --border-before-color: rgba(221, 221, 221, 0.39);
    --border-after-color: #19006b;
    position: relative;
    width: var(--width-of-input);
    margin-bottom: 35px;
}
#carton_price_display,#single_price_display{
  direction: rtl;
}
.label_ayo_8{
  position: absolute;
  top:45%;
  right: 0px;
  text-align: center;
  font-size: 12.5px;
  min-width: 100px;
  z-index: -1;
  color: transparent; 
}
.ayo_8:focus + .label_ayo_8,.ayo_8:not(:placeholder-shown) + .label_ayo_8,.ayo_8.has-value + .label_ayo_8{
    top:-12px;
    color:rgba(0, 0, 0, 0.603);
    z-index: 1;


}
.ayo_8:focus::placeholder{
  color: transparent;
}
/* styling of Input */
.ayo_8,.ayo_8_label {
 color: #0c0053;
 font-size: 13px;
border-radius: 10px;
box-shadow: var(--box-shadow1);
 width: 100%;
 box-sizing: border-box;
 padding:15px;
font-family: "Changa", sans-serif;
 border: none;
 text-align: right;
 cursor: pointer;
 border-bottom: var(--border-height) solid var(--border-before-color);
}
input[type="file"].ayo_8 {
    display: none;
}

.ayo_8_label{
    display: block; 
    color:#858585


}
/* Hover on Input */
.ayo_8:hover,.ayo_8_label:hover {
 background: var(--input-hovered-color);
}

.ayo_8:focus {
 outline: none;
}
/* styling of animated border */
.ayo_9 {
 position: absolute;
 background: var(--border-after-color);
 width: 0%;
 height: 2px;
 bottom: 0;
 right: 0;
 transition: 0.3s;
text-align: right;
}
/* here is code of animated border */
.ayo_8:focus ~ .ayo_9,.ayo_8_label:focus ~ .ayo_9 {
 width: 100%;
}
.ayo_10{
    margin-inline: auto;
    margin-top: -14px;
    width:fit-content;
    padding: 10px 30px;
    border: none;
    cursor: pointer;
    font-size: 17px;
    background-color:var(--yellow_ligth) ;
    color: white;
    font-family: "Changa", sans-serif;
    display: inline-block;
    transition: all .3s ease-in ;
}
.ayo_10:hover{
    background-color:var(--brown_color) ;
    border-radius: 5px;
}
.Error2_addproduct {
    color: #840000;
    font-size: clamp(12px ,1vw + .7rem , 18px);
    margin-top: -40px;
    font-weight: bold;
    justify-self: start;
    width: 100%;
    text-align: right;
}
#successMessage_ayo11{
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed; 
    top: 0%; 
    left: 0%;
    width:100%;
    height:100vh;
    background-color: #ffffff;
    color: white;  
    z-index: 1000;
    transform: scale(0);
    opacity: 0;
    transition: transform .5s ease, opacity .5s ease;
}
#successMessage_ayo11.show {
    transform: scale(1);
    opacity: 1;
} 
.successMessage_thank{
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--blue-color);
  color: white;
}

.ayo_12{
    width:30%;
    height:40vh;
    background-color: #0a0148;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    font-size: clamp(15px ,1vw + 1rem , 25px);
}
.pagination{
   display: flex;
   width: fit-content;
   margin-inline: auto;
   margin-block: 40px;
}
.pagination a{
    text-decoration: none;
    margin-left: 8px;
    color:black;
    font-size: 15px;   
}
.pagination a.active{
    font-weight: 700 !important;
    color:var(--blue-color) !important;

}
.icon_detail_report{
  color:var(--blue-color);
}
.icon_detail_report:hover{
  color: var(--yellow_ligth) !important;
}
/* sale_report.php */
.ayo_22 form{
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-block: 70px;
}
.ayo_22 form .ayo_24 input,.ayo_22 form .ayo_23 button{
    padding:10px ;
    background-color: var(--blue-color);
    color: white;
    outline: none;
    border-radius: 10px;
    border: none;
    cursor: pointer;
}
.ayo_22 form .ayo_24 input:last-of-type{
    margin-left: 20px;
}
.ayo_22 form .ayo_23 button{
    padding: 10px 20px;
    font-size: 16px;
    background-color: #333;
    transition: all .5s ease-in;
    font-family: "Changa", sans-serif ;

}
.ayo_22 form .ayo_23 button i{
    padding-left: 10px;
    transition: all .5s ease-in;

}
.ayo_22 form .ayo_23 button:last-of-type{
    margin-left: 10px;
    font-family: "Changa", sans-serif ;
    font-size: 13px;

}
.ayo_22 form .ayo_23 button:hover{
    background-color: var(--blue-color);
}
.ayo_22 form .ayo_23 button:hover i{
    color: var(--blue-color_light);
}

/* product page */
@media (max-width:1205px) and (min-width:100px) {
    .ayo_15{
        padding-inline:5px ;

    }
    .ayo_16{
      width: 100%;
    }
}

@media (max-width:900px) and (min-width:100px) {
    .aily7-sidebar.open + #mainContent .ayo_13 p{
        display: none;
    }
    .aily7-sidebar.open + #mainContent .ayo_13 {
        display: block;
        margin-bottom: 19px ;
        background-color: transparent;
    }
    .ayo_18 input{
        width: 100px;
        padding: 5px;
    }
    .ayo_00{
        padding-inline: 9px;
        width: fit-content;
    }

}
@media (max-width:800px) and (min-width:100px) {

    .aily7-sidebar.open + #mainContent .ayo_19{
        width: 50px !important;
        height: 50px !important;
    }
    .ayo_22 form .ayo_24 input{
        font-size: 12px;
        padding:10px 7px ;  
    }
    .ayo_22 form .ayo_24 input:last-of-type,
    .ayo_22 form .ayo_23 button:last-of-type{
        margin-left: 5px;
    }
    .ayo_22 form .ayo_23 button{
        padding: 10px 15px;
        font-size: 14px;
    }
}
@media (max-width:750px) and (min-width:100px) {
    .ayo_13{
        background-color: transparent;
    }
    .ayo_13 p{
        display: none;
    }
    .edit-icon,.delete-icon{
        font-size: 14px;
        margin-bottom: 6px;
    }
    .ayo_19{
        width: 50px !important;
        height: 50px !important;
    }
    .aily16 tr td{
        font-size: 14px;
        padding: 5px;
    }
       .aily7-sidebar.open + #mainContent .ayo_13 {
        margin-right: 15px ;
    }

    .aily7-sidebar.open + #mainContent .ayo_00{
        display: none !important;
    }
    .aily7-sidebar.open + #mainContent .ayo_18{
        display: none ;
    }
    .aily7-sidebar.open + #mainContent .ayo_20{
        display:block !important;
        margin-right: 0px;
        border-radius: 5px;
    }
    .aily7-sidebar.open + #mainContent .ayo_21{
        display: flex;
    }
    .aily7-sidebar.open + #mainContent .ayo_19{
        width: 30px !important;
        height: 30px !important;
    }
}

@media (max-width:675px) and (min-width:100px) {
    .aily7-sidebar.open h2{
        font-size:15px ;
    }
    .aily7-sidebar.open + #mainContent{
        width: calc(100% - 170px)!important ;
    }
    .aily7-sidebar.open + #mainContent .ayo_13 {
        margin-right: 19px ;
    }
    .aily7-sidebar.open + #mainContent .ayo_13, .ayo_13,.aily7-sidebar.open + #mainContent .delete-icon {
       font-size: 14px ;
    }
    .aily7-sidebar.open a span{
        font-size: 14px;
    }
    .ayo_22 form .ayo_24 input,.ayo_22 form .ayo_23 button{
        display: block;
    }
    .ayo_22 form .ayo_23 {
        display: flex;
        flex-direction: column-reverse;
        
    }

    .ayo_22 form .ayo_24 input:last-of-type{
        margin-left: 0px;
        margin-top: 20px;
    }
    .ayo_22 form .ayo_23 button:first-of-type{
        margin-left: 0px;
        margin-top: 20px;
    }
}

@media (max-width:570px) and (min-width:100px) {
    .ayo_00{
        padding: 5px;
        margin-right: 30px;
        font-size: 14px;
    }

    .aily12h1{
        font-size:25px;
    }
    .pagination a{
        font-size: 15px;   
    }
    .aily15_11{
      padding: 7px;
    }

}
@media (max-width:450px) and (min-width:100px) {
    .ayo_00{
        display: none !important;
    }
    .ayo_18{
        display: none ;
    }
    .ayo_20{
        display:block !important;
        margin-right: 0px;
        border-radius: 5px;
        font-size: 12px ;
        
    }
    .ayo_21{
        display: flex;
    }
    .ayo_19{
        width: 30px !important;
        height: 30px !important;
    }
    .edit-icon,.delete-icon{
        font-size: 12px;
        margin-bottom: 6px;
    }
    .aily7-sidebar.open + #mainContent .aily12h1,.aily7-sidebar.open + #mainContent .ayo_18{
        display: none !important;
    }
}

/* add_product page */


@media (max-width:400px) and (min-width:100px) {

        .ayo_22 form .ayo_24 input{
        font-size: 10px;
        padding: 7px ;  
    }
    .ayo_22 form .ayo_23 button{
        padding: 7px ;
        font-size: 12px;

    }
    .ayo_22 form .ayo_23 button i{
        font-size: 10px;
    }
    .aily7-sidebar.open + #mainContent .ayo_23 button{
        background-color: transparent;
    }
    .aily7-sidebar.open + #mainContent .ayo_23 button i{
        color: #333;
        font-size: 14px;
    }
    .aily7-sidebar.open + #mainContent .ayo_23 button span{
        display: none;
    }

}

.item {
    padding: 5px;
    cursor: pointer;
}
.item:hover {
    background-color: #f0f0f0;
}
.aily31{
    margin-right: 270px;

}
.aily31.collapsed {
    margin-right: 0px;}

@media (max-width: 768px) {
    .aily31 {
        margin-right: 230px; /* إزالة الفراغ من اليمين */
    }

    .aily31.collapsed {
        margin-right: 90PX; /* إبقاءها بدون فراغ من اليمين */
    }
    .aily7-toggle-button11_invoice{
      right:270px !important;
    }
    .aily24 > .aily26{
      width:99%;
    }
    .aily21{
      font-size: 25px;
    }
}
.aily7-sidebaraa {
    width: 250px;
    background-color: white;
    color: #333;
    padding: 20px;
    height: 100vh;
    position: fixed;
    right: -300px;
    transition: right 0.3s;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    margin-top: -40px;
}

.aily7-sidebaraa.open {
    right: 0;
}
/* هذا هنا مال القائمه الجانبية  */
.aily7-sidebaraa a {
    color: #333;
    text-decoration: none;
    display: flex;
    padding: 10px 0;
    position: relative;
    font-size: x-large;
    font-weight: bold;
    padding-right: 20px; /* إضافة مسافة داخلية لليمين */
}  

.sidebar-icon {
    margin-left: 10px; /* المسافة بين الأيقونة والنص */
}
.aily7-sidebaraa a:hover {
    background: #0B034C;
    color: #ffffff;
}

.confirm-delete {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
justify-content: center;
align-items: center;
z-index: 1000;
}
.confirm-delete .content {
background: white;
padding: 20px;
border-radius: 5px;
text-align: center;
}
.confirm-delete .content button {
margin: 10px;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
}
.confirm-delete .content button.cancel {
background: var(--gray_ligth);
color: rgb(0, 0, 0);
font-family: "Changa", sans-serif;

}
.confirm-delete .content button.confirm {
background: var(--blue-color);
color: white;
  font-family: "Changa", sans-serif;


}
/* add_customer start  */
.aily5c {
    background-color: var(--gray_ligth_opacity);
    border-radius: 10px;
    padding: 30px;
    max-width: 450px;
    margin: auto;
    margin-top: 10px;
    box-shadow: var(--box-shadow2);
    height: 650px;
    font-family: "Changa", sans-serif;

}
.aily2c {
    position: relative;
    margin: -5px 0; /* زيادة المسافة بين الإدخالات */
}
.aily2c input {
    width: 80%;
    padding: 10px 20px 10px 20px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 13px;
    margin-top: 40PX;
    text-align: right;
    margin-right: 20px;
    font-family: "Changa", sans-serif;

}
.aily2c input:focus,.aily2c textarea:focus  {
    border-color: var(--yellow_ligth); /* تغيير لون الإطار عند التركيز */
    outline: none; /* إزالة الإطار الافتراضي */
}
.aily2c textarea {
    width: 80%;
    padding: 10px 20px 10px 20px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    margin-top: 40PX;
    text-align: right;
    margin-right: 20px;
    resize: none;
    outline: none;
    
}
.aily2new_imgc {
    position: absolute;
    top: 62PX;
    transform: translateY(-50%);
    font-size: 21px;
    color:var(--blue-color);
}


/* هنا ستايل تفاصيل الفاتورة  */

.invoice-container {
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 800px;
  text-align: right;
  position: relative;
  overflow: hidden;
}

/* شعار */
.logo ,.circle,.circle_sec{
  position: absolute;
  top: -60px;
  left: -60px;
  width: 150px;
  height: 150px;
  background-color: var(--yellow_ligth);
  border-radius: 50%;
  transform: rotate(-45deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.circle{
  top: -20px;
  left: 0px;
  z-index: 2;
  background-color: var(--blue-color);
}

/* عنوان الفاتورة */
.invoice-title {
  text-align: center;
  font-size: 25px;
  font-weight: bold;
  margin: 0 0 20px 0;
  color: #333;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* تفاصيل الفاتورة */
.invoice-details {
  margin-block: 30px;
}

.detail {
  display: flex;
  align-items: center;
  justify-content:right;
  margin-bottom: 10px;
  font-size: 14px;
  color: #555;
}

.label {
  font-weight: 500;
  margin-right: 10px;
  color: #333;

}

.value {
    font-weight: normal;
    color: #555;
    margin-right: 10px;
}

/* جدول الفاتورة */
.invoice-table table {
  width: 100%;
  border-collapse: collapse;
  margin-block:  50px ;

}

.invoice-table th,
.invoice-table td {
  padding: 15px;
  text-align: center;
  border: 1px solid #ddd;
  font-size: 14px;
  color: #555;
}

.invoice-table th {
  background-color: var(--blue-color);
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.invoice-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.invoice-table tbody tr:hover {
  background-color: #e6e6e6;
}

/* الإجماليات */
.invoice-summary {
  margin-bottom: 30px;
}

.summary-item {
  display: flex;
  align-items: center;
  justify-content: right;
  margin-bottom: 10px;
  font-size: 16px;
  margin-right:18px;
  color: #333;
}
.summary-item > .label{
  font-weight: 600;
}
.summary-item .value {
  color:#555;

}

/* أزرار الفاتورة */
.invoice-buttons {
  display: flex;
  margin-top:50px;
  margin-right: 10px;
  justify-content: flex-start;
}

.close-button,
.print-button {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 30px;
  transition: background-color 0.3s, color 0.3s;
  text-decoration: none;
  font-family: "Changa", sans-serif;

}

.close-button {
  background-color:#dee2e6;
  color: #000000;
  font-size: 14px;
  padding: 7px 20px;
  margin-right: 20px;

}

.close-button:hover {
  background-color: #c5c8ca;
  color: black;
}

.print-button {
  background-color: var(--yellow_ligth);
  color: #fff;
}

.print-button:hover {
  background-color: var(--brown_color);
  color: #fff;
}
/* add debts_customer page  */

    .ayo_25 {
      background: #f5f5f5;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100vh;
    }

    .ayo_26 {
      font-family: "Changa", sans-serif;
      position: relative;
      display: flex;
      width: 900px;
      min-height: 590px;
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
      overflow: hidden;
    }

    .ayo_26_1{
      position: absolute;
      top: 50%;
      left: calc(50% - 20px);
      transform: translateY(-50%);
      width: 90px;
      height: 90px;
      background: transparent;
      border: 8px solid white;
      border-radius: 50%;
      border-right-color: transparent;
      z-index: 10;
    }

    .ayo_26_1_svg {
      position: absolute;
      top: 50px;
      right: -110px;
      width: 200px;
      height: auto;
      z-index: 1;
      stroke: #e8e7e7c2;
    }

    .ayo_26_2 {
      flex: 1;
      background: #0B034C;
      color: white;
      padding: 60px 40px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      border-top-left-radius: 10px;
      border-bottom-left-radius: 10px;
      z-index: 5;
    }

    .ayo_26_2 h2, .ayo_26_2 p {
      margin-bottom: 25px;
      text-align: center;
      font-family: "Changa", sans-serif;
      color:white;
    }

    .ayo_26_2 p {
      font-size: 14px;
    }

    .ayo_26_2 button {
      background: white;
      color: #d6a96c;
      padding: 10px 20px;
      border: none;
      border-radius: 25px;
      cursor: pointer;
      transition: background 0.3s ease;
      font-family: "Changa", sans-serif;
    }

    .ayo_26_2 button:hover {
      background: #eef6ff;
    }

    .ayo_26_3 {
      direction: rtl;
      flex: 1;
      padding: 60px 40px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      border-top-right-radius: 20px;
      border-bottom-right-radius: 20px;
      z-index: 5;
      width: 100% ;
    }

    .ayo_26_3 h2 {
      font-family: "Changa", sans-serif;
      margin-bottom: 50px;
      color: #333;
    }

    .ayo_27_1 {
    position: relative;
    width: 100%;
    margin-top: 15px;
    }

    .ayo_27_1 input,
    .ayo_27_1 select {
      width: 100% ;
      padding: 12px 15px;
      padding-top: 10px;
      border: 1px solid #ccc;
      border-radius: 25px;
      outline: none;
      font-size: 14px;
      font-family: "Changa", sans-serif;
      background-color: #fff;
      appearance: none;
    }

    .ayo_27{
      width: 100%;
    }
    .ayo_27_1 label {
      position: absolute;
      top: 50%;
      right: 20px;
      transform: translateY(-50%);
      color: #999;
      font-size: 14px;
      pointer-events: none;
      transition: 0.2s ease all;
      font-family: "Changa", sans-serif;
      background: #fff;
      padding: 0 5px;
    }
     .ayo_27_1 label.date_label{
      top:0%;
     } 

    .ayo_27_1 select:focus + label,
    .ayo_27_1 input:focus + label,
    .ayo_27_1 input.has-value + label,
    .ayo_27_1 select.has-value + label{
      top: -2px;
      right: 15px;
      font-size: 12px;
      color: #0B034C;
    }

    .ayo_27_1 {
      display: flex;
    }

    .ayo_28_1, .ayo_28_2 {
      background: #d6a96c;
      color: white;
      padding: 10px 25px;
      border: none;
      border-radius: 25px;
      cursor: pointer;
      transition: background 0.3s ease;
      margin-left: 30px;
      margin-top:40px;
      font-size: 15px;
      font-family: "Changa", sans-serif;
    }

    .ayo_28_1:hover {
      background: #4d3322;
    }
    .ayo_28_2 {
      background: #dee2e6;
      color: #4d3322;
      text-decoration: none;
    }

    .ayo_28_2:hover {
      box-shadow: 1px 1px 2px #9c9c9c38;
    }
    .ayo_27_1 input[type=number]::-webkit-inner-spin-button,
    .ayo_27_1 input[type=number]::-webkit-outer-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }

/* add expenses.php page  */

  .ayo_37 {
    font-family: "Changa", sans-serif;
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: 100vh;
  }

  .ayo_38 {
    direction: rtl;
    width: 100%;
    max-width: 900px;
    background-color: #fff;
    display: flex;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0,0,0,0.1);
    overflow: hidden;
    flex-wrap: wrap;
  }

  .ayo_39 {
    width: 60%;
    padding: 25px 30px;
    background-color: #fff;
  }

  .ayo_39 h2 {
    font-size: 25px;
    margin-bottom: 30px;
    text-align: right;
    background-image: linear-gradient(to left , #1e3c72 , #2a5298 70%); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
  }

  .ayo_39_0 ,.ayoo_39{
    display: flex;
    flex-direction: column;
  }
  .ayoo_39{
    
    position: relative;
    margin-block: 15px;
  }
  .ayo_39_1 {
    position: absolute;
    top:17%;
    right: 10px;
    color: #666;
    font-size: 13px;
  }
  .ayo_39_2:focus +.ayo_39_1,
  .ayo_39_1_datalabel,
  .ayo_39_3:focus +.ayo_39_1,
  .ayo_39_3.has-value +.ayo_39_1,
  .ayo_39_2.has-value + .ayo_39_1{
    top:-14px;
    background-color: white;
    color: black;
    font-size: 14px;
  }
  .ayo_39_2, .ayo_39_3 {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    background: none;
    outline: none;
    font-size: 16px;
    border-radius: 5px;
  }

  .ayo_39_3 {
    resize: none;
    height: 80px;
  }

  .ayo_40 {
    display: flex;
    gap: 15px;
    margin-block: 10px 10px;
    flex-wrap: wrap;
  }
.ayo_40 >.ayo_28_1 ,.ayo_40 > .ayo_28_2{
  margin-top: 10px;
}

  .ayo_43 {
    width: 40%;
    background: url('IMG/photo_2025-06-04_15-53-12.jpg') no-repeat center center/cover;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
  }

  .ayo_43 h3 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .ayo_43 p {
    font-size: 14px;
    margin-bottom: 15px;
    max-width: 250px;
  }

  .ay0_44 {
    width: 100px;
    margin-top: 10px;
  }

  /*-style.css */

/*account_statement.php هنا ستايل كشف حساب عميل  */

.container12 {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  margin-top:10px;
  font-family: "Changa", sans-serif;;

}

/* الرأس */
.header12 {
  background-color: var(--blue-color);
  color: white;
  padding: 20px 0;
  text-align: center;
  border-radius: 8px 8px 0 0;
}

.header12 h1 {
  margin: 0;
  font-size: 22px;
}

/* الأزرار */
.buttons12 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 40px 0 10px;
  flex-wrap: wrap;
  gap: 10px;

}

.buttons12 button {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-family: "Changa", sans-serif;
  font-size: 12px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.print-btn {
  background-color:var(--blue-color);
  color: white;
}

.print-btn:hover {
  transform: scale(1.05);
}

.back-btn {
  background-color: var(--gray_ligth);
  color: var(--blue-color);
}

.back-btn:hover {
  background-color: var(--gray_ligth_hover);
  transform: scale(1.05);
}

/* اسم العميل */
.customer-name {
  text-align: center;
  margin: 10px 0;
}

.customer-name h2 {
  margin: 0;
  font-size: 22px;
  color: var(--yellow_ligth);
}

/* التفاصيل المالية */
.invoice-summary {
  display: grid;
  margin: 20px 0;
}

.detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f8f9fa;
}

.detail span {
  font-size: 13px;
  font-weight: 500;
}

.value2 {
  font-size: 18px;
  font-weight: bold;
  color: var(--blue-color);
}

/* القاعدة */
.footer {
  text-align: center;
  margin-top: 20px;
}
.create-btn {
  background-color: var(--yellow_ligth);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-family: "Changa", sans-serif;
  font-size: 12px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.create-btn:hover {
  background-color: var(--brown_color);
  transform: scale(1.05);
}
/*account_statement.php   نهاية  كشف حساب عميل  */

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.tab-button {
    padding: 10px 20px;
    background-color: #ddd;
    border: none;
    cursor: pointer;
    font-size: 15px;
    border-radius: 5px;
    font-family: "Changa", sans-serif;

}

.tab-button.active {
    background-color: var(--yellow_ligth);
    color: white;
}

.tab-content {
    margin-top: 20px;
}
      @import url('https://fonts.googleapis.com/css2?family=Changa:wght@200..800&display=swap');
      * {
        box-sizing: border-box;
      }
      .ayo_30_0 {

        font-family: "Changa", sans-serif;
        font-optical-sizing: auto;
        font-style: normal;
        background-color: #f5f5f5;
        display: flex;
        justify-content: center;
        align-items: center; /* مهم جداً لتوسيط عمودي */
        padding: 60px;
        direction: rtl;
        margin: 0;
        min-height: 100vh; /* ضروري علشان يمتد على كامل الصفحة */

      }
      .ayo_30 {
        display: flex;
        flex-wrap: wrap;
        width: 800px;
        max-width: 1200px;
      }
      .left-roll-ayo_31 {
        width: 100px;
        height: auto;
        background: linear-gradient(to right, #eeeeee, #ffffff, #eeeeee);
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
        box-shadow: inset -3px 0 6px rgba(0,0,0,0.1);
        box-shadow: -10px 0px 17px rgba(0, 0, 0, 0.09);
        z-index: 1;
      }
      .ayo_32 {
        background-color: white;
        border: 2px solid #4985e03c;
        flex: 1;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        min-width: 0;
        max-width: 90%;
      }
      .ayo_33 {
        background-image: linear-gradient(to right, #0B034C, var(--yellow_ligth));
        color: white;
        padding: 10px;
        text-align: center;
        font-size: 23px;
      }
      .ayo_34 {
        margin: 20px 0;
      }
      .ayo_34 label {
        display: block;
        margin-top: 10px;
        font-weight: bold;
        font-size: 13px;
      }
      .ayo_34 input,
      .ayo_34 textarea,
      .ayo_34 select {
        width: 100%;
        padding: 8px;
        margin-top: 5px;
        border: 1px solid #ccc;
        border-radius: 4px;
        resize: vertical;
        font-size: 12px;

      }
      .ayo_35 {
        text-align: right;
        margin-top: 20px;
        font-size: 10px;
        color: #666;
      }
      .ayo_36 > *{
        margin-top:25px;
        cursor: pointer;
        font-family: "Changa", sans-serif;

      }
      .ayo_34 .ayo_36 input{
        padding:5px 30px;
        width: 90px;
        background-color: var(--blue-color);
        color: white;
        font-size: 14px;
        transition: all .7s ease-in-out;

      }
      .ayo_34 .ayo_36 input:hover{
          background-color: var(--brown_color);
      }
      .ayo_36 a{
        display: inline-block;
        padding:3px 20px;
        margin-right:10px;
        text-decoration: none;
        color: #4d3322;
        font-weight:500;
        transition: all .7s ease-in;
        border-radius: 3px;
      }
      .ayo_36  a:hover{
        background-color: #0B034C;
        color: white;
      }
      .ayo_36 a:hover ~ input{
        color: #4d3322;
        font-weight:500;
      }
      /* Responsive  */
      @media (max-width: 768px) {
        .ayo_30_0 {
          padding: 10px;
        }
        .ayo_30 {
          flex-direction: column;
          align-items: stretch;
        }
        .left-roll-ayo_31 {
          display: none;
        }
        .ayo_33 {
          font-size: 20px;
        }
        .ayo_34 > label{
          font-size: 15px !important;
        }
      }
      @media (max-width: 480px) {
        .ayo_33 {
          font-size: 18px;
          padding: 8px;
        }
        .ayo_34 input,
        .ayo_34 textarea,
        .ayo_34 select{
          padding: 6px;
        }
        .ayo_34 .ayo_36 > a{
          padding: 3px 20px !important;
          font-size: 17px;
      }
    }
    .aily5533{
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: #28a745;
      color: white;
      padding: 20px 40px;
      border-radius: 10px;
      font-size: 18px;
      text-align: center;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      z-index: 9999;
    }

    /* هذا مال التاريخ التقويم يعني من اختاره 
     */
    .form-group {
      max-width: 300px;
      margin: 0 auto;
    }
    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-size: 15px;
      color: #4b5563;
      font-weight: 600;
    }
    .date-output {
      width: 100%;
      padding: 12px 16px;
      font-size: 16px;
      text-align: center;
      border: 2px solid #d1d5db;
      background: white;
      color: #374151;
      cursor: pointer;
      transition: all 0.2s;
    }
    .date-output:focus, .date-output:hover {
      border-color: var(--blue-color);
      outline: none;
    }
    /* هذي مالنافذة اللي تطلع لما تضغط على اختيار التاريخ */
    .date-dropdown {
      display: none;
      position: absolute;
      background: white;
      border: 1px solid #e5e7eb;
      border-radius: 16px;
      padding: 16px;
       z-index: 1;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }
    .picker-row {
      display: flex;
      margin-bottom: 16px;
    }
    .picker-col {
      width: 60%;
      display: flex;
      justify-content: end;
      align-items: center;
    }
    .picker-col select,.picker-col .range-input ,#sortSelect{
      width: 100%;
      padding: 10px;
      border: 1px solid #d1d5db;
      border-radius: 8px;
      font-size: 14px;
      color: #374151;
      font-family: "Changa", sans-serif;
      text-align:center;  
    }
    .picker-col select:focus {
      border-color: #4f46e5;
      outline: none;
    }
    .days-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 6px;
      margin-bottom: 16px;
    }
    .days-grid button {
      aspect-ratio: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid #e5e7eb;
      background: #f9fafb;
      border-radius: 8px;
      font-size: 14px;
      color: #111827;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .days-grid button:hover {
      background: #f3f4f6;
      transform: scale(1.05);
    }
    .days-grid button.selected {
      background: var(--blue-color);
      color: white;
      border-color: var(--brown_color);
    }
    .apply-btn {
      width: 100%;
      padding: 10px;
      background: var(--yellow_ligth);
      color: white;
      border: none;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
    }
    .apply-btn:hover {
      background: var(--blue-color);
    }

    .form-group {
    display: contents;
    flex-direction: column;
}
.aily90{
    margin-top: -15px;
    margin-bottom: 10px;
    text-align: right;
    margin-right: 35px;
    color: #858585;
    font-weight: 400;
}
.ayo_7_0{
  display:flex;
  align-items: center;
  gap:20px;
}
.ayo_8_0{
  margin-top:-30px;
  width:30%;
}

/* هذا مالنافذة اللي تطلع لما تضغط على اختيار التاريخ لكن يخص تاريخ التقارير فقط  */
.date-dropdown-reports {
  display: none;
  position: absolute;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
    z-index: 1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.inputDesg{
  border: none;
  outline: none;
  text-align: center;
  background-color: transparent;
}
.quantity{
  width:80%;
  text-align: center;
  border: none;
  outline: none;
  background-color: transparent;
}

/* complete sales report design  */
.ayoFiltter{
  width: 70%;
  display: flex;
  justify-content: end;
  gap:10px;
}
.picker-col select > option{
    padding-right:10px;
}

.range-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 5px;
  cursor: pointer;
}

.range-box {
  margin-top: 10px;
  padding: 10px;
  background: transparent;
  border-radius: 5px;
  width:100%;
  height: fit-content;
}

.hidden {
    display: none;
}
.range-hidden {
   display: none !important;
}
/* تصغير الفلاتر الثانية عندما يظهر الفلتر الرئيسي( فلتر الفترة )  */
.small {
    width: 20% !important;
    opacity: 0.6;
    transition: 0.25s ease;
}

.small select {
  width: 100% !important;
  height: fit-content;
}
#sortSelect{
  width:33%;
  padding: 9px 5px ;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 12px;

}
    .ayo_22_report{
        display:flex;
        justify-content:center;
        align-items:center;
        flex-direction:row;
        
    }
    .order_byreport{
        padding:6px;
        font-family: "Changa", sans-serif;
    }
.ayo_27_2{
  position: relative;
    width: 60%;
  display: flex;
  GAP: 10PX;

}
/* لزر "تقارير" */

.dropbtn:hover {
    background-color: #ddd; /* لون خلفية أغمق قليلاً عند المرور */
    color: #333; /* حفظ لون النص عند المرور */
}

.dropbtn.active {
    background-color: #4CAF50; /* لون مميز للعنصر النشط */
    color: white; /* تغيير لون النص عند النشاط */
}

/* لعناصر القائمة الفرعية */
.dropdown-content a {
    color: #333; /* لون النص Relief */
    text-decoration: none; /* بدون خط تحت النص */
    display: flex; /* استخدام القسمة المرنة (flexbox) */
    position: relative; /* وضع نسبي */
    font-size: 15px; /* حجم الخط 20 بكسل */
    font-weight: 500; /* غطاء نص بعريض */
    justify-content: flex-end; /* النص في نهاية الحوائط */
    padding:15px 8px ; /* مساحة شفافة من اليمين 19 بكسل */
    margin-bottom: 0px; /* مسافة من الأسفل 10 بكسل */
    align-items: center; /* العناصر محاكزة رأساً وعقباً */
    text-align: center; /* محاذاة النص من البداية */
    transition: background-color 0.3s, color 0.3s; /* تأثير انتقالي سلس */
}

.dropdown-content a:hover {
    background-color: var(--blue-color); /* لون خلفية أغمق قليلاً عند المرور */
    color: white; /* حفظ لون النص عند المرور */
}
/* هذا هو ستايل القائمة الجانبية مع خاصية السكرول */
#sidebar {
  overflow-y: auto; /* هذا هو أهم خاصية، تسمح بالمرور العمودي (سكرول) */

}
/* هذي الاستايل مال اخفاء واظهار القائمة المنسدلة */
.dropdown-content {
    display: none; /* مخفية افتراضياً */
    /* ... خصائص أخرى ... */
}

.dropdown-content.show {
    display: block; /* أو flex، حسب تصميمك */
}


/* setting page start */
.setting_0{
    width: 100%;
    font-family: "Changa", sans-serif;
    background-color: white;

}
.setting_1{
    display: flex;
    align-items: center;
    flex-direction: column;
}
.setting_1 img{
    width:65px;
    height:65px;
    margin-top:20px;
}
.setting_1 h3 ,.setting_1 p{
    padding-top:15px;
    color: var(--blue_color);
}
.setting_1 p{
    color:var(--gray_color);
}
.setting_2{
    margin-top: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.setting_2 form{
    width: 95%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.setting_3 h4{
    color: var(--blue_color);
    padding-block: 30px ;
}
.setting_4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-shadow: var(--box_shadow);
    padding: 0px 20px !important;
    border-radius: 20px;
    color:var(--gray_color);
    margin-bottom: 30px;
}
.setting_4 p{
    font-size: clamp(10px ,1vw + 1rem , 15.5px);
}
.setting_5{
    width:130px;
    padding:10px;
    margin-block:30px 15px ;
    margin-inline: auto;
    outline: none;
    border: none;
    background-color: var(--blue-color);
    color:white;
    border-radius: 5px;
    cursor: pointer;
    font-family: "Changa", sans-serif;
    transition: all .7s ease-in-out;
    
}
.setting_5:hover{
    transform: scale(1.02);
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #eee;
    border-radius: 50px;
    transition: 0.3s;
}

.slider::before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 3px;
    background-color: #0b034c7b;
    border-radius: 50%;
    transition: 0.3s;
}

/* عند التفعيل */
.switch input:checked + .slider {
    background-color: #f0ebeb;
}

.switch input:checked + .slider::before {
    transform: translateX(17px);
    background-color: var(--blue-color);

}
.sidebar_title{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}
.sidebar_close{
  font-size: 20px;
  display: none !important;
}
.style16{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.tool_table{
    display: flex;
    flex-wrap:wrap;
    justify-content: center;
    align-items:center;
    gap: 10px;
    min-height: 100px;
}
#payBalance{
  padding:7px 15px;
  border-radius: 10px;
  background-color: var(--yellow_ligth);
  color:white;
  border: none;
  outline: none;
  cursor: pointer;
  font-family: "Changa", sans-serif;

}
/* هنا نبدي سوالف الجداول و توافقيه الهواتف الها */
/* تعديل حجم الخط حسب عرض الشاشة */
@media (max-width: 768px) {

    .aily10.collapsed {
        margin-right: 90PX; /* إبقاءها بدون فراغ من اليمين */
    }
}


/* هذا الخاص بجدول العملاء بوضع الهاتف النقال او التابلت */
@media (max-width: 768px) {

    #customersTable_wrapper {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        direction: rtl;            /* يبدأ السكرول من اليمين */
    }

    #customersTable {
        min-width: 750px;          /* عرض أكبر من الموبايل */
        width: max-content;
        table-layout: auto;
        border-collapse: collapse;
    }

    #customersTable th,
    #customersTable td {
        white-space: nowrap;
        word-break: keep-all;
        font-size: 14px;
        text-align: center;
        padding: 8px;
    }
}

/* موبايل صغير جدًا */
@media (max-width: 480px) {

    #customersTable {
        min-width: 700px;
    }

    #customersTable th,
    #customersTable td {
        font-size: 11px;
        padding: 6px;
    }
}

/* جدول الموردين على الهاتف أو التابلت */
@media (max-width: 768px) {

    #suppliersTable_wrapper {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        direction: rtl; /* يبدأ السكرول من اليمين */
    }

    #suppliersTable {
        min-width: 750px;       /* اجعلها أكبر من الشاشة */
        width: max-content;     /* يظهر كل الأعمدة */
        table-layout: auto;     /* يمنع ضغط الأعمدة */
        border-collapse: collapse;
    }

    #suppliersTable th,
    #suppliersTable td {
        white-space: nowrap;    /* يمنع التفاف النص */
        word-break: keep-all;   /* يمنع تقطيع الكلمات */
        font-size: 14px;
        text-align: center;
        padding: 8px;
    }
    .aily31 > #toggleButton{
      right:250px !important;
    }
}

@media (max-width:350px) {
  .close-button{
    margin-right: 0px;
  }
  .invoice-table table thead tr th,.summary-item .label {
    font-size: 10px;
  }
  .invoice-container{
    padding: 9px;
  }
  .invoice-buttons > button{
    padding:8px 15px;
  }
  .aily12_vv{
    padding:7px;
  }
  .aily21{
    font-size: 20px;
  }
  .aily23{
    font-size: 15px;
  }
  .aily25{
    font-size: 13px;
  }

}
/* موبايل صغير جدًا */
@media (max-width: 480px) {

    #suppliersTable {
        min-width: 700px;
    }

    #suppliersTable th,
    #suppliersTable td {
        font-size: 11px;
        padding: 6px;
    }
}


/* هذا الخاص بجداول عرض المبيعات بوضع الهاتف النقال او التابلت */
@media (max-width: 768px) {

    #sales_dataTable_wrapper {
        width: 100%;
        /* هنا اذا جان الجدول اكبر من الشاشه يعرضلي سكرول افقي */
        overflow-x: auto;
        /* هنا يمنع السكرول العمودي */
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        direction: rtl;            /* 👈 يبدأ السكرول من اليمين */
    }

    #sales_dataTable {
        min-width: 900px;
        width: max-content;
        table-layout: auto;
        border-collapse: collapse;         /* 👈 يحافظ على ترتيب الأعمدة */
    }

    #sales_dataTable th,
    #sales_dataTable td {
        white-space: nowrap;
        word-break: keep-all;
        font-size: 14px;
        text-align: center;
        padding: 8px;
    }
}

@media (max-width: 480px) {

    #sales_dataTable {
        min-width: 850px;
    }

    #sales_dataTable th,
    #sales_dataTable td {
        font-size: 11px;
        padding: 6px;
    }
}

/* جدول المنتجات على الهاتف أو التابلت */
@media (max-width: 768px) {

    #productsTable_wrapper {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        direction: rtl; /* يبدأ السكرول من اليمين */
    }

    #productsTable {
        min-width: 1000px;       /* اجعلها أكبر من عرض الموبايل */
        width: max-content;      /* يظهر كل الأعمدة */
        table-layout: auto;      /* يمنع ضغط الأعمدة */
        border-collapse: collapse;
        direction: ltr;          /* يحافظ على ترتيب الأعمدة */
    }

    #productsTable th,
    #productsTable td {
        white-space: nowrap;     /* يمنع التفاف النص */
        word-break: keep-all;    /* يمنع تقطيع الكلمات */
        font-size: 14px;
        text-align: center;
        padding: 8px;
    }
}

/* موبايل صغير جدًا */
@media (max-width: 480px) {

    #productsTable {
        min-width: 900px;
    }

    #productsTable th,
    #productsTable td {
        font-size: 11px;
        padding: 6px;
    }
    .ayo_16 .ayo_22 form .aily26{
      width:80%;
    }
}

/* هذا الخاص بجداول عرض المبيعات بوضع الهاتف النقال او التابلت */
@media (max-width: 768px) {

    #sales_dataTable_wrapper {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        direction: rtl; /* يبدأ السكرول من أقصى اليمين */
    }

    #sales_dataTable {
        min-width: 900px;       /* أكبر من عرض الهاتف */
        width: max-content;     /* يظهر كل الأعمدة */
        table-layout: auto;     /* منع ضغط الأعمدة */
        border-collapse: collapse;
    }

    #sales_dataTable th,
    #sales_dataTable td {
        white-space: nowrap;    /* منع التفاف النص */
        word-break: keep-all;   /* منع تقطيع الكلمات */
        font-size: 14px;
        text-align: center;
        padding: 8px;
    }
     .aily7-sidebar.open ~ .ayo_16 .aily7-header_admin .aily12h1{
        font-size: 20px !important;
    }
     .aily7-sidebar.open ~ .ayo_16 .ayo_22 form{
        flex-direction: column-reverse;
        align-items: end; 
        gap:25px ;
        margin-block:50px 10px;
      }
      .aily7-sidebar.open ~ .ayo_16 .ayo_22 form .ayo_27_2 .ayo_22_report{
        margin-right:0px;
      }
      .aily7-sidebar.open ~ .ayo_16 .ayo_22 form .ayo_27_2 .ayo_22_report label{
        display: none;
      }
}
@media (max-width: 550px) {
      .aily7-sidebar.open{
        display: block;
        width: 100%;
        z-index: 10;
    }
    .sidebar_title{
        justify-content: space-between !important;
    }
    .sidebar_close{
        display: block !important;
    }

}
@media (max-width: 1115px) {
  .aily7-sidebar.open ~ .ayo_16 #mainInnerContent .aily16-wrapper .aily16 tbody tr td  .ayo_13{
    background-color: transparent;
  }

}

@media (max-width: 480px) {

    #sales_dataTable {
        min-width: 850px;
    }

    #sales_dataTable th,
    #sales_dataTable td {
        font-size: 11px;
        padding: 6px;
    }
     .ayo_16 .ayo_22 form{
      flex-direction: column-reverse;
      align-items: end; 
      gap:25px ;
      margin-block:50px 10px;
      margin-right:15px;
    }
     .ayo_16 .ayo_22 form .ayo_27_2 .ayo_22_report{
      margin-right:0px;
    }
    .ayo_16 .aily7-header_admin .aily12h1{
        font-size: 18px !important;
    }
    .ayo_16 .ayo_22 form .ayo_27_2 .ayo_22_report label{
      display: none;
    }
    .invoice-table table thead tr th,.summary-item .label {
      font-size: 14px;

    }
}
/* هذا الاستايل الجوا للهواتف و الاجهزه اصغيره للتقارير فقط */
/* ====== Responsive Table (aily16) ====== */
@media (max-width: 768px) {

    .aily16-wrapper {
        width: 100%;
        overflow-x: auto;          /* سكرول أفقي */
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        direction: rtl;            /* يبدأ السكرول من اليمين */
    }

    .aily16 {
        min-width: 900px;          /* عرض أكبر من الشاشة */
        width: max-content;
        table-layout: auto;
        border-collapse: collapse;
        direction: ltr;            /* يبدأ السكرول من اليمين */
    }

    .aily16 th,
    .aily16 td {
        white-space: nowrap;       /* يمنع نزول النص */
        word-break: keep-all;
        font-size: 14px;
        text-align: center;
        padding: 8px;
    }
}

/* ====== شاشات أصغر (موبايل صغير) ====== */
@media (max-width: 480px) {

    .aily16 {
        min-width: 850px;
    }

    .aily16 th,
    .aily16 td {
        font-size: 11px;
        padding: 6px;
    }
}

/* هذي الاستايل يخص الجدول مال التقويم الموجود بالتقارير غالبا حتى يصغر كله ب مقدار معين ب وضع الهاتف او التابلت */
/* 📱 تابلت + موبايل */
@media (max-width: 768px) {
    .date-dropdown-reports {
        transform: scale(0.8);          /* تصغير 20% */
    }
}

/* 📱 موبايل صغير (اختياري) */
@media (max-width: 480px) {
    .date-dropdown-reports {
        transform: scale(0.7);         /* تصغير أكثر */
    }
}
.style16{
direction: rtl;            /* يبدأ السكرول من اليمين */
font-size: 14px;

}
  @media print {
    /* إلغاء أي سكرول أفقي */
    .aily16-wrapper {
        overflow: visible !important;
        width: 100% !important;
    }

    /* الجدول ياخذ عرض الصفحة */
    .aily16 {
        width: 100% !important;
        min-width: unset !important;   /* يلغي min-width */
        table-layout: fixed !important;
    }

    /* السماح بتكسر النص */
    .aily16 th,
    .aily16 td {
        white-space: normal !important;  /* مهم جداً */
        word-break: break-word;
    }
  }
  /* index page  */
  .index_0{
    background-color: white;
    padding: 0;
  }
  .index_1{
    width:100%;
    min-height:60px;
    margin-top:10px;
    box-shadow:var(--box_shadow);
    display:flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 15px;
    font-family: "Changa", sans-serif;

}
.index_2{
    font-weight: 500;
    font-size: clamp(10px ,1.3vw + .2rem , 20px);
    color: var(--blue-color);
    padding-right: 15px;

}
.index_3{
    background-color: var(--blue_color);
    background-color: var(--yellow_ligth);
    color: white;
    padding:7px 19px ;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: all 1s ease-in-out;
}
.index_3:hover,.index_5>button:hover{
    background-color: var(--brown_color);
}
.index_4{
  width: 100%;
    display:flex;
    align-items: center;
    justify-content: space-between;
    min-height: 85vh;
    padding-inline: 20px;
    font-family: "Changa", sans-serif;
    position: relative;

}
.index_5 {
  width:100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  text-align: center;
  margin-top: 50px;

}
.index_5 h1{
    font-weight:600;
    font-size: clamp(15px ,1.4vw + .5rem , 29px);
    padding-bottom: 10px;
    margin-bottom:0;
    color: var(--blue-color);

}
.index_5 p{
    color: #949494;
    font-size: clamp(10px ,1vw + .3rem , 15px);
    word-spacing: -3px;
    line-height: 2;
    max-width:clamp(200px ,20vw + 10rem , 450px);
    margin-bottom:20px;
    margin-right:clamp(10px ,1vw + .3rem , 25px);

}
.index_5 > .index_3 {
    padding:5px 45px;
    font-size: 16px;
    margin-right: clamp(100px ,11vw + .3rem , 180px);
}
.index_6{
    width:100%;
    display: flex;
    justify-content: end;
    align-items: center;
}
.index_6 > img{
    width: clamp(200px ,18vw + 15rem , 535px);
    margin-top:-70px;
}
/* ===== صندوق النص انميشن ===== */
.index_5 {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.index_5.show {
    opacity: 1;
    transform: translateY(0);
}

/* عناصر النص تطلع بالتناوب */
.index_5 .step {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.8s ease;
}

.index_5.show .step {
    opacity: 1;
    transform: translateY(0);
}

.index_5.show .step:nth-child(1) {
    transition-delay: 0.3s;
}

.index_5.show .step:nth-child(2) {
    transition-delay: 1s;
}

.index_5.show .step:nth-child(3) {
    transition-delay: 1.7s;
}

/* ===== الصورة ===== */
.index_6 {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s ease;
}

.index_6.show {
    opacity: 1;
    transform: translateX(0);
}

.toggle-btn {
        background-color: #4985e01f;
        color: var(--blue-color);
        border: none;
        padding: 6px 10px;
        font-size: 14px;
        border-radius: 4px;
        cursor: pointer;
        font-family: "Changa", sans-serif;

}
.delete-link {
  color: black;
    font-size: 1.3em;
    cursor: pointer;
    margin-right: 5px;
    background-color: transparent;
    border:none;
    margin-right: 20px;
}

.delete-link:hover{
  color: var(--yellow_ligth);

}
.details-table th {
      background-color: #f5f5f5;
      color:var(--blue-color)
  }
@media (max-width: 880px) {
  .index_4{
    flex-direction: column;
    position: relative;
    margin-bottom: 30px !important;

  }
  .index_5,.index_6 {
    align-items: center;
    gap:10px;
    justify-content: center !important;
  }
  .index_5 > .index_3{
    margin-right: 0;
  }
  .index_5 h1{
    font-size: clamp(15px ,2.5vw + .5rem , 30px);
  }
  .index_5 p{
    font-size: clamp(10px ,1.4vw + .3rem , 17px);
    max-width:clamp(200px ,35vw + 10rem , 450px);
    margin-bottom:10px;

  }
  .index_6 > img{
    max-width: clamp(200px ,30vw + 15rem , 535px);
    margin-bottom: 110px !important;

  }

  .index_5 > .index_3 {
    position: absolute;
    left:50%;
    transform: translateX(-50%);
    bottom:0px;
  }
  .index_2{
    font-size: clamp(10px ,.9vw + .7rem , 24px);

  }
}
@media (max-width: 450px) {
  .index_1 > .index_3{
    font-size: clamp(9px ,1.6vw + .3rem , 19px);

  }
  .index_5 > p{
    font-size: clamp(10px ,1.9vw + .3rem , 15px);
    margin-bottom: 50px;
  }
   .index_5 > .index_3{
    width: fit-content;
    font-size: 14px;
   }
   .index_4{
    padding-inline: 5px;
   }
  .index_6 > img{
    width:250px
  }
}