/**
 * Pool Table Booking Calculator Styles
 */

/* Container */
.calculator-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  font-family: inherit;
  color: #333;
}

/* Mobile spacing adjustments for booking page */
@media (max-width: 768px) {
  .calculator-container {
    padding-top: calc(var(--header-height, 120px) + 20px); /* Add space for fixed mobile header + extra margin */
    padding-bottom: 100px; /* Add space for floating buttons */
  }
  
  /* Hide top action button on mobile */
  .top-action-buttons {
    display: none !important;
  }
}

/* Initial Loading Spinner */
.initial-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  text-align: center;
}

.initial-loader .spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary-color, #008080);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

.initial-loader p {
  color: #666;
  font-size: 16px;
  margin: 0;
}

/* Progress bar */
.progress-bar {
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
  position: relative;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #e0e0e0;
  transform: translateY(-50%);
  z-index: 1;
}

.progress-step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e0e0e0;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  position: relative;
  z-index: 2;
}

.progress-step.active {
  border-color: var(--primary-color, #008080);
  color: var(--primary-color, #008080);
}

.progress-step.completed {
  background-color: var(--primary-color, #008080);
  border-color: var(--primary-color, #008080);
  color: white;
}

/* Clickable step indicators */
.progress-step.clickable {
  cursor: pointer;
  transition: all 0.3s ease;
}

.progress-step.clickable:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.progress-step.clickable:focus {
  outline: 2px solid var(--primary-color, #008080);
  outline-offset: 2px;
}

.progress-step.clickable:active {
  transform: scale(0.95);
}

/* Disabled future steps */
.progress-step.clickable:not(.completed):not(.active) {
  cursor: not-allowed;
  opacity: 0.6;
}

.progress-step.clickable:not(.completed):not(.active):hover {
  transform: none;
  box-shadow: none;
}

/* Step styles */
.step {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Card sections */
.card-section {
  background: #f9f9f9;
  border-radius: var(--border-radius, 8px);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm, 0 2px 4px rgba(0,0,0,0.05));
}

.card-section h3 {
  color: var(--primary-color, #008080);
  margin-bottom: 15px;
}

/* Form elements */
label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.required-field::after {
  content: ' *';
  color: #d9534f;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  border-color: var(--primary-color, #008080);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 128, 128, 0.2);
}

textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.checkbox-label {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 10px;
}

.checkbox-label.disabled {
  color: #999;
  cursor: not-allowed;
}

/* Services grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.service-option {
  background: #f9f9f9;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.service-option:hover {
  border-color: var(--primary-color, #008080);
  background: #f5f9fc;
  transform: translateY(-2px);
}

.service-option.selected {
  border-color: var(--primary-color, #008080);
  background: rgba(0, 128, 128, 0.05); /* Lighter version of primary color */
  box-shadow: var(--shadow-md, 0 4px 15px rgba(0,0,0,0.1));
}

.service-option.selected:before {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color, #008080);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.service-option label {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Hide radio buttons but keep functionality */
.hidden-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.service-content {
  display: flex;
  flex-direction: column;
}

.service-title {
  font-weight: 500;
  font-size: 17px;
  margin-bottom: 5px;
}

.service-price {
  font-weight: bold;
  color: var(--primary-color, #008080);
  margin-top: 5px;
}

.service-description {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
}

/* Button styles - using brand colors from global CSS */
.buttons {
  margin-top: 20px;
  display: flex;
  justify-content: space-between; /* Gives space for Prev and Next buttons */
  align-items: center;
  gap: 15px;
  position: relative; /* For absolute positioning if needed */
}

/* When on first step (hidden prev button), align next button to right */
/* Using :has selector for modern browsers */
.buttons:has(#prevBtn.hidden) {
  justify-content: flex-end;
}

/* Alternative approach for browsers without :has support */
.buttons.first-step {
  justify-content: flex-end;
}

button {
  padding: 12px 25px;
  border: none;
  border-radius: var(--border-radius, 8px);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition, all 0.3s ease);
  min-width: 120px; /* Ensures consistent button sizes */
}

#prevBtn {
  background-color: #f0f0f0;
  color: #333;
  margin-right: auto; /* Push Next button to right */
}

#prevBtn:hover {
  background-color: #e0e0e0;
}

/* Handle the case where prevBtn is hidden */
#prevBtn.hidden {
  display: none !important;
  opacity: 0;
  visibility: hidden;
}

/* When prev button is hidden, next should be right-aligned */
#nextBtn {
  background-color: var(--primary-color, #008080);
  color: white;
}

#nextBtn:hover {
  background-color: var(--primary-dark, #006666);
  transform: translateY(-2px);
}

#submitBtn {
  background-color: var(--primary-color, #008080);
  color: white;
  font-weight: bold;
  padding: 10px 25px;
  transition: var(--transition, all 0.3s ease);
}

#submitBtn:hover {
  background-color: var(--primary-dark, #006666);
  transform: translateY(-2px);
}

/* Options groups */
.options-group {
  margin-bottom: 25px;
}

.options-group h3 {
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
  margin-bottom: 15px;
  color: var(--primary-color, #008080);
}

/* Top Action Button */
.top-action-buttons {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.top-action-buttons button {
  background-color: var(--primary-color, #008080);
  color: white;
  font-weight: bold;
  padding: 12px 25px;
  border-radius: var(--border-radius, 8px);
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: var(--transition, all 0.3s ease);
}

.top-action-buttons button:hover {
  background-color: var(--primary-dark, #006666);
  transform: translateY(-2px);
}

/* Summary styling */
.summary-section {
  background: #f9f9f9;
  border-radius: var(--border-radius, 8px);
  padding: 20px;
  margin-bottom: 20px;
}

.summary-section h3 {
  color: var(--primary-color, #008080);
  margin-bottom: 15px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item.special-instructions {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border-top: 1px solid #eee;
  padding-top: 15px;
  margin-top: 15px;
}

.summary-item .instructions-text {
  white-space: pre-wrap;
  color: #555;
  font-style: italic;
  background-color: #f9f9f9;
  padding: 10px;
  border-radius: 4px;
  width: 100%;
}

.total-row {
  font-weight: bold;
  margin-top: 15px;
  border-top: 2px solid #ddd;
  padding-top: 15px;
}

.special-condition {
  color: #d9534f;
}

/* Notes and alerts */
.note {
  background-color: rgba(0, 128, 128, 0.05);
  border-left: 4px solid var(--primary-color, #008080);
  padding: 10px 15px;
  margin: 15px 0;
  border-radius: 0 4px 4px 0;
}

.note.error-note {
  background-color: #ffebee;
  border-left-color: #d9534f;
}

.error-message {
  color: #d9534f;
  font-size: 14px;
  margin-top: -10px;
  margin-bottom: 15px;
}

.service-error-message {
  color: #d9534f;
  margin-bottom: 10px;
  font-weight: 500;
}

.warning-text {
  color: #d9534f;
  font-size: 14px;
  font-style: italic;
}

/* Agent routing section */
.agentRouting {
  background-color: rgba(0, 128, 128, 0.1);
  border-left: 4px solid var(--primary-color, #008080);
  padding: 15px;
  margin-top: 20px;
  border-radius: 0 4px 4px 0;
}

/* Loading and messages */
#loadingIndicator {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--primary-color, #008080);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

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

#messageContainer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.message-dialog {
  background: white;
  padding: 30px;
  border-radius: 8px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#messageContent {
  margin-bottom: 10px;
}

.success-message {
  color: #28a745;
  font-size: 18px;
  margin-bottom: 20px;
}

.error-message {
  color: #d9534f;
  font-size: 18px;
  margin-bottom: 20px;
}

#messageCloseBtn, .ok-button {
  background-color: var(--primary-color, #008080);
  color: white;
  padding: 10px 20px;
  border-radius: var(--border-radius, 8px);
  border: none;
  font-size: 16px;
  cursor: pointer;
  margin-top: 15px;
  display: inline-block;
  transition: var(--transition, all 0.3s ease);
}

#messageCloseBtn:hover, .ok-button:hover {
  background-color: var(--primary-dark, #006666);
  transform: translateY(-2px);
}

.ok-button {
  font-weight: bold;
  min-width: 120px;
  margin: 15px auto 5px auto;
}

.ok-button:hover {
  background-color: var(--primary-dark, #006666);
}

/* Helper classes */
.hidden {
  display: none !important;
}

/* Additional specific selector for hiding options groups */
.options-group.hidden,
.options-group.permanently-hidden,
#wrappingOptionsSection,
#pocketReplacementsSection {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
}

.error {
  border-color: #d9534f !important;
}

.error-container {
  border: 1px solid #d9534f;
  padding: 10px;
  border-radius: 4px;
  background-color: #ffebee;
}

.description {
  color: #666;
  margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
  
  .buttons, 
  .buttons.first-step {
    flex-direction: column-reverse;
    gap: 10px;
    align-items: center;
    justify-content: center;
  }
  
  .buttons #prevBtn {
    margin-right: 0; /* Remove auto margin on mobile */
    order: 2; /* Place it after the next button in the column-reverse layout */
  }
  
  .buttons #nextBtn {
    order: 1; /* Ensure it appears first (at bottom) in column-reverse layout */
  }
  
  .buttons #submitBtn {
    order: 1; /* Same as next button */
  }
  
  button {
    width: 100%;
    max-width: 250px;
  }
}

/* Make the calculator look consistent with the main site's style */
.calculator-container h1,
.calculator-container h2,
.calculator-container h3 {
  color: var(--primary-color, #008080);
}

.calculator-container h1 {
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 15px;
}

.calculator-container h2 {
  margin-bottom: 5px;
}

/* Highlight special flag */
.special-flag {
  color: #d9534f;
  font-style: italic;
  font-size: 0.9em;
  margin-left: 5px;
}

/* Square Payment Form Styles */
.payment-form {
  margin-top: 20px;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.payment-form h3 {
  margin-bottom: 20px;
  color: var(--primary-color, #008080);
}

#card-container {
  margin-bottom: 20px;
  min-height: 90px;
  border: 1px solid #ddd;
  padding: 12px;
  border-radius: 4px;
  background-color: white;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.payment-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.payment-button {
  background-color: var(--primary-color, #008080);
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  flex: 3;
  transition: all 0.3s ease;
}

.payment-button:hover {
  background-color: var(--primary-dark, #006666);
}

.payment-button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.cancel-button {
  background-color: #f8f9fa;
  color: #6c757d;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  flex: 1;
  transition: all 0.3s ease;
}

.cancel-button:hover {
  background-color: #e9ecef;
  color: #343a40;
}

#payment-status-container {
  margin-top: 15px;
  padding: 10px;
  border-radius: 4px;
  text-align: center;
}

.payment-status-error {
  background-color: #ffebee;
  color: #d32f2f;
}

.payment-status-success {
  background-color: #e8f5e9;
  color: #388e3c;
}

/* Primary button style for Pay Booking */
.primary-btn {
  background-color: var(--primary-color, #008080);
  color: white;
  font-weight: bold;
}

.primary-btn:hover {
  background-color: var(--primary-dark, #006666);
}

/* Modal Styles */
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  padding: 20px;
}

/* Mobile-specific modal container adjustments */
@media (max-width: 768px) {
  .modal-container {
    padding: 0;
  }
  
  .modal-dialog {
    max-height: 100vh;
    max-width: 100%;
    width: 100%;
  }
}

.modal-dialog {
  background: white;
  border-radius: 8px;
  width: 100%;
  max-width: 550px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.modal-header {
  padding: 15px 20px;
  background: #f9f9f9;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  color: var(--primary-color, #008080);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close-btn:hover {
  background: #f0f0f0;
  color: #333;
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  padding: 15px 20px;
  background: #f9f9f9;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Update payment form style to fit in modal */
.modal-container .payment-form {
  border: none;
  padding: 0;
  margin: 0;
  background: none;
  box-shadow: none;
}

.modal-container #card-container {
  margin-bottom: 20px;
  min-height: 120px;
  border: none;
  padding: 15px;
  background-color: white;
  position: relative;
}

/* Square loading spinner */
.square-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  z-index: 10;
}

.square-loading p {
  margin-top: 10px;
  color: var(--primary-color, #008080);
  font-weight: 500;
}

/* Delivery Address Section - simplified styling */
#deliveryAddressSection.hidden {
  display: none;
}

#deliveryAddressSection .note {
  font-size: 13px;
  color: #6c757d;
  margin-top: 8px;
  font-style: italic;
}

/* Enhanced note styling */
.note {
  padding: 10px;
  background-color: #e3f2fd;
  border-left: 4px solid #2196f3;
  margin: 15px 0;
  border-radius: 0 4px 4px 0;
  font-size: 14px;
  color: #1976d2;
}

/* Hidden class if not already defined */
.hidden {
  display: none !important;
}

/* Payment Branding and Security Styles */
.payment-branding {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.payment-system-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.square-logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.payment-text h4 {
  margin: 0 0 5px 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.payment-text p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

/* Security Information Section */
.security-info {
  margin-top: 25px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.security-badges {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #495057;
}

.security-icon {
  width: 24px;
  height: 24px;
}

.security-text {
  text-align: center;
  font-size: 13px;
  color: #6c757d;
  margin: 0;
  line-height: 1.5;
}

/* Enhanced Payment Button */
.payment-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #00a65a;
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.payment-button:hover {
  background-color: #008d4c;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.payment-button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.payment-button .lock-icon {
  width: 16px;
  height: 16px;
}

/* Update modal dialog for better spacing */
.modal-dialog {
  background: white;
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.modal-header {
  padding: 20px 24px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 1px solid #dee2e6;
}

.modal-body {
  padding: 24px;
  max-height: 70vh;
  overflow-y: auto;
}

/* Enhanced card container */
.modal-container #card-container {
  margin-bottom: 20px;
  min-height: 140px;
  border: 2px solid #e0e0e0;
  padding: 20px;
  background-color: #ffffff;
  position: relative;
  border-radius: 8px;
  transition: border-color 0.3s ease;
}

.modal-container #card-container:focus-within {
  border-color: #00a65a;
  box-shadow: 0 0 0 3px rgba(0, 166, 90, 0.1);
}

/* Update payment form in modal */
.modal-container .payment-form {
  margin-bottom: 0;
}

/* Responsive design for payment modal */
@media (max-width: 600px) {
  .modal-dialog {
    margin: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }
  
  .security-badges {
    gap: 15px;
  }
  
  .security-badge {
    font-size: 12px;
  }
  
  .security-icon {
    width: 20px;
    height: 20px;
  }
  
  .payment-system-info {
    flex-direction: column;
    text-align: center;
  }
  
  /* Fix Square payment form on mobile */
  .modal-container #card-container {
    margin-bottom: 15px;
    min-height: 120px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    overflow: visible;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
  }
  
  .modal-container .payment-form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
  }
  
  .payment-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .payment-buttons button {
    width: 100%;
    min-height: 44px; /* Touch-friendly button size */
  }
  
  /* Ensure modal body has proper padding and scroll */
  .modal-body {
    padding: 15px 10px;
    flex: 1;
    overflow-y: auto;
    box-sizing: border-box;
  }
  
  .modal-header {
    padding: 12px 15px;
    flex-shrink: 0;
  }
  
  .modal-footer {
    padding: 12px 15px;
    flex-shrink: 0;
  }
  
  /* Make sure Square iframe fits properly */
  .modal-container #card-container iframe {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Top action button mobile responsiveness */
  .top-action-buttons {
    margin: 15px 0;
  }
  
  .top-action-buttons button {
    font-size: 16px;
    padding: 10px 20px;
  }
  
  /* Additional mobile modal improvements */
  .payment-details {
    font-size: 14px;
  }
  
  .payment-summary-item {
    padding: 8px 0;
  }
  
  .modal-container {
    align-items: stretch;
  }
  
  /* Ensure h3 and labels are readable on mobile */
  .modal-header h3 {
    font-size: 18px;
  }
  
  .payment-form h4 {
    font-size: 16px;
    margin-bottom: 10px;
  }
}

/* Domain-specific header styles for Step 1 */
.domain-info-section {
  padding: 0 0 20px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.domain-title {
  color: var(--primary-color, #008080);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
  line-height: 1.2;
}

.domain-description {
  font-size: 15px;
  line-height: 1.5;
  color: #666;
  text-align: center;
  margin-bottom: 15px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.service-question {
  margin: 15px 0 10px;
  text-align: center;
}

.service-question h3 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
  margin: 0;
}

.service-highlights {
  margin: 15px 0;
}

.service-highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.service-highlights li {
  padding: 6px 0;
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-highlights i {
  color: var(--primary-color, #008080);
  font-size: 16px;
  flex-shrink: 0;
}

.service-info-banner {
  background-color: #f0f0f0;
  color: #444;
  padding: 12px 15px;
  border-radius: 4px;
  text-align: center;
  margin-top: 15px;
  font-size: 13px;
  line-height: 1.4;
  border: 1px solid #ddd;
}

/* Domain contact info - phone button */
.domain-contact-info {
  text-align: center;
  margin: 20px 0;
}

.calculator-phone-button {
  display: inline-block;
  background-color: #008080;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.calculator-phone-button:hover {
  background-color: #006666;
}

.calculator-phone-button i {
  margin-right: 8px;
}

/* Mobile responsiveness for domain info */
@media (max-width: 768px) {
  .domain-info-section {
    padding: 0 0 15px 0;
  }
  
  .domain-title {
    font-size: 20px;
  }
  
  .domain-description {
    font-size: 14px;
  }
  
  .service-question h3 {
    font-size: 16px;
  }
  
  .service-highlights li {
    font-size: 13px;
    padding: 5px 0;
  }
  
  .service-info-banner {
    font-size: 12px;
    padding: 10px;
  }

  .calculator-phone-button {
    font-size: 16px;
    padding: 10px 20px;
  }
}