body {
    background: linear-gradient(to right, #f3f6fc, #f7f9ff);
    font-family: "Segoe UI", sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.signup-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0px 4px 18px rgba(0, 0, 0, 0.06);
    padding: 50px 30px 30px; /* top padding thoda zyada for back button */
    /* text-align: center; */
    position: relative; /* IMPORTANT for absolute positioning */
}
label{
  margin-bottom: 10px;
    font-weight: 600;
    /* margin-top: 20px; */
}
.small
{
  text-align: center;
  padding-top: 10px;
}
  .back-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #f0f4ff;
    border: none;
    color: #2563eb;
    font-size: 1.1rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: background 0.2s ease;
  }
  .back-btn:hover {
    background: #dbeafe;
  }
    .step-icon {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      background: #f0f4ff;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 15px auto;
      color: #4f46e5;
      font-size: 28px;
    }
    .otp-input {
      width: 50px;
      height: 50px;
      text-align: center;
      font-size: 1.2rem;
      margin-right: 8px;
      border-radius: 10px;
    }
    .btn-custom {
      background-color: #2563eb;
      color: white;
      font-weight: 600;
      border-radius: 12px;
      padding: 12px;
      font-size: 1rem;
    }
    .btn-custom:hover {
      background-color: #1e4ed8;
    }
    .progress-dots {
      display: flex;
      justify-content: center;
      gap: 6px;
      margin: 12px 0;
    }
    .dot {
      width: 8px;
      height: 8px;
      background: #d1d5db;
      border-radius: 50%;
      transition: 0.3s;
    }
    .dot.active {
      background: #2563eb;
      width: 20px;
      border-radius: 6px;
    }
    .hidden-step { display: none; }

    .invalid { color: #ef4444; }
    .valid { color: #22c55e; }

    .feature-icon {
      background: #f0f4ff;
      color: #2563eb;
      width: 38px;
      height: 38px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      font-size: 16px;
      box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
      transition: 0.3s;
    }
  .feature-item:hover .feature-icon {
    background: #2563eb;
    color: #fff;
    transform: scale(1.1);
  }
  .brand-logo {
    width: 60px;
    height: 40px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
  }

/* Overlay full page */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  z-index: 9999;
  display: none; /* hidden by default */
}

/* Spinner centered */
.spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 70px;
  height: 70px;
  border: 6px solid #ddd;
  border-top: 6px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.custom-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    color: #333;
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    z-index: 9999;
}

.custom-alert.show {
    opacity: 1;
    transform: translateY(0);
}

.custom-alert .icon {
    width: 18px;
    height: 18px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
}

a{
    text-decoration: none;
}

/* Button */
    .show-popup-btn {
      padding: 10px 20px;
      background: #007bff;
      color: white;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-size: 16px;
      margin-bottom: 20px;
    }
    .show-popup-btn:hover {
      background: #0056b3;
    }

    /* Overlay */
    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.4);
      display: none; /* initially hidden */
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    /* Modal Box */
    .popup-box {
      background: #fff;
      border-radius: 12px;
      max-width: 420px;
      width: 90%;
      padding: 20px;
      box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
      position: relative;
      animation: fadeIn 0.3s ease-in-out;
    }

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

    .popup-header {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 10px;
    }

    .popup-header h2 {
      color: #2c7a4b;
      font-size: 20px;
      margin: 0;
      font-weight: bold;
    }

    .popup-header .icon {
      font-size: 24px;
      color: #2c7a4b;
    }

    .popup-content p {
      font-size: 14px;
      margin: 10px 0;
    }

    .info-box {
      background: #eef4ff;
      padding: 10px;
      border-radius: 8px;
      font-size: 13px;
      margin: 10px 0;
      color: #003366;
    }

    .steps {
      margin-top: 10px;
    }

    .steps p {
      font-weight: bold;
      margin-bottom: 5px;
    }

    .step-item {
      display: flex;
      align-items: center;
      gap: 10px;
      background: #f8f8f8;
      border-radius: 8px;
      padding: 8px;
      margin: 5px 0;
    }

    .step-number {
      background: #007bff;
      color: white;
      border-radius: 50%;
      width: 22px;
      height: 22px;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 12px;
      font-weight: bold;
    }

    .close-btn {
      background: #f0f0f0;
      border: none;
      border-radius: 8px;
      padding: 10px;
      width: 100%;
      margin-top: 10px;
      cursor: pointer;
      font-weight: bold;
    }

    .close-btn:hover {
      background: #e0e0e0;
    }

    /* Close icon top right */
    .close-icon {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 18px;
      cursor: pointer;
    }

.error-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    color: #333;
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    z-index: 9999;
}

.error-alert.show {
    opacity: 1;
    transform: translateY(0);
}

.error-alert .icon {
    width: 18px;
    height: 18px;
    background: red;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
}


.email-box {
  background-color: #f0f7ff;
  border-radius: 8px;
  padding: 20px;
  max-width: 450px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.email-box h5 {
  font-weight: 600;
  margin-bottom: 15px;
}
.email-box li {
  margin-bottom: 8px;
}
.email-icon {
  font-size: 1.2rem;
  margin-right: 6px;
}


 .email-info-box {
   text-align: justify !important;
    background-color: #f8f0ff; /* Light purple background */
    border: 1px solid #e0cfff;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #6f42c1; /* Bootstrap purple */
    font-size: 0.95rem;
    max-width: 500px;
  }
  .email-info-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
  }
  .email-info-text strong {
    display: block;
    font-weight: 600;
  }
/* .head-part
{
  position: fixed;
  z-index: 1111111;
  background: #fff;
  width: 33%;
}

.mid-part{
  margin-top: 156px;
}

.bottom
{
  position: fixed;
  z-index: 1111111;
  background: #fff;
  width: 33%;
  margin-top: -414px;
} */

.form-container {
  height: 75vh;
  max-height: 75vh;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  /* box-shadow: 0 0 20px rgba(0,0,0,0.1);
  background-color: white;
  padding: 20px; */
}

.form-header, .form-footer {
  flex-shrink: 0;
}

.form-body {
  overflow-y: auto;
  flex-grow: 1;
  margin: 20px 0;
  padding-right: 10px;
}

/* Optional: hide scrollbar for better UI */
.form-body::-webkit-scrollbar {
  width: 6px;
}
.form-body::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.1);
  border-radius: 4px;
}