* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family:"Quicksand", sans-serif;
}

body {
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.step-form-container {
  width: 100%;

  margin: 0 auto;
  padding: 20px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  background-color: #fff;
}
 
@media screen and (min-width: 768px) {  
  .step-form-container {
    padding: 98px;
    max-width: 580px;
    min-width: 580px;
  }
}

.step-content {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 5;
}

.step-header {
  margin-bottom: 40px;
  position: relative;
  width: 100%;
  max-width: 400px;
}

.step-header-bg {
  background-color: transparent;
  color: white;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-header-bg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-image: url('background-blob.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  min-width: 131%;
  min-height: 131%;
  pointer-events: none;
}

.step-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 5px;
  line-height: 1.2;
  position: relative;
  z-index: 10;
  color:white !important
}

.step-subtitle {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.9;
  margin-top: 10px;
  position: relative;
  z-index: 10;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 768px) {
  .step-subtitle {
    font-size: 22px;
  }
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
  max-width: 400px;
  position: relative;
  z-index: 10;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
  height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: #57bb00;
  box-shadow: 0 0 0 3px rgba(92, 184, 92, 0.2);
}

/* Custom dropdown styles */
.custom-select-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 5px;
}

.custom-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 30px;
  background-color: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-select:focus {
  border-color: #57bb00;
  box-shadow: 0 0 0 3px rgba(92, 184, 92, 0.2);
}

.select-arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 14px;
  color: #555;
  transition: transform 0.2s ease;
}

.custom-select:focus + .select-arrow {
  transform: translateY(-50%) rotate(180deg);
}

/* Domain input container */
.domain-group {
  margin-bottom: 8px;
}

.domain-input-container {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #ddd;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.domain-input-container:focus-within {
  border-color: #57bb00;
  box-shadow: 0 0 0 3px rgba(92, 184, 92, 0.2);
}

.domain-prefix {
  padding: 15px;
  background-color: #f8f9fa;
  color: #666;
  white-space: nowrap;
  display: flex;
  align-items: center;
  border: none;
  border-right: 1px solid #ddd;
}

.domain-input {
  border: none;
  border-radius: 0;
  flex-grow: 1;
  height: 100%;
}

.domain-extension {
  width: auto;
  height: 100%;
  position: relative;
}

.domain-extension .custom-select {
  border: none;
  height: 100%;
  border-left: 1px solid #ddd;
  width: 89px;
}

.domain-check {
  text-align: center;
  width: 100%;
  margin-top: 8px;
}

.check-link {
  color: #57bb00;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.check-link:hover {
  text-decoration: underline;
}

/* Form labels */
.form-label {
  display: flex;
  align-items: center;
  text-align: left;
  margin-bottom: 8px;
  font-size: 15px;
  color: #333;
  font-weight: 500;
  gap: 4px;
}

/* Price display */
.price-display {
  text-align: center;
  /* margin: 25px 0; */
  width: 100%;
}

.price {
  font-size: 28px;
  font-weight: 700;
  color: #f44336;
}

.hosting-price {
  margin-bottom: 5px;
}

.billing-note {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}

/* Features List */
.features-list {
  text-align: left;
  background-color: #f8f9fa;
  padding: 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.features-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a365d;
  margin-bottom: 15px;
  text-align: left;
}

.feature-items {
  list-style: none;
  margin-bottom: 15px;
}

.feature-items li {
  margin-bottom: 6px;
  color: #333;
  font-size: 14px;
  position: relative;
  padding-left: 20px;
}

.feature-items li::before {
  content: "✓";
  color: #57bb00;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.features-link {
  color: #57bb00;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.features-link:hover {
  text-decoration: underline;
}

/* Domain Options */
.domain-options {
  /* margin-top: 30px; */
}

.option-buttons {
  display: flex;
  width: 100%;
  margin-bottom: 15px;
}

.option-btn {
  flex: 1;
  padding: 12px 15px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s;
}

.option-btn:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  background-color: #1a365d;
  color: white;
}

.option-btn:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  background-color: #57bb00;
  color: white;
}

.option-btn.active:first-child  {
  box-shadow: 0 0 0 3px  rgba(92, 184, 92, 0.7);
}
.option-btn.active:last-child {
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.7);
}

.option-btn:not(.active) {
  /* opacity: 0.2; */
}

.domain-input-section {
  margin-top: 15px;
}

/* Checkbox styling */
.checkbox-group {
  text-align: center;
  margin: 25px 0;
}

.checkbox-container {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  font-size: 15px;
  color: #333;
  user-select: none;
  font-weight: 500;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;
  border: 2px solid #57bb00;
  border-radius: 4px;
  background-color: white;
  transition: all 0.2s ease;
}

.checkbox-container:hover input ~ .checkmark {
  background-color: rgba(92, 184, 92, 0.1);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: #57bb00;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-label {
  line-height: 1.4;
  color: #57bb00;
  font-weight: 600;
}

.btn {
  background-color: #57bb00;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 7px 40px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  background-color: #4cae4c;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-next {
  display: block;
  margin: 0 auto;
}

.btn-prev {
  background-color: #1a365d;
  margin-right: 10px;
}

.btn-prev:hover {
  background-color: #142b4c;
}

.step-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 70px;
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.step-indicator::before {
  content: '';
  position: absolute;
  height: 2px;
  background-color: #e0e0e0;
  width: calc(100% - 30px);
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
}

.step-dot {
  width: 16px;
  height: 16px;
  background-color: #e0e0e0;
  border-radius: 50%;
  margin: 0 6px;
  position: relative;
  transition: all 0.3s ease;
  z-index: 1;
}

.step-dot.active {
  background-color: #57bb00;
  transform: scale(1.2);
  box-shadow: 0 0 0 3px rgba(92, 184, 92, 0.2);
}

.step-dot.completed {
  background-color: #57bb00;
}

/* Connect completed dots with green line */
.step-dot.completed::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #57bb00;
  right: -100%;
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
}

.step-form {
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
  padding-top: 20px;
  max-width: 400px;
}

.step-form-actions {
  margin-top: 25px;
  width: 100%;
  max-width: 300px;
  position: relative;
  z-index: 10;
}

.address-flex-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 10px;

}
/* Navigation buttons container */
.step-nav-buttons {
  display: flex;
  justify-content: space-between;
}

.step-nav-buttons .btn {
  min-width: 140px;
}

/* Form Summary Styles */
.summary-title {
  font-size: 22px;
  color: #1a365d;
  margin-bottom: 20px;
  font-weight: 600;
}

.summary-content {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

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

.summary-label {
  font-weight: 600;
  color: #555;
}

.summary-value {
  color: #333;
}

/* Add styles for form rows with half-width inputs */
.form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px;
  width: 100%;
  max-width: 400px;
}

.form-group.half {
  width: calc(50% - 16px);
  margin: 0 8px 16px;
  max-width: calc(50% - 16px);
}

/* Required label indicator */
.form-label.required::after {
  content: "*";
  color: #ff3e3e;
  margin-left: 4px;
}

/* Section titles */
.section-title {
  margin-top: 15px;
  padding-bottom: 6px;
  font-size: 18px;
  font-weight: 600;
  color: #1a365d;
  width: 100%;
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
}

.section-subtitle {
  margin-top: -8px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #666;
}

/* Summary page styles */
.summary-section {
  background-color: #f7f9fc;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.summary-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}

.summary-label {
  font-weight: 500;
  color: #666;
}

.summary-value {
  font-weight: 600;
  color: #333;
}

.summary-address {
  display: block;
  margin-bottom: 5px;
  color: #333;
}

.total-section {
  border-top: 1px solid #e1e4e8;
  margin-top: 15px;
  padding-top: 15px;
}

.summary-total {
  font-size: 18px;
  font-weight: 700;
  color: #1a73e8;
}

.terms-checkbox {
  margin-bottom: 25px;
}

.terms-link, .privacy-link {
  color: #1a73e8;
  text-decoration: none;
}

.terms-link:hover, .privacy-link:hover {
  text-decoration: underline;
}

/* Payment methods */
.payment-methods {
  margin-bottom: 30px;
}

.payment-options {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.payment-option {
  flex: 1;
  min-width: 100px;
  cursor: pointer;
}

.payment-option input {
  display: none;
}

.payment-option-inner {
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  transition: all 0.2s ease;
}

.payment-option input:checked + .payment-option-inner {
  border-color: #1a73e8;
  background-color: #f0f7ff;
}

.payment-icon {
  font-size: 24px;
  display: block;
  margin-bottom: 8px;
}

.payment-label {
  font-size: 14px;
  font-weight: 500;
}

/* Completion page styles */
.completion-icon {
  width: 80px;
  height: 80px;
  background-color: #4caf50;
  color: white;
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.completion-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 15px;
}

.completion-message {
  text-align: center;
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.order-number {
  text-align: center;
  background-color: #f5f5f5;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.order-number-label {
  font-weight: 500;
  color: #666;
  margin-right: 10px;
}

.order-number-value {
  font-weight: 700;
  color: #333;
}

.completion-instructions {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
}

.completion-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn-outline {
  background-color: transparent;
  color: #1a73e8;
  border: 1px solid #1a73e8;
}

.btn-outline:hover {
  background-color: #f0f7ff;
}

/* Add styles for radio buttons used in billing cycle selection */
.radio-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 16px;
  user-select: none;
}

.radio-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.radio-checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 24px;
  width: 24px;
  background-color: #fff;
  border: 2px solid #ddd;
  border-radius: 50%;
}

.radio-container:hover input ~ .radio-checkmark {
  border-color: #ccc;
}

.radio-container input:checked ~ .radio-checkmark {
  background-color: #fff;
  border-color: #4CAF50;
}

.radio-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.radio-container input:checked ~ .radio-checkmark:after {
  display: block;
}

.radio-container .radio-checkmark:after {
  top: 6px;
  left: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4CAF50;
}

.radio-label {
  margin-left: 5px;
}

.billing-options {
  margin: 0px 0 20px;
}

/* Info tooltip styles */
.info-tooltip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  line-height: 16px;
  border-radius: 50%;
  background-color: #e0e0e0;
  color: #666;
  font-size: 12px;
  cursor: help;
  font-weight: bold;
}

.info-tooltip:hover {
  background-color: #ccc;
}

/* Domain register section specific to dedicated server form */
.domain-register-section {
  /* margin-top: 20px; */
  padding-top: 20px;
  border-top: 1px solid #eee;
}

/* Required field indicator */
.form-label.required:after {
  content: "*";
  color: #f44336;
  margin-left: 4px;
}

/* Help text styles for form fields */
.help-text {
  font-size: 14px;
  color: #e74c3c;
  margin-top: 6px;
  line-height: 1.4;
  display: block;
  width: 100%;
}

/* Custom CSR upload button */
.custom-csr-btn {
  width: 100%;
  text-align: center;
  background-color: #1a365d;
  color: white;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  border: none;
  transition: background-color 0.3s;
}

.custom-csr-btn:hover {
  background-color: #142b4c;
}

/* Button outline style */
.btn-outline {
  background-color: transparent;
  border: 2px solid #1a365d;
  color: #1a365d;
}

.btn-outline:hover {
  background-color: rgba(26, 54, 93, 0.1);
}



/* Better alignment for help text */
.help-text {
  display: block;
  width: 100%;
}

/* Consistent margins for price displays */
.price-display {
  /* margin: 25px 0; */
  width: 100%;
}

/* Better spacing for hosting sections */
#hosting-form, 
#semi-dedicated-form, 
#dedicated-form, 
#ssl-form {
  margin-top: 20px;
}

/* Step indicator animation */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(92, 184, 92, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(92, 184, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(92, 184, 92, 0); }
}

.step-dot.active {
  animation: pulse 2s infinite;
}

/* Reduce spacing in account owner details form */
/* #account-details-form .form-group {
  margin-bottom: 14px;
} */

#account-details-form .section-title {
  margin-top: 14px;
  margin-bottom: 8px;
}

/* #account-details-form .form-label {
  margin-bottom: 5px;
} */

#account-details-form .checkbox-group {
  margin: 0px 0 15px;
  text-align: left;
}

/* Make sure the inputs are properly constrained to the form width */
#account-details-form .form-control {
  width: 100%;
  max-width: 100%;
}

/* Ensure consistent width for all form elements */
#account-details-form,
#account-details-form .form-group,
#account-details-form .form-row {
  max-width: 400px;
}

/* Improve vertical density specifically for account owner section */
#step-4 .step-header {
  margin-bottom: 30px;  
}

/* Specific adjustments for state/province and postal code */
#state, #postal-code {
  width: 100%;
  box-sizing: border-box;
}

/* Make form display more compact */
.form-control {
  height: 44px;
  padding: 10px 15px;
}

/* Reduce padding in section titles */
.section-title {
  margin-bottom: 10px;
}

/* Compact labels */
.form-label {
  margin-bottom: 5px;
  font-size: 14px;
}

/* Reduce margins between form sections */
#account-details-form .section-title {
  margin-top: 14px;
  margin-bottom: 8px;
} 

@media screen and (max-width: 768px) {
    .step-header {
        transform: scale(0.7);
    }
}
.info-text-account-owner{
  color: #142b4c;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  /* margin-top: 10px; */
  margin-bottom: 20px;
}

/* Promo Code Section Styles */
.promo-code-section {
  margin: 20px 0;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
  width: 100%;
}

.promo-input-group {
  margin-top: 8px;
}

.promo-input-group .form-control {
  width: 100%;
  background-color: white;
}

.promo-message {
  margin-top: 8px;
  font-size: 14px;
  min-height: 20px;
}

.promo-message.success {
  color: #28a745;
}

.promo-message.error {
  color: #dc3545;
}
.terms-checkbox .checkbox-label{
  font-size: 12px;
  text-align: left;
}
.disclaimer-title{
  font-size: 16px;
  font-weight: 600;
  color: #142b4c;
  margin-bottom: 10px;
}
.disclaimer-text{
  font-size: 14px;
  color: #142b4c;
  margin-bottom: 10px;
}
.disclaimer-section{
  margin-top: 20px;
  margin-bottom: 00px;
  text-align: center;
}

.availability-result { margin-top: 10px; font-weight: bold; }
.domain-availibility { margin-top: 10px; font-weight: bold; }

/* DNS info styling */
.dns-info {
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border-left: 3px solid #57bb00;
    color: #555;
    font-size: 14px;
    line-height: 1.4;
    border-radius: 4px;
}

/* Loading indicators */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    width: 100%;
}

.loading-indicator p {
    margin-top: 10px;
    color: #666;
    font-weight: 500;
}

.loader {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #57bb00;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

.button-loader {
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 2px solid #fff;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    animation: spin 1s linear infinite;
}

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

.api-loading {
    position: relative;
    color: transparent !important;
}

.api-loading::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    margin-left: -8px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top-color: #57bb00;
    animation: spin 0.8s linear infinite;
}

button.loading {
    position: relative;
    cursor: not-allowed;
    opacity: 0.8;
}