*{
  font-family: 'Poppins', sans-serif;
}
body {
  background-color: #f4f7fc;
  margin: 0;
  padding: 0;
}
.login-header h3{
  text-align: center;
  color: #ff0000;
  font-size: 24px;
  margin-bottom: 30px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 15px;
}
.login-body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90vh;
}

.register-border {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
  padding: 30px;
}

.login_box {
  width: 100%;
}

.login-header h1 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.two-forms {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.input-box {
  flex: 1;
  margin-right: 10px;
}

.input-box:last-child {
  margin-right: 0;
}

.input-box input,
.input-box select,
.input-box textarea {
  width: 100%;
  padding: 10px;
  font-weight: 300;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.input-box input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
}

.password-container {
  position: relative;
}

.password-wrapper i {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  margin-top: 3px;
}
.birth_tag{
  font-weight: 300;
  font-size: 15px;
}
/* Error messages */
.error-messages {
  color: red;
  margin-top: 10px;
}

.error {
  font-size: 12px;
}

/* Submit button */
.submit-btn {
  width: 100%;
  padding: 12px;
  background-color: #ff0000;
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 10px;
}

.submit-btn:hover {
  background-color: #000000;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Ensure modal is on top */
  animation: fadeIn 0.3s ease-in-out; /* Fade-in effect */
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: slideIn 0.3s ease-out; /* Slide-in effect */
}

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 15px;
  font-size: 16px;
}

.modal-header h2 {
  font-size: 1.5em;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.modal-close {
  font-size: 1.5em;
  color: #555;
  cursor: pointer;
}

.modal-body {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 10px;
  font-size: 1em;
  color: #444;
  line-height: 1.6;
  font-weight: normal; /* Ensure consistent text style */
}

.modal-body p,
.modal-body li {
  font-weight: normal; /* No bold text inside body */
  color: #444;
  margin: 10px 0;
}

.modal-body h3,
.modal-body h4 {
  font-weight: 600;
  color: #333;
  margin-top: 20px;
}

.modal-footer {
  text-align: right;
  border-top: 1px solid #eee;
  padding-top: 10px;
  margin-top: 15px;
}

.modal-footer button {
  padding: 8px 16px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s;
}

.modal-footer button:hover {
  background-color: #0056b3;
}
.terms-checkbox label{
  font-size: 14px;
  font-weight: 300;
}
.terms-checkbox {
  display: flex;
  align-items: center;
  margin-top: 10px;

}

.terms-checkbox input[type="checkbox"] {
  margin-right: 8px; 
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield; 
}
/* Responsive Design */
@media (max-width: 1024px) {
  .register-border {
    max-width: 500px;
    padding: 20px;
  }

  .login-header h1 {
    font-size: 22px;
  }

  .two-forms {
    flex-direction: column;
  }

  .input-box {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .input-box:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .register-border {
    padding: 15px;
  }

  .login-header h1 {
    font-size: 20px;
  }

  .submit-btn {
    font-size: 14px;
    padding: 10px;
  }

  .modal-content {
    padding: 15px;
    max-width: 90%;
  }

  .modal-header h2 {
    font-size: 1.25em;
  }

  .modal-body {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .login-body {
    padding: 10px;
  }

  .register-border {
    padding: 10px;
  }

  .login-header h1 {
    font-size: 18px;
  }

  .input-box input,
  .input-box select,
  .input-box textarea {
    font-size: 12px;
    padding: 8px;
  }

  .submit-btn {
    font-size: 12px;
    padding: 8px;
  }

  .terms-checkbox label {
    font-size: 12px;
  }

  .modal-content {
    padding: 10px;
    font-size: 0.85em;
  }

  .modal-header h2 {
    font-size: 1.1em;
  }

  .modal-body {
    font-size: 0.85em;
  }
}
