/* أنماط إضافية للخدمات الإضافية */
.service-type-selection {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.service-type-option {
  flex: 1;
  padding: 20px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
}

.service-type-option:hover {
  border-color: #3498db;
  transform: translateY(-2px);
}

.service-type-option.active {
  border-color: #2ecc71;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.2);
}

.service-type-option i {
  font-size: 2rem;
  color: #7f8c8d;
  margin-bottom: 10px;
  display: block;
}

.service-type-option.active i {
  color: #2ecc71;
}

.service-type-option h5 {
  margin: 0 0 5px 0;
  color: #2c3e50;
  font-size: 1.1rem;
}

.service-type-option p {
  margin: 0;
  color: #7f8c8d;
  font-size: 0.9rem;
}

/* حقل الكمية في الخطوة الثالثة */
.quantity-section {
  margin-top: 30px;
  padding: 25px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  border: 2px solid #e0e0e0;
  animation: fadeIn 0.5s ease;
}

.quantity-section .section-header {
  margin-bottom: 20px;
  text-align: center;
}

.quantity-section .section-header h5 {
  margin: 0 0 5px 0;
  color: #2c3e50;
  font-size: 1.2rem;
  font-weight: 600;
}

.quantity-section .section-header p {
  margin: 0;
  color: #7f8c8d;
  font-size: 0.95rem;
}

/* معلومات الخدمة */
.quantity-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #dee2e6;
}

.quantity-service-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
}

.quantity-price-per-item {
  font-size: 1rem;
  color: #27ae60;
  font-weight: 500;
}

.quantity-price-per-item span {
  font-weight: 700;
  font-size: 1.1rem;
}

/* تحكم الكمية الكبير */
.quantity-control-large {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.quantity-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
}

.quantity-btn-large {
  width: 50px;
  height: 50px;
  border: 3px solid #3498db;
  background: #fff;
  color: #3498db;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-btn-large:hover {
  background: #3498db;
  color: #fff;
  transform: scale(1.1);
}

.quantity-btn-large:disabled {
  border-color: #bdc3c7;
  color: #bdc3c7;
  cursor: not-allowed;
}

.quantity-btn-large:disabled:hover {
  background: #fff;
  transform: none;
}

.quantity-value {
  display: flex;
  align-items: center;
  gap: 15px;
}

#item-quantity-large {
  width: 80px;
  height: 60px;
  text-align: center;
  border: 3px solid #2ecc71;
  border-radius: 10px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  background: #fff;
  pointer-events: none;
}

.quantity-label {
  font-size: 1.2rem;
  color: #7f8c8d;
  font-weight: 500;
}

/* قسم التسعير */
.quantity-pricing {
  text-align: center;
  padding-top: 20px;
  border-top: 2px dashed #dee2e6;
}

.quantity-total-large {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
}

.quantity-total-large .total-price {
  color: #27ae60;
  font-size: 1.8rem;
  font-weight: 700;
  margin-right: 10px;
}

.quantity-note {
  font-size: 0.9rem;
  color: #7f8c8d;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.quantity-note i {
  color: #f39c12;
}

/* أزرار الاختيار السريع */
.quantity-quick-select {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 2px solid #dee2e6;
}

.quantity-quick-select span {
  display: block;
  text-align: center;
  margin-bottom: 15px;
  color: #2c3e50;
  font-weight: 500;
  font-size: 1rem;
}

.quick-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.quick-btn {
  padding: 12px 25px;
  border: 2px solid #3498db;
  background: #fff;
  color: #3498db;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 60px;
  text-align: center;
}

.quick-btn:hover {
  background: #3498db;
  color: #fff;
  transform: translateY(-2px);
}

.quick-btn.active {
  background: #3498db;
  color: #fff;
  border-color: #2980b9;
  box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

/* رسالة الباقات */
.package-info-message {
  margin-top: 20px;
  padding: 15px;
  background: #e8f4fc;
  border-radius: 10px;
  border-right: 4px solid #3498db;
  text-align: center;
  display: none;
}

.package-info-message i {
  color: #3498db;
  margin-left: 8px;
}

.package-info-message p {
  margin: 0;
  color: #2c3e50;
  font-size: 0.95rem;
}

/* تحسينات للخطوة الأولى في المودال */
#step-1 h4,
#step-2 h4,
#step-3 h4 {
  margin-bottom: 25px;
  color: #2c3e50;
  font-size: 1.4rem;
  text-align: center;
}

/* تحسينات للبطاقات في الخدمات الإضافية */
.services-selection {
  transition: all 0.3s ease;
}

.service-option {
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.service-option input[type="radio"]:checked + label {
  border-color: #2ecc71;
  background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e9 100%);
}

.service-option label {
  padding: 20px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-option label:hover {
  border-color: #3498db;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.service-option i {
  font-size: 1.8rem;
  color: #3498db;
}

.service-option h5 {
  margin: 0 0 5px 0;
  color: #2c3e50;
  font-size: 1.1rem;
}

.service-option p {
  margin: 0;
  color: #7f8c8d;
  font-size: 0.95rem;
}

/* أنماط للعناوين في الملخص */
.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item.total {
  font-weight: 700;
  color: #2c3e50;
  font-size: 1.2rem;
}

.summary-value.price {
  color: #2ecc71;
  font-weight: 700;
  font-size: 1.3rem;
}

/* تحسينات للاستجابة على الأجهزة المحمولة */
@media (max-width: 768px) {
  .service-type-selection {
    flex-direction: column;
  }

  .service-option label {
    padding: 15px;
  }

  .service-option i {
    font-size: 1.5rem;
  }

  .service-option h5 {
    font-size: 1rem;
  }

  .service-option p {
    font-size: 0.9rem;
  }

  .quantity-section {
    padding: 20px 15px;
  }

  .quantity-info {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .quantity-display {
    gap: 10px;
  }

  .quantity-btn-large {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  #item-quantity-large {
    width: 70px;
    height: 50px;
    font-size: 1.5rem;
  }

  .quick-buttons {
    gap: 10px;
  }

  .quick-btn {
    padding: 10px 20px;
    font-size: 1rem;
    min-width: 50px;
  }
}

/* تأثيرات الحركة */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.services-selection {
  animation: fadeIn 0.5s ease;
}

.quantity-section {
  animation: slideUp 0.5s ease;
}

.quantity-btn-large:active {
  animation: pulse 0.3s ease;
}

.quick-btn:active {
  animation: pulse 0.3s ease;
}

/* إشعارات */
.notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.notification-success {
  border-right: 4px solid #2ecc71;
  color: gray;
}

.notification-warning {
  border-right: 4px solid #f39c12;
  color: gray;
}

.notification-error {
  border-right: 4px solid #e74c3c;
  color: gray;
}

.notification-info {
  border-right: 4px solid #3498db;
  color: gray;
}

.notification-content i {
  font-size: 1.2rem;
}

.notification-success .notification-content i {
  color: #2ecc71;
}

.notification-warning .notification-content i {
  color: #f39c12;
}

.notification-error .notification-content i {
  color: #e74c3c;
}

.notification-info .notification-content i {
  color: #3498db;
}

.pointer {
  cursor: pointer;
}
