.registration-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
.form-title {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}
.form-group {
  margin-bottom: .5rem;
  align-items: flex-start;
}
label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
input, select {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.error {
  color: red;
  font-size: 0.85rem;
}
.submit-btn {
  text-align: center;
}
.submit-btn button {
  padding: 0.7rem 2rem;
  font-size: 1rem;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.submit-btn button:hover {
  /* background-color: #004070; */
}








.submit-btn {
  display: flex;
  justify-content: center; /* center both buttons horizontally */
  align-items: center;
  gap: 15px; /* space between buttons */
  margin-top: 20px;
}


.submit-btn .btn {
  min-width: 120px; /* optional: consistent button width */
}


.password-wrapper {
  width: 100%;
}
 
  .registration-form {
    max-width: 1000px;
    margin: 0 auto;
  }

  .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 6px;
  }

  .form-group {
    flex: 1 1 48%;
    display: flex;
    flex-direction: column;
  }

  .form-group label {
    margin-bottom: 6px;
    font-weight: 600;
  }

  .form-group input,
  .form-group select {
    width: 100%;
    height: 42px; /* Uniform height */
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #A5A3A3;
    border-radius: 4px;
    box-sizing: border-box;
    height: 45px;
    border-radius: 4px;
  }

  .error {
    color: red;
    font-size: 0.875em;
    margin-top: 4px;
  }



  .submit-btn button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
  }

  .password-wrapper {
    position: relative;
  }

  .toggle-password {
    position: absolute;
    right: 10px;
    top: 38px;
    cursor: pointer;
  }

input::placeholder,
textarea::placeholder {
  color: #1d1d1d; 
  opacity: 1; 
  font-weight: 600;
  font-size: 16px;
  
}
select {
  color: #1d1d1d; 
  opacity: 1; 
  font-weight: 600;
  font-size: 16px!important;
}
.cold {
  font-weight: 500;
  color: #000000;
}
#page-local-custom_registration-index .usermenu {
  display: none;
}


/* verify css */
  #page-content {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      margin: 0;
    }
 .card1 {
      background: #fff;
      padding: 2rem;
      border-radius: 20px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
      text-align: center;
      width: 400px;
      float: none;
      margin: 0 auto;
      
    }

    .card1 img {
      width: 40px;
      margin-bottom: 20px;
    }

    .card1 h2 {
      font-size: 1.4rem;
      margin-bottom: 10px;
    }

    .card1 p {
      color: #555;
      font-size: 0.95rem;
      margin-bottom: 20px;
    }

    .otp-container {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-bottom: 15px;
    }

    .otp-input {
      width: 40px;
      height: 50px;
      font-size: 24px;
      text-align: center;
      border: 2px solid #ccc;
      border-radius: 8px;
      outline: none;
      transition: border-color 0.3s;
    }

    .otp-input:focus {
      border-color: #2F6228;
    }

    .resend-text {
      font-size: 0.9rem;
      color: #777;
      margin-bottom: 20px;
    }

    .resend-text a {
      color: #2F6228;
      text-decoration: none;
    }

    .verify-btn {
      width: 100%;
      padding: 12px;
      font-size: 1rem;
      background-color: #2F6228;
      color: white;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background-color 0.3s;
    }

    .verify-btn:hover {
      background-color: #2F6228;
    }
    @media (max-width: 768px) {
         .card1 {
            width:100%;
         }
    }
    #page-local-custom_registration-verify .page-top{
        padding: 0 0 6rem;
    }
    #page-local-custom_registration-verify #page{
        margin-top: -8.5rem;
    }
    #page-local-custom_registration-index .item-separator {
      display: none;
    }

    #subcat .form-group {
  width: 100%;
}

@media (max-width: 768px) {
  .registration-container {
    box-shadow: none !important;
  }
}

/* Common layout */
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Default desktop styles */
.form-group {
  width: 48%;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .form-group {
    width: 100% !important; /* Stack each field */
  }

  .registration-container {
    box-shadow: none !important;
  }

  .form-row {
    gap: 12px;
    flex-direction: column;
  }
}

.consent-wrapper {
  max-width: 100%;
  padding: 10px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.consent-label {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #2F6228; /* Your theme color */
}

.consent-label a {
  color: #2F6228;
  text-decoration: underline;
}

.consent-label a:hover {
  text-decoration: none;
  color: #1c401a;
}

@media (max-width: 480px) {
  .consent-label {
    flex-direction: column;
    align-items: flex-start;
  }
}
