:root {
  --primary-color: #2563eb;
  --primary-light: #e6efff;
  --secondary-color: #111827;
  --gray-light: #f8f9fa;
  --gray-medium: #e5e7eb;
  --gray-dark: #6b7280;
  --white: #ffffff;
  --success: #22c55e;
  --border-radius: 8px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #f5f5f5;
  color: var(--secondary-color);
  line-height: 1.6;
}
.max-w-4xl
{
  max-width: 1200px !important;
}

/* Select2 dropdown consistency */
.select2-container {
  width: 100% !important;
}

.category-select + .select2-container,
.subcategory-select + .select2-container {
  width: 100% !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.subtitle {
  color: var(--gray-dark);
  font-size: 1rem;
}
.main-title-one
{
  font-size: 2rem !important;
  font-weight: 700 !important;
}
.main-subtitle
{
  font-size: 14px !important;
  color:#696969 !important;
}
/* Progress Steps */
.progress-container {
  margin-bottom: 2rem;
  overflow-x: auto;
}

.progress-steps {
  display: flex;
  list-style: none;
  padding: 0;
  position: relative;
  min-width: 900px;
}

.progress-steps::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--gray-medium);
  z-index: 1;
}

.progress-steps li {
  position: relative;
  z-index: 2;
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-icon {
  width: 50px;
  height: 50px;
  background-color: var(--white);
  border: 2px solid var(--gray-medium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  position: relative;
}

.step-number {
  display: inline-block;
}

.step-icon i {
  display: none;
  color: var(--white);
}

.step-label {
  font-size: 0.85rem;
  color: var(--gray-dark);
}

/* Active and Completed Steps */
.progress-steps li.active .step-icon {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.progress-steps li.active .step-number {
  color: var(--white);
}

.progress-steps li.active .step-label {
  color: var(--primary-color);
  font-weight: 500;
}

.progress-steps li.completed .step-icon {
  background-color: var(--success);
  border-color: var(--success);
}

.progress-steps li.completed .step-number {
  display: none;
}

.progress-steps li.completed .step-icon i {
  display: inline-block;
}

/* Form Container */
.form-container {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all .3s ease;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

/* Form Header and Tabs */
.form-header {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.tabs {
  display: flex;
  border: 1px solid var(--gray-medium);
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  max-width: 350px;
  background-color: #f9fafb;
  padding: .25rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
}

.tab {
  flex: 1;
  padding: 0.75rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--gray-dark);
  position: relative;
  /* background-color: var(--white); */
  /* border-right: 1px solid var(--gray-medium); */
  padding-top: .5rem;
  padding-bottom: .5rem;
}

.tab:last-child {
  border-right: none;
}

.tab.active {
  background-color: var(--white);
  color: #000000;
  font-weight: 500;
  border-radius: .5rem;
}

.tab:not(:last-child)::after {
  content: none;
}

/* Tab Content */
.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Content Container for Tab Content */
.content-container {
  max-width: 450px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Email Tab Specific Styles */
#email-tab {
  width: 100%;
}

#email-tab .form-group {
  margin-bottom: 1.25rem;
}
/* 
#email-tab input[type="email"] {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 0.75rem;
  font-size: 0.95rem;
  width: 100%;
} */

#email-tab .btn-primary {
  margin-bottom: 1.5rem;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-weight: 500;
}

#email-tab .btn-google {
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-weight: 400;
  border: 1px solid #e5e7eb;
}

#email-tab .divider {
  margin: 0 0 1.5rem 0;
}

/* Phone Tab Specific Styles */
#phone-tab {
  width: 100%;
}

#phone-tab .form-group {
  margin-bottom: 1.25rem;
}

#phone-tab input[type="tel"],
#phone-tab input[type="text"] {
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  padding: 0.75rem;
  font-size: 0.95rem;
  width: 100%;
}

#phone-tab .btn-primary {
  margin-bottom: 1.5rem;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-weight: 500;
}

/* OTP Container Styling */
.otp-container {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.otp-container input {
  flex: 1;
}

.btn-otp {
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-otp:hover {
  background-color: #374151;
}

/* Form Elements */
h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.step-description {
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
  width: 100%;
}

.form-group.half {
  width: calc(50% - 0.5rem);
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-medium);
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  transition: var(--transition);
}

input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.otp-container {
  display: flex;
  gap: 1rem;
}

.otp-container input {
  flex: 1;
}
#add-category-btn
{
border-radius: 5px !important;
margin-left: 5px;
}
.btn-otp {
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group input {
  width: auto;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
}

.checkbox-group a {
  color: var(--primary-color);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  font-weight: 500;
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

.divider {
  position: relative;
  text-align: center;
  margin: 2rem 0;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--gray-medium);
}

.divider span {
  position: relative;
  background-color: var(--white);
  padding: 0 1rem;
  font-size: 0.8rem;
  color: var(--gray-dark);
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-medium);
  border-radius: var(--border-radius);
  background-color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.btn-google img {
  width: 20px;
  height: 20px;
}

.btn-google:hover {
  background-color: var(--gray-light);
}

/* File Upload */
.file-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.upload-area {
  border: 1px dashed var(--gray-medium);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.upload-area:hover {
  border-color: var(--primary-color);
  background-color: var(--primary-light);
}

.upload-area i {
  font-size: 2rem;
  color: var(--gray-dark);
  margin-bottom: 0.5rem;
}

.btn-file {
  background-color: var(--white);
  color: var(--secondary-color);
  border: 1px solid var(--gray-medium);
  border-radius: var(--border-radius);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-file:hover {
  background-color: var(--gray-light);
}

.file-hint, .field-hint {
  font-size: 0.8rem;
  color: var(--gray-dark);
  margin-top: 0.25rem;
}

.btn-skip {
  background-color: var(--white);
  color: var(--gray-dark);
  border: 1px solid var(--gray-medium);
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-skip:hover {
  background-color: var(--gray-light);
}

/* Business Type Cards */
.business-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.business-type-card {
  border: 1px solid var(--gray-medium);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.business-type-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.business-type-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.business-type-card h3 {
  margin-bottom: 0.5rem;
}

.business-type-card p {
  font-size: 0.85rem;
  color: var(--gray-dark);
}

/* Navigation Buttons */
.navigation-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.btn-back {
  background-color: var(--white);
  color: var(--gray-dark);
  border: 1px solid var(--gray-medium);
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-back:hover {
  background-color: var(--gray-light);
}

.navigation-fixed {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
}

.btn-next {
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-next:hover {
  background-color: #374151;
}

/* Text Error and Message Styling */
.text-error {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: block;
}

.otp-message {
  color: #22c55e;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: block;
}

/* OTP Container Styling - Additional */
.otp-container {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

#otp-section.visible {
  max-height: 200px;
  opacity: 1;
  margin-bottom: 1.25rem;
  padding: 0.5rem 0;
}

#otp-section:not(.visible) {
  transition: all 0.3s ease;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin: 0;
  padding: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .container {
      padding: 1rem;
  }
  
  .form-row {
      flex-direction: column;
      gap: 0;
  }
  
  .form-group.half {
      width: 100%;
  }
  
  .tabs {
      overflow-x: auto;
  }
  
  .tab {
      padding: 0.75rem 1rem;
      white-space: nowrap;
  }
  
  .business-types {
      grid-template-columns: 1fr;
  }
  
  .navigation-fixed {
      position: static;
      margin-top: 2rem;
  }
  
  .btn-next {
      width: 100%;
      justify-content: center;
  }
}

@media (max-width: 480px) {
  h1 {
      font-size: 1.5rem;
  }
  
  h2 {
      font-size: 1.3rem;
  }
  
  .form-container {
      padding: 1.5rem 1rem;
  }
  
  .progress-steps li .step-label {
      font-size: 0.7rem;
  }
}

/* Remove button group styles that are no longer needed */
.button-group {
  display: none;
}

/* International Telephone Input Styles */
.iti {
  width: 100%;
  margin-bottom: 0.5rem;
}

.iti__flag-container:hover .iti__selected-flag {
  background-color: rgba(0, 0, 0, 0.05);
}

.iti__selected-flag {
  padding: 0 12px;
  border-radius: 6px 0 0 6px;
}

/* Password Field Styles */
.password-container {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--gray-dark);
  padding: 4px;
  z-index: 10;
}

.password-toggle:hover {
  color: var(--secondary-color);
}

/* Password Validation Message */
.password-requirements {
  font-size: 0.8rem;
  color: var(--gray-dark);
  margin-top: 0.25rem;
}

.password-strength {
  height: 4px;
  background-color: var(--gray-medium);
  border-radius: 2px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.password-strength-bar {
  height: 100%;
  width: 0;
  background-color: var(--gray-dark);
  transition: width 0.3s ease, background-color 0.3s ease;
}

.password-strength-bar.weak {
  width: 33.33%;
  background-color: #ef4444;
}

.password-strength-bar.medium {
  width: 66.66%;
  background-color: #f59e0b;
}

.password-strength-bar.strong {
  width: 100%;
  background-color: #22c55e;
}
.state-select, .city-select {
 height: 46px;
}
.select2-container--default .select2-selection--single .select2-selection__clear
{
  height: 37px;
}
.select2-container--default .select2-selection--single .select2-selection__clear span
{
  color:#888;
}
label.error {
  color: red;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

.progress-steps li.completed,
.progress-steps li:not(.active) {
  pointer-events: none;
  cursor: not-allowed;
}

.progress-steps li.active {
  pointer-events: auto;
  cursor: default;
  opacity: 1;
}

.qr-code {   
  width: 120px;
  margin: 0 auto;
  padding: 12px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  background: white;
}
#qr-code-success-div {
  width: 55%;
  margin: 0 auto;
  padding: 1rem !important;
}
#url {
  border: none !important;
  border-bottom: 1px solid #e5e7eb !important;
  border-radius: 0 !important;
}
#url:focus {
  box-shadow: none !important;
  border-bottom: 1px solid var(--primary-color) !important;
}

.disabled-tab {
  pointer-events: none;
  cursor: not-allowed;
}