/* Service Selection Modal Styles */
.service-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.service-modal-content {
  background: white;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.service-modal-header {
  background: linear-gradient(135deg, var(--primary, #ff5500), var(--primary-light, #ff7733));
  color: white;
  padding: 24px;
  border-radius: 16px 16px 0 0;
  position: relative;
}

.service-modal-header h3 {
  margin: 0 0 8px 0;
  font-size: 1.5em;
  font-weight: 700;
}

.service-modal-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 1em;
}

.service-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.service-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.service-modal-body {
  padding: 24px;
}

.service-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
}

.service-option:hover {
  border-color: var(--primary, #ff5500);
  background: #fff5f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 85, 0, 0.15);
}

.service-option:active {
  transform: translateY(0);
}

.service-icon {
  font-size: 2em;
  flex-shrink: 0;
}

.service-details h4 {
  margin: 0 0 4px 0;
  font-size: 1.1em;
  font-weight: 700;
  color: #333;
}

.service-details p {
  margin: 0;
  font-size: 0.9em;
  color: #666;
  line-height: 1.4;
}

/* Mobile Responsive Styles */
@media (max-width: 480px) {
  .service-modal {
    padding: 10px;
  }
  
  .service-modal-content {
    max-height: 90vh;
  }
  
  .service-modal-header {
    padding: 20px;
  }

  .service-modal-body {
    padding: 20px;
  }
  
  .service-option {
    padding: 14px;
    gap: 12px;
  }
  
  .service-icon {
    font-size: 1.8em;
  }
}

/* Fallback styles for when CSS variables aren't available */
.service-modal-header {
  background: linear-gradient(135deg, #ff5500, #ff7733);
}

.service-option:hover {
  border-color: #ff5500;
  background: #fff5f0;
  box-shadow: 0 4px 12px rgba(255, 85, 0, 0.15);
}
