/* body {
    font-family: 'Segoe UI', sans-serif;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
  }*/

  .reg-container {
    max-width: 700px;
    margin: 40px auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  } 

  .login-area{
    background-color: #f5f5f5;
    padding: 40px;
  }

  h2 {
    color: #bd2727;
    margin: 5px 0;
  }

 .custom-header {
    font-size: 1.5em;
    color: #bd2727;
    margin: 5px 0;
  }

  /* p {
    color: #555;
    margin-bottom: 25px;
  } */

  .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 5px /*20px*/;
    flex-wrap: wrap;
  }

  .form-group {
    flex: 1;
    min-width: 280px;
  }

  label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
  }

  input[type="text"].custom-input,
  input[type="email"].custom-input,
  input[type="password"].custom-input,
  input[type="tel"].custom-input,
  select.custom-input {
    width: 100%;
    padding: 8px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    /* margin-bottom: 0.5rem; */
  }

  input.custom-input:focus,
  select.custom-input:focus {
    border-color: #bd2727;
    outline: none;
  }

  .checkbox-group {
    margin: 20px 0;
  }

  .checkbox-group label {
    font-weight: normal;
    font-size: 15px;
    color: #333;
    display: flex;
    align-items: center;
  }

  .checkbox-group input {
    margin-right: 10px;
    transform: scale(1.1);
  }

  .btn {
    background-color: #bd2727;
    color: #fff;
    border: none;
    /* padding: 8px 24px; */
    font-size: 14px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .btn:hover {
    background-color: #9f1f1f;
  }

  [type=button], [type=submit], button {
    display: inline-block;
    font-weight: 400;
    color: white !important;
    text-align: center;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: #bd2727 !important;
    border: 1px solid #bd2727 !important;
    padding: 5px 10px !important;
    font-size: 1rem;
    border-radius: 4px;
    transition: all .3s;
  }

  [type=button], [type=reset], [type=submit], button {
    width: 100% !important;
    -webkit-appearance: button;
}

  .bottom-link {
    /* text-align: center; */
    margin-top: 15px;
    font-size: 12px;
  }

  .bottom-link a {
    color: #bd2727;
    text-decoration: none;
  }

  .bottom-link a:hover {
    text-decoration: underline;
  }

  .terms-link {
    /* text-align: center; */
    margin-bottom: 15px;
    font-size: 14px;
  }

  .terms-link a {
    color: #bd2727;
    text-decoration: none;
  }

  .terms-link a:hover {
    text-decoration: underline;
  }


  /** login-container **/
  .login-container {
    max-width: 350px;
    /* margin: 80px auto; */
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  } 

  .mb-20{ margin-bottom: 20px;}

  .btn-block {
    display: block;
    width: 100%;
}

select:focus {
  border-color: #bd2727;
  outline: none;
  box-shadow: 0 0 5px rgba(189, 39, 39, 0.5);
}

/* Modal Overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  /* height: 100%; */
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Modal Content */
.modal-content {
  background-color: #fff;
  width: 400px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  animation: scaleIn 0.3s ease forwards;
}
.mandatory {
  margin: 0;
  font-size: 1em;
  color: #bd2727;
}

/* Header (red card style) */
.modal-content h2 {
  margin: 0;
  padding: 10px;
  background-color: #c0392b; /* Red */
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}

/* Message */
.modal-content p {
  padding: 16px;
  font-size: 16px;
  color: #333;
}

.terms-modal-content {
  background-color: #fff;
  margin: 5% auto 10%;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  overflow: hidden;
  position: relative;
}

/* Header (red card style) */
.terms-modal-content h2 {
  margin: 0;
  padding: 16px;
  background-color: #c0392b; /* Red */
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}

.terms-modal-content p{
  font-size: 16px;
  color: #333;
}
.modal-content ul, .terms-modal-content ul{
  padding-left: 10px;
}

/* Close Button */
.modal-close {
  position: absolute;
  /* top: 10px; */
  right: 20px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}

.termsarea {
  text-align: left;
  overflow-y: scroll;
  padding:16px;
  height: 300px;
  }

[type="submit"]:disabled {
  pointer-events: none; /* Prevent any mouse events */
  opacity: 0.6;         /* Make it look visually disabled */
  cursor: not-allowed;  /* Change cursor to show it's not clickable */
  background-color: #ccc; /* Optional: gray background */
  color: #666;            /* Optional: darker text color */
}

a.link{ color: #bd2727 !important; cursor: pointer !important;} a.link:hover{ color: #910e0e !important;}

/** CUSTOM SCROLLBAR **/
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-thumb {
  background: #acacac;
  border-radius: 20px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 20px;
}
/** END OF CUSTOM SCROLLBAR **/

/*** CUSTOM INPUT PASSWORD FIELD ***/
.input-box{
  background: #fff;
  width: 100%;
  max-width: 500px;
  border-radius: 5px;
  padding: 0;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
}

.input-box input{
    width: 100%;
    padding: 8px 0;
    border:0;
    outline:0;
    color: #555;
}

.input-box img{
    width: 25px;
    cursor: pointer;
    margin: 0 10px 0 0;
}

input[type=password].toggle-input, input[type=text].toggle-input{
  border: none;
}

.toggle-input-box{ border: 1px solid #ccc;}
.response{ font-size: 12px; font-weight: bold; padding: 5px 0 0; text-align: center;}

input[readonly] {
  background-color: #f5f5f5;
  color: #555;
  border: 1px solid #ccc;
  cursor: not-allowed;
  font-style: italic;
}

.mt-5{
  margin-top: 5px;
}

.forgot-pass {
  margin-bottom: 15px;
  font-size: 12px;
  text-align: right;
}

.login-cred {
  margin-bottom: 15px;
  font-size: 12px;
  text-align: center;
}

/*** END OF CUSTOM INPUT PASSWORD FIELD ***/

/** MEDIA QUERIES FOR TRACK APPLICATION **/

@media (max-width: 600px) {
  /* Your styles for screens 600px and above */
  .login-area {
    background-color: #f5f5f5;
    padding: 20px;
  }
  .reg-container {
    padding: 20px;
}
}

