html::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../auth/botImage2.png') no-repeat center bottom;
    background-size: cover;
    background-attachment: fixed; /* Ensure background doesn't move */
    z-index: -1;
    opacity: 1;
}


html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    overflow-y: auto;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Let content scroll naturally */
    min-height: 150vh;
    padding: 50px 20px;
    box-sizing: border-box;
}


.logo-container {
    margin-bottom: 5px;
    display: flex;
    justify-content: center;  /* Centers the logo horizontally */
    align-items: center;      
}

.right-container {
    background-color: #FFFFFF;
    border-radius: 50px;
    width: 40%;
    max-width: 500px;
    padding: 50px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
}

.left-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.top-container {
    display: flex;
    flex: 1;
    align-items: center;
    margin-left: 70px;
    margin-right: 70px;
}

.admin-register {
    color: black;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.input-container {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    font-family: Arial, sans-serif;

}

.input-field {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    box-sizing: border-box;
}

.input-container input,
.input-container select,
.input-container textarea {
    width: 90%;
    padding: 12px;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.input-container.radiobutton {
    justify-content: space-around;
    color: black;
    text-align: center;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.button {
    padding: 15px 60px;
    background-color: #17469A;
    color: white;
    font-size: 20px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
}

.button:hover {
    background-color: #3A72B6;
}

.user_volunteer {
    text-align: center;
    margin-top: 20px;
    color: black;
    font-size: 18px;
}

.tnc-button {
  color: #007BFF;
  background-color: transparent;
  border: none;
  text-decoration: underline;
  cursor: pointer;
  font-weight: bold;
  padding: 0;
  margin-left: 4px;
  font-size: 1em;
  font-family: inherit;
  transition: color 0.3s ease;
}

.tnc-button:hover,
.tnc-button:focus {
  color: #0056b3;
  outline: none;
}

/* Modal styles - same as before */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
  padding-top: 60px;
}

.modal:target {
  display: block;
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 1.5em;
  text-decoration: none;
  color: #333;
  cursor: pointer;
  font-weight: bold;
}

.close-btn:hover {
  color: #007BFF;
}

/* Single raindrop style */
.raindrop {
  position: absolute;
  bottom: 100%;
  width: 2px;
  height: 15px;
  background: linear-gradient(to bottom, #a4c0f8, #17469a);
  border-radius: 50% / 70%;
  opacity: 0.7;
  animation-name: fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* Animate raindrops with random delays & positions */
.raindrop:nth-child(1) {
  left: 10%;
  animation-duration: 1.1s;
  animation-delay: 0s;
}
.raindrop:nth-child(2) {
  left: 25%;
  height: 12px;
  animation-duration: 1.3s;
  animation-delay: 0.3s;
}
.raindrop:nth-child(3) {
  left: 40%;
  height: 17px;
  animation-duration: 1.4s;
  animation-delay: 0.5s;
}
.raindrop:nth-child(4) {
  left: 55%;
  height: 13px;
  animation-duration: 1.2s;
  animation-delay: 0.7s;
}
.raindrop:nth-child(5) {
  left: 70%;
  height: 14px;
  animation-duration: 1.1s;
  animation-delay: 1s;
}
.raindrop:nth-child(6) {
  left: 85%;
  height: 16px;
  animation-duration: 1.3s;
  animation-delay: 1.2s;
}
.raindrop:nth-child(7) {
  left: 20%;
  height: 12px;
  animation-duration: 1.5s;
  animation-delay: 1.4s;
}
.raindrop:nth-child(8) {
  left: 35%;
  height: 15px;
  animation-duration: 1.2s;
  animation-delay: 1.6s;
}
.raindrop:nth-child(9) {
  left: 60%;
  height: 13px;
  animation-duration: 1.4s;
  animation-delay: 1.8s;
}
.raindrop:nth-child(10) {
  left: 80%;
  height: 16px;
  animation-duration: 1.3s;
  animation-delay: 2s;
}

@keyframes fall {
  0% {
    transform: translateY(0);
    opacity: 0.7;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

.show-password-container {
    margin-top: 10px;
    font-size: 14px;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px; /* adds space between checkbox and label */
}
