.mywin{
	font-size:12px;
}

    table {
        width: 100%;
        border-spacing: 0;
        border-collapse: collapse;
        margin-bottom: 10px; /* تضع هامش أسفل الجدول */
        margin-top: 10px; /* تضع هامش أسفل الجدول */
		
    }
	
 
    th, td {
        padding: 5px;
        text-align: center;
		color:#fff;
    }

    th {
 
		
    }

    tr {
        border-bottom: none; /* لإزالة الخط السفلي من آخر سطر في الجدول */
    }
	
    tr:last-child {
	    border-bottom: 1px dotted #ddd; 
    }


	 thead {
		background-color: #a00094 !important; 
		color: #ffffff !important; 
		font-weight:bold !important;
	 
	}

  	
	
	.ad {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 0 0 calc(50% - 10px);
    padding: 10px;
	z-index:99;
}

.ad span .fa-star,.ad span .fa-heart {
	cursor: pointer;
}

.user-name {
    font-size: 14px; 
	font-weight:bold;
}

.user-name i {
	position:relative;
    font-size: 14px !important; /* تغيير حجم الأيقونة حسب الحاجة */
	color:#555;
	padding-right:30px;
	float:left;
	color:#6495ed;
}

.gobacktoprofile {
	float:left;
	position:relative;
	left:0;
	margin-top:-30px;
	padding-top:-20px;
	
}

/* 2 */
.bgcolormypurchases2 i{
color:#fff;
padding-top:10px;
}
.bgcolormypurchases2 td{
 color: #fff; 
}

.bgcolormypurchases2{
background-color:#8B00DF;
cursor: pointer;
}

.bgcolormypurchases2 span a{
background-color:#8B00DF;
padding:5px;
color:#fff;
font-weight:bold;
font-size:14px;
box-shadow:2px 1px 3px #7601BD;
border-radius:5px;
text-decoration:none;
position:relative;
top:-20px;
}
.bgcolormypurchases2 span a:hover{
color:#444;
}
.bgcolormypurchases2 p{
	padding-right:70px;
	opacity: 0.8; 
	pointer-events: none;
}

.gobacktoprofile {
	float:left;
	position:relative;
	left:0;
	margin-top:-30px;
	padding-top:-20px;
	
}

.custom-confirm-button-class {
  background-color: #008F93 !important;
  width: 100%;
  padding: 3px 3px 5px 3px;
  margin-top:-8px;
}

.custom-cancel-button-class {
  background-color: transparent !important;
  width: 100%;
  padding: 3px 3px 5px 3px;
  margin-top: -5px;
  color: #AF0244 !important;
}

.custom-cancel-button-class :hover{
  background-color: transparent !important;
  width: 100%;
  padding: 2px;
  margin-top: -5px;
  color: #01B9CB !important;
}


.bgpaycolor{
	background-color: #E8FFEB !important;
}

.pinddingpay{
	background-color: #FFF2A8;
}
.toptable thead tr{
background-color:#008C9A;
color:#000;
}




 
.service-item {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.service-title {
    font-size: 20px;
    color: #333;
}

.service-amount {
    font-size: 18px;
    color: #666;
}

.service-category {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

/* تنسيق النموذج */
 
    .topaddtopic {
        background: #efefef;
        border-radius: 10px;
        padding: 10px;
        overflow: hidden; /* لمنع أي تجاوزات خارج الحاوية */
		width:94%;
    }
	
/* صندوق النموذج */
    .post-box {
        border: 1px solid #bbb;
        border-radius: 10px;
        padding: 10px;
        display: flex;
        align-items: center;
        background-color: #fff;
        margin-bottom: 10px;
        width: 100%;
    }
 .post-box img {
        border-radius: 100%;
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }

    .post-box textarea {
        border: none;
        width: 100%;
        height: 100px;
        resize: none;
        outline: none;
        padding: 10px;
        border-radius: 10px;
    }

    .post-box textarea::placeholder {
        color: #666;
    }

    .post-bottun {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .post-bottun .text {
        flex-grow: 1;
        display: flex;
        justify-content: flex-start;
        font-size: 16px;
        margin-right: 10px;
    }

    .post-bottun .buttons {
        display: flex;
        align-items: center;
    }
/* تنسيق صورة الملف الشخصي */
.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin-bottom: 10px;
}

/* تنسيق الوصف */
.description-section p {
    font-size: 16px;
    color: #333;
    margin: 0;
}

/* عنوان الخدمة */
.service-title-section {
    margin-top: 10px;
}

.service-title {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

/* قائمة التصنيفات */
.service-category-section {
    margin-top: 10px;
}

.service-category {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #ffffff;
    cursor: pointer;
}

/* تنسيق السعر */
.service-price-section {
    margin-top: 10px;
    position: relative;
}

.price-container {
    display: flex;
    align-items: center;
    width: 100%;
}

.service-amount {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 0 8px 8px 0; /* التدوير الجانبي الأيسر فقط */
    box-sizing: border-box;
    background-color: #ffffff;
}

.currency {
    padding: 10px;
    font-size: 16px;
    color: #333;
    background-color: #ddd; /* لون خلفية العملة */
    border-radius: 8px 0 0 8px; /* التدوير الجانبي الأيمن فقط */
    box-sizing: border-box;
    white-space: nowrap; /* عدم التفاف النص */
}

 

/* مربع اختيار الصورة */
.service-image-section {
    margin-top: 10px;
}

.service-image {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
    cursor: pointer;
    box-sizing: border-box;
}

.service-image::file-selector-button {
    background-color: #04C416;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
}

/* تنسيق معاينة الصورة */
.image-preview {
    margin-top: 10px;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    background-color: #f9f9f9;
    text-align: center;
	min-height:100px;
}

.image-preview img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}




/* زر إضافة الخدمة */
.post-bottun {
    margin-top: 20px;
}

.btn-user {
    background-color: #04C416;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
}

.btn-user i {
    margin-right: 8px;
}

.btn-user:hover {
    background-color: #039b14;
}



/* تصميم مخصص لبطاقات الخدمات */
.custom-service-section {
    text-align: right;
    direction: rtl;
}

.custom-service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* المسافة بين البطاقات */
}

.custom-service-item {
  flex: 1 1 calc(33.333% - 20px); /* عرض الخدمة 33.333% من الصف */
  box-sizing: border-box;
  margin-bottom: 20px;
  z-index:8;
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
  .custom-service-item {
    flex: 1 1 calc(50% - 20px); /* عرض الخدمة 50% من الصف للشاشات الأصغر */
  }
}

@media (max-width: 480px) {
  .custom-service-item {
    flex: 1 1 100%; /* عرض الخدمة 100% من الصف للشاشات الصغيرة جدًا */
    margin-bottom: 15px;
  }
}


.custom-service-card {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    z-index: 10; /* زيادة z-index هنا */
}

.custom-service-card:hover {
    transform: translateY(-5px); /* تحريك البطاقة عند التمرير فوقها */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* تأثير الظل عند التمرير */
}

.custom-service-image-container {
	width: 100%;
    aspect-ratio: 4 / 3; /* الحفاظ على نسبة أبعاد الصورة */
    overflow: hidden; /* إخفاء أي جزء زائد من الصورة */
    position: relative;
}

.custom-service-image {
	width: 100%; /* عرض الصورة بالكامل داخل الحاوية */
    height: 100%; /* ارتفاع الصورة بالكامل داخل الحاوية */
    object-fit: cover; /* اقتصاص الصورة لتناسب الإطار */
    transition: transform 0.3s ease; /* تأثير عند التفاعل */
    z-index: 1; /* تأكيد أن الصورة في الأسفل */
}

.custom-service-image-container:hover .custom-service-image {
    transform: scale(1.05); /* تكبير الصورة عند التمرير */
}

.custom-service-amount {
    position: absolute;
    top: 0;
    left: 25px;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 9px;
    border-radius: 0 0 5px 0;
    font-size: 14px;
    z-index: 15; /* زيادة z-index هنا */
}

.custom-service-card-body {
    padding: 10px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.8);
	z-index:8;
	
}

.custom-service-title {
    font-size: 18px;
    color: #fff;
    margin: 0;
    font-weight: 600;
    transition: color 0.3s ease;
}

.custom-service-title:hover {
    color: #ff0; /* تغيير لون العنوان عند التمرير */
}

 
.service-edit-icon {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 17px;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 11px;
    border-radius: 5px 0 0 0;
    z-index: 20; /* زيادة z-index هنا */
}

.service-edit-icon:hover {
    color: #ff0; /* تغيير لون الأيقونة عند التمرير فوقها */
}
.editiconservice{
	font-size:11px;
	color:#777;
	margin-top:-8px;
}

.editiconservice i{
	font-size:12px;
	color:#ff0000;
}

.user-name{
	font-size:16px;
}

.dropdown-menu-tools {
    display: none; /* إخفاء القائمة بشكل افتراضي */
    position: absolute;
    top: 33px;
    left: 20px;
    background-color: #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 150px; /* عرض القائمة المنبثقة */
}

.dropdown-menu-tools a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #fff;
    border-bottom: 1px solid #ddd;
}

.dropdown-menu-tools a:last-child {
    border-bottom: none;
}

.dropdown-menu-tools a:hover {
    background-color: #222;
}

.scrollToTopBtn i {
    margin: 0; /* إزالة أي مسافات حول الأيقونة */
}

.topaddtopic {
    background: #efefef;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

#addServiceButton{
    width:100%;
	background-color:blue;
}

#addServiceButton:hover{
    color: #ffe400;
}
 
    .service-category {
        width: 100%;
        padding: 10px;
        font-size: 16px;
        border-radius: 5px;
        border: 1px solid #ddd;
        background-color: #f9f9f9;
    }
	
    .service-category .main-category {
        font-weight: bold;
        color: #007bff; /* لون التصنيفات الرئيسية */
        background-color: #e9ecef; /* خلفية خفيفة للتصنيفات الرئيسية */
        font-style: italic; /* جعل النص مائل لتمييزه */
        cursor: default; /* تغيير المؤشر لعدم التفاعل */
    }

    .service-category .sub-category {
        color: #555;
        padding-right: 20px; /* المسافة لتوضيح التصنيفات الفرعية */
    }
	
    .service-category .sub-category option:hover{
        color: #eee;
    }
	
	
	/* تنسيق للخدمات غير المفعلة */
/* تنسيق لعلامة الحالة */
.service-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
	z-index:99;
	font-family: 'Droid Arabic Kufi';
	font-size:12px;
}

.under-review {
    position: absolute;
    top: 45px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
	z-index:99;
	font-family: 'Droid Arabic Kufi';
	font-size:12px;
}

/* تنسيق للخدمة غير المفعلة */
.inactive-service .service-status.inactive{
    background-color: #ff6100; /* خلفية حمراء للتنبيه */
}

.under-review{
    background-color: #ff6100; 
}

/* تنسيق للخدمة المفعلة */
.active-service .service-status.active {
    background-color: #4caf50; /* خلفية خضراء للتأكيد */
}

.custom-file-label {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
}

.custom-file-label:hover {
    background-color: #0056b3;
}
