/* Payment Link Styles */

.required {
  color: #dc0000;
}

.payment-link-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 40px 20px;
  background-color: #f9f9f9;
  font-family: "Open Sans", sans-serif; /* Assuming Avada uses Open Sans or similar */
}

.payment-link-container {
  background: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  box-sizing: border-box;
}

.payment-link-container h2 {
  margin-top: 0;
  margin-bottom: 25px;
  color: #333;
  font-size: 24px;
  text-align: center;
  font-weight: 600;
}

.payment-link-container h3 {
  margin-top: 30px;
  margin-bottom: 20px;
  color: #444;
  font-size: 20px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.payment-link-container p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.order-summary {
  background-color: #f8f9fa;
  padding: 5px;
  border-radius: 6px;
  border: 1px solid #e9ecef;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
}
.order-summary img {
  max-height: 200px;
}
.order-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 5px;
  font-size: 15px;
  max-width: 335px;
}

.order-summary strong {
  color: #333;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-weight: 600;
  font-size: 14px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  color: #333 !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}
.form-select {
  padding-top: 3px;
  padding-bottom: 3px;
  padding-left: 10px;
}
.form-control:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 12px 25px;
  font-size: 16px;
  line-height: 1.5;
  border-radius: 4px;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
}

.btn-primary {
  color: #fff;
  background-color: #dea600;
  border-color: #ac8100;
}

.btn-primary:hover {
  background-color: #ac8100;
  border-color: #dea600;
}

.btn-success {
  color: #fff;
  background-color: #28a745;
  border-color: #28a745;
}

.btn-success:hover {
  background-color: #218838;
  border-color: #1e7e34;
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  text-align: center;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

hr {
  margin-top: 30px;
  margin-bottom: 30px;
  border: 0;
  border-top: 1px solid #eee;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .payment-link-wrapper {
    padding: 20px 10px;
  }

  .payment-link-container {
    padding: 25px;
  }
}
