 body {
      margin: 0;
      font-family: "Poppins", sans-serif;
      background-color: #f9fafc;
    }

    .register-container {
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      padding: 10px;
    }

    .register-card {
      display: flex;
      max-width: 950px;
      width: 100%;
      background: #fff;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    }

    /* Left slider section */
   .slider-section {
      flex: 1;
      background: url(../images/banner/reg.jpg);
      background-size: cover;
      background-position: center;
      color: gray;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 40px 20px;
      position: relative;
    }

    .slide {
      display: none;
      font-size: 20px;
      font-weight: 500;
      line-height: 1.6;
      animation: fadeIn 1s ease-in-out;
      max-width: 80%;
    }

    .slide.active {
      display: block;
    }

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

    /* Right form section */
    .form-section {
      flex: 1;
      padding: 20px 40px;
      background-color: #fff;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .form-section .logo {
      display: block;
      margin: 0 auto -40px auto;
      width: 200px;
      height: 200px;
    }

    .form-section h2 {
      font-weight: 500;
      font-size: 35px;
      text-align: center;
      margin-top: 0;
      margin-bottom: 8px;
      color: #111827;
    }

    .form-section p {
      color: #6b7280;
      text-align: center;
      margin-bottom: 25px;
      font-size: 14px;
    }

    /* Google button */
    .google-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background: #fff;
      border: 1px solid #d1d5db;
      border-radius: 8px;
      padding: 12px;
      font-size: 17px;
      font-weight: 600;
      color: #374151;
      cursor: pointer;
      transition: 0.3s;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }

    .google-btn:hover {
      background: #f3f4f6;
    }

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

    .divider {
      text-align: center;
      margin: 20px 0;
      font-size: 14px;
      color: #9ca3af;
      position: relative;
    }

    .divider::before,
    .divider::after {
      content: "";
      position: absolute;
      width: 40%;
      height: 1px;
      background: #e5e7eb;
      top: 50%;
    }

    .divider::before { left: 0; }
    .divider::after { right: 0; }

    /* Form fields */
    form {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .form-field {
      display: flex;
      flex-direction: column;
    }

    .form-field label {
      font-size: 16px;
      color: #374151;
      margin-bottom: 6px;
      font-weight: bold;
    }

    input {
      padding: 12px;
      border: 1px solid #d1d5db;
      border-radius: 8px;
      background-color: #f9fafb;
      font-size: 15px;
      outline: none;
      transition: border 0.2s;
    }

    input:focus {
      border-color: #FAB814;
      background-color: #fff;
    }

    .phone-input {
      display: flex;
      align-items: center;
      border: 1px solid #d1d5db;
      border-radius: 8px;
      overflow: hidden;
      background: #f9fafb;
    }

    .phone-prefix {
      display: flex;
      align-items: center;
      background: #f3f4f6;
      padding: 0 12px;
      border-right: 1px solid #d1d5db;
    }

    .phone-prefix img {
      width: 20px;
      height: 14px;
      margin-right: 6px;
    }

    .phone-input input {
      flex: 1;
      border: none;
      background: transparent;
      padding: 12px;
      font-size: 15px;
    }

    /* WhatsApp section */
    .whatsapp-inline {
      display: flex;
      align-items: left;
      justify-content: space-between;
    }

    .whatsapp-inline label {
      margin-bottom: 0;
      font-size: 16px;
      color: #374151;
      font-weight: normal;
    }

    .radio-group {
      display: flex;
      gap: 14px;
      align-items: center;
    }

    .radio-group input[type="radio"] {
      transform: scale(1.2);
      accent-color: brown;
    }

    /* Buttons */
    .btn-register {
      background: #FAB814;
      color: #fff;
      padding: 12px;
      border: none;
      border-radius: 8px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.3s;
    }

   .btn-register:disabled {
      background: #ccc;
      cursor: context-menu;
      color: #666;
    }


    /*.btn-register:hover {
        background: black;
    }*/

    .login-text {
      text-align: center;
      margin-top: 20px;
      font-size: 15px;
    }

    .login-text a {
      color: #FAB814;
      text-decoration: none;
      font-weight: 600;
    }

    .login-text a:hover {
      text-decoration: underline;
    }

    @media (max-width: 768px) {
      .register-card {
        flex-direction: column;
      }
      .slider-section {
        display: none;
      }
      .form-section {
        padding: 40px 25px;
      }
    }


/***********************************
    OTP STYLE
************************************/

  .verify-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
  }

  .verify-section .back-btn {
    align-self: flex-start;
    background: none;
    border: none;
    font-size: 17px;
    font-weight: 550;
    color: #333;
    cursor: pointer;
    margin-bottom: 10px;
  }

  .verify-section .logo {
    display: block;
    margin: 0 auto -40px auto;
    width: 200px;
    height: 200px;
  }


  .verify-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: #002147;
    margin-bottom: 8px;
  }

  .verify-section p {
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
  }

  .verify-section .user-email {
    color: #FAB814;
    font-weight: 500;
  }

  .otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
  }


  .otp-box {
    width: 15px;
    height: 20px;
    text-align: center;
    font-size: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: 0.3s;
  }

  .otp-box:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 3px #0d6efd;
  }

  .otp-status {
    text-align: center;
    font-size: 15px;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.4s ease, color 0.3s ease;
  }

  .otp-status.loading { color: #888; opacity: 1; }
  .otp-status.success { color: #28a745; opacity: 1; }
  .otp-status.error { color: #d9534f; opacity: 1; }

    .countdown {
      margin-left: 5px;
      color: #666;
      animation: fadeBlink 1s ease-in-out infinite alternate;
    }

    @keyframes fadeBlink {
      from { opacity: 0.5; }
      to { opacity: 1; }
    }

  .verify-section button[type="submit"] {
    width: 100%;
    background: #0d6efd;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
  }

  .verify-section button[type="submit"]:hover {
    background: #0b5ed7;
  }

  .resend-text, .support-text {
    font-size: 13px;
    color: #444;
    margin-top: 15px;
  }

  .resend-text a, .support-text a {
    color: #FAB814;
    text-decoration: none;
    font-weight: 500;
  }

  .resend-text a:hover, .support-text a:hover {
    text-decoration: underline;
  }


/******************************
    Success Page
*******************************/

.success-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: 40px 20px;
}

.success-section .logo {
  width: 80px;
  margin-bottom: 20px;
}

.success-content {
  background: #fff;
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 420px;
}

.success-handshake {
  width: 150px;
  margin-bottom: 20px;
}

.success-content h2 {
  color: #183b56;
  font-size: 22px;
  margin-bottom: 10px;
}

.success-content p {
  color: #5a6b79;
  font-size: 10px;
  margin-bottom: 25px;
}

 #change{font-size: 14px;}

.continue-btn {
  background-color: #FAB814;
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  padding: 14px 50px;
  cursor: pointer;
  transition: 0.3s ease;
}

.continue-btn:hover {
  background-color: #f1be00;
}


/******************************
    Status message styles
*******************************/
#status.loading { color: #007bff; }
#status.success { color: #28a745; }
#status.error { color: #dc3545; }


/******************************
    Countdown fade animation
*******************************/
.countdown {
  margin-left: 8px;
  font-size: 14px;
  color: #777;
  opacity: 0.8;
  transition: opacity 0.5s ease;
}


/******************************
    Disabled resend link
*******************************/
.resend-text a[style*="pointer-events: none"] {
  cursor: not-allowed;
  text-decoration: none;
}


/* Spinner style */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top: 3px solid #28a745; /* green accent */
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Smooth countdown fade */
.countdown {
  font-weight: 500;
  color: #555;
  margin-left: 6px;
  animation: fadeInOut 1s ease-in-out infinite alternate;
}

@keyframes fadeInOut {
  from { opacity: 0.5; }
  to { opacity: 1; }
}


/* User Session Dropdown Menu */
.user-dropdown .dropdown-menu {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-size: 14px;
}

.user-dropdown .dropdown-item:hover {
  background-color: #f0f0f0;
}



/*--------------------------------------------------------------
# Flask Flash Style
--------------------------------------------------------------*/

/* Alerts */
.alert-heading {
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
}

#errorMessage{
    width: 560px;
    height: 60px;
    margin-top: 20px;
    margin-bottom: 2px;
    margin-left: 250px;
    padding: 10px 10px;
    font-size: 18px;
}

#successMessage{
    width: 550px;
    height: 70px;
    margin-top: 50px;
    margin-bottom: 110px;
    margin-left: 230px;
    padding-left: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 18px;
}

/* Close Button */
.btn-close {
  background-size: 25%;
  font-size: 0.9rem;         /* Smaller icon */
  padding: 0.25rem 0.5rem;   /* Less padding */
  line-height: 1;
  background: none;
  box-shadow: none;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}


.alert .btn-close:hover {
  opacity: 1;
}



.btn-close:focus {
  outline: 0;
  box-shadow: none;
}


/* Mobile Flash Message*/
@media (max-width: 1199px) {
    #errorMessage{
        margin-bottom: 40px;
        width: 400px;
        height: 70px;
        margin-left: 20px;
    }
    #successMessage{
        width: 470px;
        height: 70px;
        margin-left: 20px;
        font-size: 12px;
    }
}


.error-container {
  font-size: 14px; /* or any size you prefer */
  color: red;
  font-family: "Poppins", sans-serif;
  margin-top: 5px;
}



