.modal-content-login {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 90%;
  color: var(--bs-modal-color);
  pointer-events: auto;
  background-color: var(--bs-modal-bg);
  background-clip: padding-box;
  /* border: 1.8px solid #3f4b97; */
  border-radius: 15px;
  outline: 0;
  padding: 0px 32px;
  overflow: hidden;
}

/* Base styles for pseudo-elements */
.modal-content-login::before,
.modal-content-login::after {
  content: "";
  position: absolute;
  z-index: 0; /* Keeps shapes behind form inputs and text */
  border-radius: 12px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain; /* Ensures the PNG image scales inside the box */
}

/* Top-Left Geometric Shape */
.modal-content-login::before {
  width: 180px;
  height: 180px;
  top: -50px;
  left: -10px;
  background-image: url("../../newImages/kidney-37.png");
}

/* Bottom-Right Geometric Shape */
.modal-content-login::after {
  width: 400px;
  height: 400px;
  bottom: -170px;
  right: -150px;
  background-image: url("../../newImages/kidney-38.png");
}

/* Ensure all modal content stays above the background images */
.modal-content-login > * {
  position: relative;
  z-index: 1;
}

/* Ensure all modal contents sit above the background shapes */
.modal-content-login > * {
  position: relative;
  z-index: 1;
}

.form-control-register {
  display: block;
  width: 100%;
  padding: 0.775rem 1.5rem 0.775rem;
  font-size: 0.9em;
  font-weight: 400;
  line-height: 1.5;
  color: #3e4a98;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--bs-body-bg);
  background-clip: padding-box;
  border: 1.5px solid #3e4a98;
  border-radius: 30px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control-register::placeholder {
  color: #3e4a98;
  opacity: 1;
  font-size: 0.9em;
  font-weight: 600;
}

.modal-header-Login img {
  width: 25%;
  height: 45%;
}

.modal-header-Login {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px 0px 20px;
}

.modal-header-Login-text {
  margin-top: 15px;
  font-weight: 700;
  color: #000;
}
.modal-body-Login h4 {
  font-weight: 700;
}

.form-label-login {
  font-size: 0.9em;
  color: #3e4a98;
  font-weight: 400;
  padding-left: 10px;
  padding-bottom: 3px;
}

.privacy-policy{
  font-size: 13px !important;
}

a {
  color: #3e4a98;
  text-decoration: none;
  font-weight: 600;
}

.form-check-input-login[type="checkbox"] {
  border-radius: 0.25em;
  border: 1px solid #3e4a98;
}

.form-check-label {
  color: rgba(0, 0, 0, 0.753);
  text-decoration: none;
  font-size: 0.9em;
  opacity: 0.6;
  font-weight: 400;
  margin-left: 0.55rem;
}

.form-check {
  display: flex;
  align-items: center;
  min-height: 1.5rem;
  padding-left: 0.3rem;
  margin-bottom: 0.125rem;
}

.btn-login {
  width: 100%;
  background: #663996;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 0px;
  font-weight: 600;
  border: 1.3px solid #663996;
}

.btn-login:hover {
  width: 100%;
  background: white;
  color: #000;
  border: 1.3px solid #663996;
}

.btn-registration-dropdown {
  display: block;
  text-align: left;
  width: 100%;
  padding: 0.775rem 1.5rem 0.775rem;
  font-weight: 400;
  line-height: 1.5;
  font-size: 0.9em;
  color: #000;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--bs-body-bg);
  background-clip: padding-box;
  border: 1.5px solid #2b388f;
  border-radius: 8px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

select {
  width: 100%;
  /* padding: 0.4rem 1.5rem 0.605rem 1.5rem; */
  border: 2px solid #174763;
  border-radius: 24px;
  font-size: 0.9em;
  appearance: none; /* remove default arrow */
  background-color: white;
  /* Custom down arrow as background */
  background-image: url("../../newImages/kidney-33.png");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.5em;
  cursor: pointer;
}

@media (max-width: 425px) {
  .modal-content-login{
      padding: 0  !important;
  }
  .custom-margin{
      margin-bottom: 1.2em !important;
  }
}


.recaptcha-wrapper {
  transform: scale(0.85); /* Adjust the scale value as needed */
  transform-origin: 0 0;
  /* height: 65px; */
  width: 260px;  /* Adjust based on scale */
}


.close-btn-style {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1056;
  padding: 5px;
}

/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

/* Container alignment */
.custom-check-container {
    display: flex;
    align-items: center;
    padding-left: 0;
}

/* Custom Square Checkbox */
.form-check-input-login {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 22px !important;
    height: 22px !important;
    border: 1.5px solid #364187; /* Dark blue border */
    border-radius: 0; /* Removes Bootstrap's default rounding */
    background-color: transparent;
    cursor: pointer;
    position: relative;
    margin: 0 10px 0 0 !important;
    flex-shrink: 0;
}

/* Remove default Bootstrap focus shadow */
.form-check-input-login:focus {
    box-shadow: none;
    border-color: #364187;
    outline: none;
}

/* Keeps background transparent when checked */
.form-check-input-login:checked {
    background-color: transparent;
    border-color: #364187;
}

/* Custom Black Checkmark */
.form-check-input-login:checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    width: 7px;
    height: 13px;
    border: solid #000; /* Black checkmark */
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

/* Label and Link Styling */
.privacy-policy {
    font-size: 15px;
    color: #737373; /* Grey text */
    cursor: pointer;
    margin: 0;
}

.privacy-policy a {
    color: #4b6ebd; /* Blue link */
    text-decoration: none;
}

.privacy-policy a:hover {
    text-decoration: underline;
}
.btn-registration-dropdown:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #2b388f; /* Optional: Set this to whatever your normal border color is so it doesn't turn black */
}