/*------------------------------
    SIGN UP MODAL STYLES
    Clean & Standard Aesthetic
-------------------------------*/

.signup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  padding: 40px 20px;
  align-items: center;
  justify-content: center;
}

.signup-overlay.active {
  display: flex;
  opacity: 1;
}

.signup-container {
  width: 100%;
  max-width: 520px;
  margin: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  background: #ffffff;
  position: relative;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15),
              0 8px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Header */
.signup-header {
  display: flex;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid #f0f0f0;
  background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%);
  flex-shrink: 0;
  position: relative;
}

.signup-form-container .signup-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 2px solid #f1f5f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.signup-back-btn {
  background: transparent;
  border: none;
  font-size: 18px;
  color: #4a5568;
  cursor: pointer;
  padding: 8px;
  margin-right: 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.signup-back-btn:hover {
  background: #f7fafc;
  color: #2bb64e;
}

.signup-close-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  color: #718096;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.signup-close-btn:hover {
  background: #fee2e2;
  color: #ef4444;
  transform: rotate(90deg);
}

.signup-header-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a202c;
  margin: 0;
  letter-spacing: -0.2px;
  flex: 1;
}

/* Main Content */
.signup-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 28px;
  text-align: center;
  overflow-y: auto;
  min-height: 0;
}

/* Icon */
.signup-icon-wrapper {
  margin-bottom: 24px;
}

.signup-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #2bb64e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(43, 182, 78, 0.2);
}

.signup-icon-circle i {
  font-size: 32px;
  color: #ffffff;
}

/* Title and Subtitle */
.signup-main-title {
  font-size: 24px;
  font-weight: 600;
  color: #1a202c;
  margin: 0 0 8px 0;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.signup-subtitle {
  font-size: 15px;
  color: #718096;
  margin: 0 0 32px 0;
  line-height: 1.5;
  max-width: 100%;
  font-weight: 400;
}

/* Options */
.signup-options {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.signup-option-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  position: relative;
  min-height: 88px;
}

.signup-option-card:hover {
  border-color: #2bb64e;
  box-shadow: 0 2px 8px rgba(43, 182, 78, 0.1);
}

.signup-option-card.active {
  background: #f0fdf4;
  border-color: #2bb64e;
  box-shadow: 0 2px 8px rgba(43, 182, 78, 0.15);
}

.signup-option-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #f7fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.signup-option-icon i {
  font-size: 22px;
  color: #718096;
  transition: all 0.2s ease;
}

.signup-option-card.active .signup-option-icon {
  background: #2bb64e;
}

.signup-option-card.active .signup-option-icon i {
  color: #ffffff;
}

.signup-option-content {
  flex: 1;
  text-align: left;
}

.signup-option-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a202c;
  margin: 0 0 4px 0;
  letter-spacing: -0.1px;
  line-height: 1.4;
}

.signup-option-description {
  font-size: 13px;
  color: #718096;
  margin: 0;
  line-height: 1.4;
  font-weight: 400;
}

.signup-option-check {
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signup-check-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #cbd5e0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  background: #ffffff;
}

.signup-check-circle.active {
  border-color: #2bb64e;
  background: #2bb64e;
}

.signup-check-circle.active i {
  color: #ffffff;
  font-size: 12px;
}

/* Footer */
.signup-footer {
  padding: 20px 28px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
  background: #ffffff;
  flex-shrink: 0;
}

.signup-continue-btn {
  width: 100%;
  background: #2bb64e;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-transform: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(43, 182, 78, 0.2);
}

.signup-continue-btn:hover {
  background: #259d45;
  box-shadow: 0 4px 12px rgba(43, 182, 78, 0.3);
  transform: translateY(-1px);
}

.signup-continue-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(43, 182, 78, 0.25);
}

.signup-continue-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(43, 182, 78, 0.2);
}

/*------------------------------
    ADD BUSINESS FORM STYLES
    Professional & Refined
-------------------------------*/

.signup-form-container {
  max-width: 520px;
  width: 100%;
  animation: modalFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.signup-form-content {
  padding: 40px 36px;
  text-align: left;
  /* align-items: flex-start; */
  justify-content: flex-start;
  background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%);
}

.form-section {
  margin-bottom: 36px;
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid #e8ecf0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2bb64e 0%, #22c55e 50%, #2bb64e 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-section:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  border-color: #d1d9e6;
  transform: translateY(-2px);
}

.form-section:hover::before {
  opacity: 1;
}

.form-section-header {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f1f5f9;
  position: relative;
}

.form-section-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #2bb64e 0%, #22c55e 100%);
  border-radius: 3px 3px 0 0;
}

.form-section-header i {
  font-size: 22px;
  color: #ffffff;
  margin-right: 14px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2bb64e 0%, #22c55e 100%);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(43, 182, 78, 0.25);
  flex-shrink: 0;
}

.form-section-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  flex: 1;
  letter-spacing: -0.3px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Compact sections – Tax Configuration & Business Logo */
.form-section-compact {
  margin-bottom: 10px;
  padding: 10px 14px;
  border-radius: 8px;
}

.form-section-compact .form-section-header {
  margin-bottom: 8px;
  padding-bottom: 8px;
}

.form-section-compact .form-section-header i {
  font-size: 12px;
  width: 24px;
  height: 24px;
  margin-right: 6px;
  border-radius: 6px;
}

.form-section-compact .form-section-header h3 {
  font-size: 13px;
}

.form-section-compact .section-subtitle {
  font-size: 11px;
  margin-top: 0;
}

.form-section-compact .form-group {
  margin-bottom: 8px;
}

.form-section-compact .form-group:last-child {
  margin-bottom: 0;
}

.section-subtitle {
  font-size: 13px;
  color: #718096;
  font-weight: 400;
  margin: 4px 0 0 0;
  line-height: 1.4;
}

.collapsible-section .form-section-header {
  cursor: pointer;
  user-select: none;
  margin-bottom: 0;
  padding-bottom: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Inner hover removed – only outer .form-section:hover (card lift/shadow) applies */
.collapsible-section .form-section-header:hover {
  background: transparent;
  box-shadow: none;
}

.collapsible-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.collapsible-header > div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.collapse-icon {
  font-size: 14px;
  color: #718096;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 12px;
}

.collapsible-section.collapsed .collapse-icon {
  transform: rotate(-90deg);
}

.collapsible-content {
  max-height: 2000px;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding-top: 24px;
}

.collapsible-section.collapsed .collapsible-content {
  max-height: 0;
  padding-top: 0;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 10px;
  letter-spacing: -0.1px;
  line-height: 1.4;
}

/* Discard dialog for Add Business form */
.discard-dialog-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  padding: 20px;
}

.discard-dialog {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25);
  padding: 24px 24px 20px 24px;
  text-align: left;
  border: 1px solid #e2e8f0;
}

.discard-title {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.discard-message {
  margin: 0 0 20px 0;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
}

.discard-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.discard-actions .btn-secondary,
.discard-actions .btn-danger {
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.discard-actions .btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border-color: #e5e7eb;
}

.discard-actions .btn-secondary:hover {
  background: #e5e7eb;
}

.discard-actions .btn-danger {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.discard-actions .btn-danger:hover {
  background: #dc2626;
  border-color: #dc2626;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.field-error {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #dc2626;
  line-height: 1.4;
}

.input-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12) !important;
}

.required {
  color: #ef4444;
  font-weight: 700;
  margin-left: 3px;
  font-size: 15px;
}

.optional {
  color: #94a3b8;
  font-weight: 400;
  font-size: 12px;
  margin-left: 6px;
  font-style: italic;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group input[type="date"],
.form-group textarea,
.form-group select.form-select,
.form-group .country-dropdown-trigger {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  color: #0f172a;
  background: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  font-family: inherit;
  line-height: 1.5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select.form-select:hover,
.form-group .country-dropdown-trigger:hover {
  border-color: #cbd5e0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  background: #fafbfc;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select.form-select:focus,
.form-group .country-dropdown-trigger:focus,
.form-group .country-dropdown.open .country-dropdown-trigger {
  outline: none;
  border-color: #2bb64e;
  box-shadow: 0 0 0 4px rgba(43, 182, 78, 0.12), 0 2px 8px rgba(43, 182, 78, 0.15);
  background: #ffffff;
  transform: translateY(-1px);
}

.form-group select.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23718096' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Country custom dropdown – standard look */
.country-dropdown {
  position: relative;
  width: 100%;
}

.country-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.country-dropdown-value {
  flex: 1;
  font-size: 15px;
  color: #0f172a;
  line-height: 1.5;
}

.country-dropdown-value:empty::before {
  content: 'Select country';
  color: #94a3b8;
}

.country-dropdown-arrow {
  flex-shrink: 0;
  margin-left: 10px;
  color: #64748b;
  font-size: 12px;
  transition: transform 0.25s ease;
}

.country-dropdown.open .country-dropdown-arrow {
  transform: rotate(180deg);
}

.country-dropdown-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 280px;
  overflow-y: auto;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 100;
  display: none;
  padding: 6px 0;
}

.country-dropdown.open .country-dropdown-list {
  display: block;
}

.country-dropdown-option {
  padding: 12px 18px;
  font-size: 15px;
  color: #1e293b;
  line-height: 1.5;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.country-dropdown-option:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.country-dropdown-option.selected {
  background: #f0fdf4;
  color: #166534;
  font-weight: 600;
}

.country-dropdown-option[data-value=""] {
  color: #94a3b8;
}

.country-dropdown-option[data-value=""]:hover {
  color: #64748b;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a0aec0;
  font-weight: 400;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
  font-family: inherit;
}

.mobile-input-wrapper {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.country-code {
  padding: 14px 18px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 75px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.mobile-input-wrapper:hover .country-code {
  border-color: #cbd5e0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.mobile-input-wrapper:focus-within .country-code {
  border-color: #2bb64e;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  box-shadow: 0 0 0 4px rgba(43, 182, 78, 0.12), 0 2px 8px rgba(43, 182, 78, 0.15);
  transform: translateY(-1px);
}

.mobile-input-wrapper input {
  flex: 1;
}

.info-banner {
  display: flex;
  align-items: flex-start;
  padding: 16px 20px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-left: 4px solid #2bb64e;
  border-radius: 12px;
  margin: 20px 0;
  font-size: 13px;
  color: #166534;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(43, 182, 78, 0.12);
  border: 1px solid rgba(43, 182, 78, 0.2);
}

.info-banner i {
  color: #2bb64e;
  margin-right: 12px;
  font-size: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  background: rgba(43, 182, 78, 0.1);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.form-separator {
  position: relative;
  text-align: center;
  margin: 28px 0;
}

.form-separator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, #e2e8f0 20%, #e2e8f0 80%, transparent);
}

.form-separator span {
  position: relative;
  background: #ffffff;
  padding: 0 20px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.toggle-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
  border-radius: 8px;
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
}

.toggle-group:hover {
  background: #fafbfc;
}

.toggle-group:last-child {
  border-bottom: none;
}

.toggle-group label:first-child {
  margin-bottom: 0;
  flex: 1;
  color: #1e293b;
  font-weight: 600;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  cursor: pointer;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e0;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 26px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.toggle-switch:hover .toggle-slider {
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #2bb64e;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(22px);
  box-shadow: 0 2px 8px rgba(43, 182, 78, 0.3);
}

.file-upload-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.file-upload-wrapper input[type="file"] {
  display: none;
}

.file-upload-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px dashed #cbd5e0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 14px;
  color: #475569;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.file-upload-label:hover {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: #2bb64e;
  border-style: solid;
  color: #2bb64e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43, 182, 78, 0.2);
}

.file-upload-label:active {
  transform: translateY(0);
}

.file-upload-label i {
  font-size: 18px;
}

.file-name {
  font-size: 13px;
  color: #718096;
  flex: 1;
  font-weight: 500;
  padding: 8px 0;
}

.form-submit-wrapper {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 2px solid #f1f5f9;
  background: #ffffff;
  margin-left: -36px;
  margin-right: -36px;
  padding-left: 36px;
  padding-right: 36px;
  padding-bottom: 0;
  position: sticky;
  bottom: 0;
  z-index: 10;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

/* Add Business submit button – compact, modern */
.form-submit-wrapper .signup-continue-btn {
  width: 100%;
  margin: 0;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  box-shadow: 0 2px 8px rgba(43, 182, 78, 0.25);
  background: linear-gradient(135deg, #2bb64e 0%, #22c55e 100%);
  color: #ffffff;
  letter-spacing: 0.2px;
  text-transform: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}

.form-submit-wrapper .signup-continue-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.4s ease;
}

.form-submit-wrapper .signup-continue-btn:hover {
  box-shadow: 0 4px 14px rgba(43, 182, 78, 0.35);
  transform: translateY(-1px);
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.form-submit-wrapper .signup-continue-btn:hover::before {
  left: 100%;
}

.form-submit-wrapper .signup-continue-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(43, 182, 78, 0.3);
}

.form-submit-wrapper .signup-continue-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(43, 182, 78, 0.25);
}

.form-submit-wrapper .signup-continue-btn i {
  margin-right: 8px;
  font-size: 14px;
  opacity: 0.95;
}

/* Responsive */
@media only screen and (max-width: 767px) {
  .signup-overlay {
    padding: 20px 16px;
  }

  .signup-container {
    max-width: 100%;
    max-height: 95vh;
    border-radius: 12px;
  }

  .signup-header {
    padding: 20px;
  }

  .signup-back-btn {
    width: 32px;
    height: 32px;
    padding: 6px;
    margin-right: 10px;
    font-size: 16px;
  }

  .signup-close-btn {
    width: 32px;
    height: 32px;
    padding: 6px;
    font-size: 18px;
  }

  .signup-header-title {
    font-size: 18px;
  }

  .signup-content {
    padding: 32px 20px;
  }

  .signup-icon-circle {
    width: 64px;
    height: 64px;
  }

  .signup-icon-circle i {
    font-size: 28px;
  }

  .signup-main-title {
    font-size: 22px;
    margin-bottom: 6px;
  }

  .signup-subtitle {
    font-size: 14px;
    margin-bottom: 28px;
  }

  .signup-option-card {
    padding: 16px;
    min-height: 80px;
    border-radius: 10px;
  }

  .signup-option-icon {
    width: 44px;
    height: 44px;
    margin-right: 12px;
    border-radius: 8px;
  }

  .signup-option-icon i {
    font-size: 20px;
  }

  .signup-option-title {
    font-size: 15px;
    margin-bottom: 3px;
  }

  .signup-option-description {
    font-size: 12px;
  }

  .signup-check-circle {
    width: 22px;
    height: 22px;
  }

  .signup-check-circle.active i {
    font-size: 11px;
  }

  .signup-footer {
    padding: 16px 20px;
  }

  .signup-continue-btn {
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 8px;
  }

  .signup-form-content {
    padding: 28px 24px;
    background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%);
  }

  .form-section {
    padding: 24px;
    margin-bottom: 28px;
    border-radius: 14px;
  }

  .form-section-header {
    margin-bottom: 20px;
    padding-bottom: 14px;
  }

  .form-section-header i {
    width: 28px;
    height: 28px;
    font-size: 18px;
    margin-right: 10px;
  }

  .form-section-header h3 {
    font-size: 17px;
  }

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

  .form-group label {
    font-size: 13px;
    margin-bottom: 7px;
  }

  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="tel"],
  .form-group input[type="password"],
  .form-group input[type="date"],
  .form-group textarea,
  .form-group select.form-select,
  .form-group .country-dropdown-trigger {
    padding: 11px 14px;
    font-size: 14px;
    border-radius: 9px;
  }

  .form-submit-wrapper {
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media only screen and (max-width: 480px) {
  .signup-overlay {
    padding: 16px 12px;
  }

  .signup-container {
    max-height: 98vh;
    border-radius: 10px;
  }

  .signup-header {
    padding: 16px;
  }

  .signup-content {
    padding: 24px 16px;
  }

  .signup-option-card {
    padding: 14px;
    min-height: 76px;
  }

  .signup-option-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }

  .signup-option-icon i {
    font-size: 18px;
  }

  .signup-option-title {
    font-size: 14px;
  }

  .signup-option-description {
    font-size: 11px;
  }

  .signup-footer {
    padding: 14px 16px;
  }

  .signup-continue-btn {
    padding: 12px 16px;
    font-size: 13px;
  }

  .signup-form-content {
    padding: 24px 20px;
    background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%);
  }

  .form-section {
    padding: 20px;
    margin-bottom: 24px;
    border-radius: 12px;
  }

  .form-section-header {
    margin-bottom: 18px;
    padding-bottom: 12px;
  }

  .form-section-header i {
    width: 26px;
    height: 26px;
    font-size: 16px;
    margin-right: 8px;
  }

  .form-section-header h3 {
    font-size: 16px;
  }

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

  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="tel"],
  .form-group input[type="password"],
  .form-group input[type="date"],
  .form-group textarea,
  .form-group select.form-select,
  .form-group .country-dropdown-trigger {
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 8px;
  }

  .mobile-input-wrapper {
    flex-direction: column;
    gap: 8px;
  }

  .country-code {
    width: 100%;
    text-align: center;
    min-width: auto;
  }

  .form-submit-wrapper {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 24px;
  }

  .form-submit-wrapper .signup-continue-btn {
    padding: 11px 20px;
    font-size: 14px;
  }

  .form-submit-wrapper .signup-continue-btn i {
    font-size: 13px;
    margin-right: 6px;
  }
}

/* Smooth scrollbar */
.signup-overlay::-webkit-scrollbar {
  width: 6px;
}

.signup-overlay::-webkit-scrollbar-track {
  background: transparent;
}

.signup-overlay::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.signup-overlay::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

/*------------------------------
    SUCCESS MODAL STYLES
-------------------------------*/

.success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.95) 0%, rgba(220, 252, 231, 0.95) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999;
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  overflow-y: auto;
  padding: 40px 20px;
  align-items: center;
  justify-content: center;
}

.success-overlay.active {
  display: flex;
  opacity: 1;
}

.success-container {
  width: 100%;
  max-width: 480px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: successFadeIn 0.5s ease-out;
  position: relative;
}

.success-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 20px;
  color: #718096;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.success-close-btn:hover {
  background: #fee2e2;
  color: #ef4444;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.success-close-btn:active {
  transform: rotate(90deg) scale(0.95);
}

@keyframes successFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.success-icon-wrapper {
  margin-bottom: 32px;
  animation: successIconPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes successIconPop {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.success-icon-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(43, 182, 78, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 0 0 20px rgba(43, 182, 78, 0.08);
}

.success-checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #2bb64e;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(43, 182, 78, 0.3);
}

.success-checkmark i {
  font-size: 48px;
  color: #ffffff;
  animation: checkmarkDraw 0.5s ease-out 0.4s both;
}

@keyframes checkmarkDraw {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-45deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.success-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px;
  margin-bottom: 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  width: 100%;
  animation: successCardSlide 0.5s ease-out 0.3s both;
}

@keyframes successCardSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 12px 0;
  letter-spacing: -0.3px;
}

.success-company-name {
  font-size: 28px;
  font-weight: 700;
  color: #2bb64e;
  margin: 0 0 16px 0;
  letter-spacing: -0.4px;
}

.success-message {
  font-size: 15px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
  font-weight: 400;
}

.success-button {
  width: 100%;
  max-width: 100%;
  background: #2bb64e;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 18px 36px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(43, 182, 78, 0.3);
  animation: successButtonSlide 0.5s ease-out 0.5s both;
}

@keyframes successButtonSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-button:hover {
  background: #259d45;
  box-shadow: 0 8px 20px rgba(43, 182, 78, 0.4);
  transform: translateY(-2px);
}

.success-button:active {
  transform: translateY(0);
}

.success-button span {
  display: inline-block;
}

/* Responsive Success Modal */
@media only screen and (max-width: 767px) {
  .success-overlay {
    padding: 32px 16px;
  }

  .success-container {
    max-width: 100%;
  }

  .success-icon-circle {
    width: 100px;
    height: 100px;
    box-shadow: 0 0 0 16px rgba(43, 182, 78, 0.08);
  }

  .success-checkmark {
    width: 70px;
    height: 70px;
  }

  .success-checkmark i {
    font-size: 42px;
  }

  .success-card {
    padding: 28px 24px;
    margin-bottom: 28px;
  }

  .success-title {
    font-size: 22px;
  }

  .success-company-name {
    font-size: 24px;
  }

  .success-message {
    font-size: 14px;
  }

  .success-button {
    padding: 16px 32px;
    font-size: 15px;
  }

  .success-close-btn {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}

@media only screen and (max-width: 480px) {
  .success-overlay {
    padding: 24px 12px;
  }

  .success-icon-circle {
    width: 90px;
    height: 90px;
    box-shadow: 0 0 0 14px rgba(43, 182, 78, 0.08);
  }

  .success-checkmark {
    width: 60px;
    height: 60px;
  }

  .success-checkmark i {
    font-size: 36px;
  }

  .success-card {
    padding: 24px 20px;
    margin-bottom: 24px;
  }

  .success-title {
    font-size: 20px;
  }

  .success-company-name {
    font-size: 22px;
  }

  .success-message {
    font-size: 13px;
  }

  .success-button {
    padding: 14px 28px;
    font-size: 14px;
  }

  .success-close-btn {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}
