   .layout-container {
      display: flex;
      gap: 20px;
      max-width: 90%;
      margin: 0 auto;
      padding: 10px;
    }
    .service-container {
      flex: 1;
      background: #fff;
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 10px;
    }
    .sidebar {
     
      flex-shrink: 0;
      background: #fff;
      border: 1px solid #ddd;
      border-radius: 10px;
      padding: 10px;
     max-width: 350px;
    }
    @media (max-width: 991px) {
      .layout-container {
        flex-direction: column;
        max-width: 100%;
      }
      .sidebar {
       
        order: 2;
        margin-top: 15px;
      }
      .service-container {
        order: 1;
      }
    }
 .main-preview-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

/* خاص بالجوال */
@media (max-width: 767px) {
  .main-preview-img {
    height: 200px; /* ارتفاع أقل للجوال */
    border-radius: 6px;
    margin-bottom: 8px;
  }
}
    .thumbnail-gallery {
      display: flex;
      overflow-x: auto;
      gap: 10px;
      padding-bottom: 10px;
    
    }

    .thumbnail-gallery img {
      width: 90px;
      height: 70px;
      object-fit: cover;
      border-radius: 5px;
      border: 2px solid transparent;
      cursor: pointer;
      transition: 0.3s;
    }

    .thumbnail-gallery img.active,
    .thumbnail-gallery img:hover {
      border-color: #004eaf;
    }

    .service-title {
      font-size: 24px;
      color: #004eaf;
      margin-top: 10px;
    }

    .service-description {
      font-size: 16px;
      margin-top: 20px;
      color: #333;
      line-height: 1.7;
    }

    .contact-box {
      background: #f8f9ff;
      border: 1px solid #cbd4f0;
      padding: 15px;
      margin-top: 30px;
      border-radius: 10px;
    }

    .divider {
      border-bottom: 1px solid #ddd;
      margin: 15px 0;
    }

    .avatar-online {
      border: 2px solid #00c851;
      box-shadow: 0 0 4px #8dff6b;
      padding: 1px;
    }

    .avatar-offline {
      border: 2px solid #999;
    }

    .floating-contact-footer {
      position: fixed;
      bottom: 0;
      right: 0;
      left: 0;
      background: #ffffff;
      border-top: 1px solid #ccc;
      display: flex;
      gap: 20px;
      padding: 5px;
      z-index: 9999;
      box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
      justify-content: space-evenly;
    }

    .contact-btn {
      font-size: 20px;
      text-decoration: none;
      color: #fff;
      padding: 5px 10px;
      border-radius: 10px;
      transition: background 0.3s ease;
    }

    .contact-btn.phone {
      background: #004eaf;
    }

    .contact-btn.phone:hover {
      background: #003e8a;
    }

    .contact-btn.whatsapp {
      background: #25D366;
    }

    .contact-btn.whatsapp:hover {
      background: #1ebe5d;
    }

    body {
      padding-bottom: 70px;
    }
    .service-description .highlight {
  font-weight: bold;
  font-size: 17px;
}
.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.user-name {
  font-weight: bold;
  color: #333;
  font-size: 16px;
}

.service-date {
  font-size: 13px;
  color: #777;
}

.price-tag {
  background: #004eaf;
  color: #fff;
  padding: 8px 15px;
  border-radius: 10px;
  font-size: 16px;
}
.price-type {
  color: #ffbf00;
  font-size: 12px;
  display: inline-block;
}
.location-info {
  margin-top: 10px;
  color: #666;
  font-size: 14px;
}

.location-info a {
  color: #004eaf;
  text-decoration: underline;
}

.location-info a,
.user-profile-link,
.location-info a * {
  text-decoration: none !important;
  color: inherit;
}

.options-list {
  list-style: none;
  padding: 0;
  margin: 0;
 margin-top: 8px;
}

.option-item {
  padding: 5px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}
.option-label {
  color: #004eaf;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.option-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.option-tag {
  background: #e0ecff;
  color: #004eaf;
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 13px;
  border: 1px solid #c0d6f8;
}

.option-value {
  color: #333;
}
.contact-btn.share {
  background: #6c757d; /* رمادي أنيق */
}

.contact-btn.share:hover {
  background: #5a6268;
}
.action-buttons {
  text-align: center;
  margin: 20px auto;
}

.btn-edit,
.btn-delete {
  display: inline-block;
  padding:5px 8px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  color: white;
  font-size: 13px;
  margin: 5px;
}

.btn-edit {
  background-color: #007bff;
}

.btn-edit:hover {
  background-color: #0056b3;
}

.btn-delete {
  background-color: #dc3545;
}

.btn-delete:hover {
  background-color: #c82333;
}
.keyword-tag {
  display: inline-block;
  background: #eef1f6;
  color: #004eaf;
  border-radius: 4px;
  padding: 3px 8px;
  margin: 2px;
  font-size: 13px;
  text-decoration: none;
  transition: 0.3s;
}
.keyword-tag:hover {
  background: #004eaf;
  color: #fff;
}
.related-services {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-service-item {
  display: flex;
  align-items: flex-start;
  background-color: #eff7ff;
  border-radius: 6px;
  padding:3px;
  text-decoration: none;
}
.related-service-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  margin-left: 10px;
  flex-shrink: 0;
}

.related-service-info {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.related-service-info .title {
  font-weight: bold;
  color: #004eaf;
  font-size: 14px;
  margin-bottom: 5px;
}

.related-service-info .meta-line {
  font-size: 10px;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
}

