/* Info Section - Friendly and Colorful Design */
.order-info-section {
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  text-align: center;
  padding: 0 2rem;
  box-sizing: border-box;
}

.order-info-card {
  background: linear-gradient(145deg, 
    rgba(123, 104, 238, 0.25) 0%, 
    rgba(32, 178, 170, 0.15) 50%, 
    rgba(91, 163, 245, 0.2) 100%);
  border: 1px solid rgba(123, 104, 238, 0.4);
  border-radius: 16px;
  padding: 2rem;
  color: var(--color-text-primary);
  width: 100%;
  margin: 0 auto;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 
    0 8px 32px rgba(123, 104, 238, 0.3),
    0 4px 16px rgba(32, 178, 170, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.order-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(123, 104, 238, 0.2) 0%,
    rgba(32, 178, 170, 0.15) 30%,
    rgba(91, 163, 245, 0.18) 70%,
    rgba(123, 104, 238, 0.12) 100%
  );
  border-radius: 16px;
  pointer-events: none;
}

.order-info-card:hover {
  transform: scale(1.02) translateY(-2px);
  border-color: rgba(123, 104, 238, 0.6);
  background: linear-gradient(145deg, 
    rgba(123, 104, 238, 0.35) 0%, 
    rgba(32, 178, 170, 0.25) 50%, 
    rgba(91, 163, 245, 0.3) 100%);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 
    0 12px 48px rgba(123, 104, 238, 0.4),
    0 6px 24px rgba(32, 178, 170, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}


.order-info-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--color-text-primary);
  background: none !important;
  border: none !important;
  padding: 0 !important;
  text-align: center;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.order-info-text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin: 0;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.order-info-card p,
.order-info-card h1,
.order-info-card h2,
.order-info-card h3,
.order-info-card h4,
.order-info-card h5,
.order-info-card h6 {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.order-container {
  margin: 0 auto;
  padding: 0.625rem 2rem 2rem 2rem;
  margin-top: 10px;
}

.order-header {
  text-align: center;
  margin-bottom: 3rem;
  /* animation: fadeInUp 0.8s ease-out 0.1s both; */
}

.order-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-accent-headline);
  text-shadow: none;
}

.order-subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.85);
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.6;
}

.order-content {
  max-width: 1440px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(123, 104, 238, 0.12) 0%, rgba(32, 178, 170, 0.08) 100%);
  border: 1px solid rgba(123, 104, 238, 0.25);
  border-radius: 12px;
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 4px 16px rgba(123, 104, 238, 0.1);
  box-sizing: border-box;
}

.order-content:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, rgba(123, 104, 238, 0.18) 0%, rgba(32, 178, 170, 0.12) 100%);
  box-shadow: 0 8px 25px rgba(123, 104, 238, 0.2);
}

.order-form-container {
  width: 100%;
  padding: 2rem 3rem;
  box-sizing: border-box;
}

/* Override widget-form max-width and margin for order form */
.order-form-container .widget-form {
  max-width: none;
  margin: 0;
  width: 100%;
}

.order-form {
  margin-top: 0;
  padding: 2rem 0;
  box-sizing: border-box;
}

.form-group {
  margin-bottom: 2rem;
  position: relative;
  padding: 0;
  box-sizing: border-box;
  /* animation: fadeInUp 0.8s ease-out 0.4s both; */
}

.form-group:nth-child(2) {
  animation-delay: 0.5s;
}

.form-group:nth-child(3) {
  animation-delay: 0.6s;
}

.form-group:nth-child(4) {
  animation-delay: 0.7s;
}

.form-group:nth-child(5) {
  animation-delay: 0.8s;
}

.form-group:nth-child(6) {
  animation-delay: 0.9s;
}

/* Form Labels - Friendly Design */
.form-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.form-label.required::after {
  content: ' *';
  color: #ff6b6b;
  font-weight: 700;
}

.form-group label:hover {
  color: var(--color-accent-headline);
}

.widget-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(123, 104, 238, 0.3);
  border-radius: 12px;
  background: linear-gradient(145deg, 
    rgba(123, 104, 238, 0.2) 0%, 
    rgba(32, 178, 170, 0.15) 50%, 
    rgba(91, 163, 245, 0.18) 100%);
  color: var(--color-text-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
  line-height: 1.5;
  box-sizing: border-box;
  box-shadow: 
    0 4px 16px rgba(123, 104, 238, 0.2),
    0 2px 8px rgba(32, 178, 170, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.widget-input:focus {
  outline: none;
  border-color: rgba(123, 104, 238, 0.7);
  background: linear-gradient(145deg, 
    rgba(123, 104, 238, 0.35) 0%, 
    rgba(32, 178, 170, 0.25) 50%, 
    rgba(91, 163, 245, 0.3) 100%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 
    0 6px 24px rgba(123, 104, 238, 0.4),
    0 0 12px rgba(32, 178, 170, 0.4),
    0 2px 8px rgba(123, 104, 238, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.widget-input:hover {
  border-color: rgba(123, 104, 238, 0.4);
  background: linear-gradient(145deg, 
    rgba(123, 104, 238, 0.25) 0%, 
    rgba(32, 178, 170, 0.2) 50%, 
    rgba(91, 163, 245, 0.22) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.widget-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.widget-input[type="textarea"],
.widget-input[rows] {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

select.widget-input {
  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='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
  background-position: right 1rem center !important;
  background-repeat: no-repeat !important;
  background-size: 1.2em 1.2em !important;
  padding-right: 3rem !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  -ms-appearance: none !important;
  border: 1px solid rgba(123, 104, 238, 0.3) !important;
  background-color: transparent !important;
  background: linear-gradient(145deg, 
    rgba(123, 104, 238, 0.2) 0%, 
    rgba(32, 178, 170, 0.15) 50%, 
    rgba(91, 163, 245, 0.18) 100%) !important;
  box-sizing: border-box !important;
}

/* Reset für alle Select-Elemente */
select {
  background-image: none !important;
  background-position: initial !important;
  background-repeat: initial !important;
  background-size: initial !important;
}

select.widget-input {
  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='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
  background-position: right 1rem center !important;
  background-repeat: no-repeat !important;
  background-size: 1.2em 1.2em !important;
}

select.widget-input:focus {
  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='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
  background-position: right 1rem center !important;
  background-repeat: no-repeat !important;
  background-size: 1.2em 1.2em !important;
  border-color: rgba(123, 104, 238, 0.7) !important;
  background-color: linear-gradient(145deg, 
    rgba(123, 104, 238, 0.35) 0%, 
    rgba(32, 178, 170, 0.25) 50%, 
    rgba(91, 163, 245, 0.3) 100%) !important;
}

.order-form-actions {
  margin-top: 3rem;
  text-align: center;
  padding: 0 1rem;
  /* animation: fadeInUp 0.8s ease-out 1s both; */
}

/* Submit Button - Clean Professional Design */
.order-submit-button {
  width: 100%;
  background: #072185;
  color: #ffffff;
  border: 2px solid #0a2ba5;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 56px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  box-shadow: 0 4px 16px rgba(7, 33, 133, 0.3);
}


.order-submit-button:hover:not(:disabled) {
  background: #0a2ba5;
  border-color: #1a4bc7;
  box-shadow: 0 6px 24px rgba(7, 33, 133, 0.4);
  transform: translateY(-1px);
}

.order-submit-button:active:not(:disabled) {
  background: #061f7a;
  border-color: #072185;
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(7, 33, 133, 0.3);
}

.order-submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  border-color: #555;
  box-shadow: 0 2px 8px rgba(7, 33, 133, 0.2);
}



.order-package-info {
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(32, 178, 170, 0.12) 0%, rgba(91, 163, 245, 0.08) 100%);
  border: 1px solid rgba(32, 178, 170, 0.25);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(32, 178, 170, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.order-package-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(32, 178, 170, 0.15);
}

.order-package-info-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.order-package-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.order-package-info-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.order-package-info-list li:last-child {
  border-bottom: none;
}

.order-package-info-list li:hover {
  color: var(--color-text-primary);
}

.order-package-info-list li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: var(--font-weight-bold);
  margin-right: 0.75rem;
}

.order-success-message {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(32, 178, 170, 0.1) 100%);
  border: 1px solid rgba(40, 167, 69, 0.4);
  border-radius: 12px;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 4px 16px rgba(40, 167, 69, 0.15);
  font-weight: 600;
}

.order-error-message {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.15) 0%, rgba(239, 68, 68, 0.1) 100%);
  border: 1px solid rgba(220, 53, 69, 0.4);
  border-radius: 12px;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 4px 16px rgba(220, 53, 69, 0.15);
  font-weight: 600;
}

.order-loading {
  margin-top: 2rem;
  text-align: center;
  /* animation: fadeInUp 0.8s ease-out 0.6s both; */
}

.order-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top: 3px solid var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Fade In Up Animation */
/* Animation wird von layout.css bereitgestellt */

/* Responsive Design */
@media (max-width: 768px) {
  .order-container {
    padding: 0.625rem 1rem 1rem 1rem;
    margin-top: 10px;
  }
  
  .order-info-section {
    padding: 0 1rem;
  }
  
  .order-form-container {
    padding: 1.5rem 2rem;
  }
  
  .order-form {
    padding: 1.5rem 0;
  }
  
  .form-group {
    padding: 0;
  }
  
  .order-form-actions {
    padding: 0;
  }
  
  .order-title {
    font-size: 2rem;
  }
  
  .order-subtitle {
    font-size: 1rem;
  }
  
  .order-submit-button {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
    min-height: 52px;
    border-radius: 14px;
  }
}

@media (max-width: 480px) {
  .order-form-container {
    padding: 1rem 1.5rem;
  }
  
  .order-form {
    padding: 1rem 0;
  }
  
  .form-group {
    padding: 0;
  }
  
  .order-form-actions {
    padding: 0;
  }
  
  .order-info-section {
    padding: 0 1rem;
  }
  
  .order-info-card {
    padding: 1.5rem;
    border-radius: 14px;
  }
  
  .order-title {
    font-size: 1.5rem;
  }
  
  .widget-input {
    padding: 0.75rem;
  }
  
  .order-submit-button {
    padding: 0.8rem 1rem;
    font-size: 0.875rem;
    min-height: 48px;
    border-radius: 12px;
  }
}

/* Order Pricing Info - Compact billing and cancellation info */
.order-pricing-info {
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.order-pricing-billing-cancellation {
  font-size: 0.7rem;
  color: #b8c5d1;
  margin: 0;
  line-height: 1.2;
  text-align: center;
  font-style: italic;
}
