/* Order Screen Styles */

/* Hero Section */
.order-hero-section {
  background: linear-gradient(135deg, var(--color-background-primary), var(--color-background-secondary));
  padding: var(--spacing-xxl) 0;
  position: relative;
  overflow: hidden;
}

.order-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(100, 100, 212, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(137, 95, 178, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.order-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  text-align: center;
  position: relative;
  z-index: 2;
}

.order-hero-headline {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin: 0 0 var(--spacing-lg) 0;
  line-height: var(--line-height-tight);
  background: linear-gradient(135deg, var(--color-text-primary), var(--color-ci-primary-light));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.order-hero-headline::after {
  content: '';
  position: absolute;
  bottom: -var(--spacing-sm);
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-ci-primary), var(--color-ci-primary-light));
  border-radius: var(--border-radius-sm);
}

.order-hero-description {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  margin: 0;
  line-height: var(--line-height-relaxed);
  max-width: 600px;
  margin: 0 auto;
}

/* Form Section */
.order-form-section {
  padding: var(--spacing-xxl) 0;
  background: var(--color-background-primary);
}

.order-form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Order Form Specific Styles */
.order-form {
  margin-top: var(--spacing-lg);
}

.order-form .form-section {
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-lg);
  background: var(--color-background-card);
  border: 1px solid var(--color-border-primary);
  border-radius: var(--border-radius-lg);
  position: relative;
  overflow: hidden;
}

.order-form .form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(100, 100, 212, 0.02), rgba(137, 95, 178, 0.01));
  z-index: 1;
}

.order-form .form-section > * {
  position: relative;
  z-index: 2;
}

.order-form .form-section-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  margin: 0 0 var(--spacing-lg) 0;
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--color-ci-primary);
  display: inline-block;
  position: relative;
}

.order-form .form-section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--color-ci-primary);
}

/* Enhanced Form Elements */
.order-form .form-input,
.order-form .form-textarea,
.order-form .form-select {
  background: var(--color-background-secondary);
  border: 1px solid var(--color-border-primary);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-size-base);
  color: var(--color-text-primary);
  transition: all 0.3s ease;
  min-height: 44px;
  position: relative;
}

.order-form .form-input:focus,
.order-form .form-textarea:focus,
.order-form .form-select:focus {
  outline: none;
  border-color: var(--color-ci-primary);
  box-shadow: 0 0 0 3px rgba(100, 100, 212, 0.1);
  background: var(--color-background-tertiary);
  transform: translateY(-1px);
}

.order-form .form-input::placeholder,
.order-form .form-textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.7;
}

.order-form .form-textarea {
  min-height: 120px;
  resize: vertical;
  font-family: var(--font-family-primary);
}

.order-form .form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right var(--spacing-sm) center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: var(--spacing-xl);
}

/* Payment Info */
.form-payment-info {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: var(--spacing-xs);
  text-align: center;
  line-height: 1.4;
}

/* Enhanced Labels */
.order-form .form-label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.order-form .form-label.required::after {
  content: '*';
  color: var(--color-error);
  font-weight: var(--font-weight-bold);
}

/* Enhanced Form Actions */
.order-form .form-actions {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
}

.order-form .widget-button-standard {
  background: linear-gradient(135deg, var(--color-ci-primary), var(--color-ci-primary-dark));
  color: var(--color-text-primary);
  border: none;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--border-radius-md);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 200px;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.order-form .widget-button-standard::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.order-form .widget-button-standard:hover::before {
  left: 100%;
}

.order-form .widget-button-standard:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(100, 100, 212, 0.3);
  background: linear-gradient(135deg, var(--color-ci-primary-light), var(--color-ci-primary));
}

.order-form .widget-button-standard:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(100, 100, 212, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .order-hero-section {
    padding: var(--spacing-xl) 0;
  }
  
  .order-hero-headline {
    font-size: var(--font-size-3xl);
  }
  
  .order-hero-description {
    font-size: var(--font-size-base);
  }
  
  .order-form-section {
    padding: var(--spacing-xl) 0;
  }
  
  .order-form-container {
    padding: 0 var(--spacing-md);
  }
  
  .order-form .form-section {
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
  }
  
  .order-form .form-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
  
  .order-form .widget-button-standard {
    width: 100%;
    min-width: auto;
  }
}

@media (max-width: 576px) {
  .order-hero-container {
    padding: 0 var(--spacing-md);
  }
  
  .order-hero-headline {
    font-size: var(--font-size-2xl);
  }
  
  .order-form-container {
    padding: 0 var(--spacing-sm);
  }
  
  .order-form .form-section {
    padding: var(--spacing-sm);
  }
  
  .order-form .form-input,
  .order-form .form-textarea,
  .order-form .form-select {
    min-height: 40px;
    padding: var(--spacing-xs) var(--spacing-sm);
  }
  
  .order-form .form-textarea {
    min-height: 100px;
  }
}