html {
    overflow-x: hidden;
}
  
body {
  font-family: Arial, sans-serif;
  background-color: #384B5EFF;
  margin: 0px 75px 20px 75px;
  overflow-x: hidden;
  /* max-width:fit-content; */
}

header {
  padding: 25px 0px 0px 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* position: fixed; */
  top: 0;
  left: 0px;
  right: 0px;
  z-index: 100;
  /* border-bottom: 1px solid #F2F2F2; */
}

.logo {
  width: 175px;
  height: auto;
}

.header-right {
  margin-right: 15px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.header-right a {
  color: #ffffff;
  margin: 0 10px 0 10px;
  text-decoration: none;
  font-size: 14.5px;
}

.header-right a:hover {
  color: #EB6769FF;
}

.header-right a:nth-child(5) {
  color: #EB6769FF; 
}

.form-container {
    display: flex;
    justify-content: center;
    margin: 50px auto;
}

label {
  color: #BCC1CAFF;
}

#signupform {
  width:50%;
  border: 1px solid #000;
  border-radius: 10px;
  padding: 30px;
}

#signinform {
  width: 27.5%;
  border: 1px solid #000;
  border-radius: 10px;
  padding: 30px;
  margin-left: 5%;
}

#signup_username {
  margin-left:20px ;
}

#signup_username, #id_email, #id_phone, #id_password1, #id_password2 {
  width: 200px;
}

.helptext, li {
  font-size: 12px;
  color: #BCC1CAFF;
}

#helpun_p {
  margin-top: 2px;
  margin-left: 101px;
}

#phone_div, #p1_div {
  margin-top: 7px;
}

#id_email {
  margin-left: 53px;
}

#id_phone {
  margin-left: 46.4px;
}

#id_password1 {
  margin-left: 22.4px;
}

#helpp1_ul {
  margin-top: -10px;
  margin-left: 70px;
}

#p2_label {
  display: inline-block;
  width: 95px;
}

#helpp2_div {
  margin-top: 2px;
  margin-left: 100px;
}

#signin-p {
  color: #EB6769FF;
}

#signinp_div, #signinrm_div {
  margin-top: 12.5px;
}

#id_email1 {
  margin-left: 33px;
}

#signin_password {
  margin-left: 3px;
}

#signin_button {
  margin-top: 35px;
}

button {
  background-color: #EB6769FF;
  border: none;
  border-radius: 5px;
  color: #ffffff;
  cursor: pointer;
  padding: 5px 20px;
}

button:hover {
  background-color: #FFB84DFF;
}

#error-message {
  display: none;
  position: fixed;
  top: 70px; /* Adjust this according to your header height */
  left: 0;
  width: 100%;
  background-color: #ffeaea; /* Light red background */
  color: #cc0000; /* Dark red text */
  text-align: center;
  padding: 5px 0;
  z-index: 9999; /* Ensure it's above other content */
}

.error {
  color: red;
  font-size: 12px;
  margin-top: 5px;
}

.messages {
  margin: 10px 0;
}

.alert {
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* .popup {
  display: block;
  position: fixed;
  top: 50px;
  left: 50px;
  background-color: #fff;
  padding: 20px;
  z-index: 9999;
  border: 1px solid #000;
  border-radius: 5px;
}
.popup-content {
  max-width: 400px;
} */

/* Overlay to cover entire screen */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark background */
  backdrop-filter: blur(5px); /* Soft blur effect */
  display: flex;
  align-items: left;
  justify-content: center;
  z-index: 1000;
}

/* Popup Box */
.popup {
  background-color: rgba(255, 255, 255, 0.95); /* Light background with slight transparency */
  padding: 20px;
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  text-align: left;
  animation: fadeIn 0.3s ease-in-out;
}

/* Smooth fade-in effect */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Popup Content */
.popup-content {
  padding: 15px;
}

/* Close Button (Optional) */
.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 18px;
  color: #666;
  cursor: pointer;
  transition: color 0.2s;
}

.popup-close:hover {
  color: #000;
}

/* Input fields */
.popup input {
  width: 94.5%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.popup select {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

/* Submit Button */
.popup button {
  background: #007bff;
  color: #fff;
  padding: 10px;
  width: 100%;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
  transition: background 0.3s ease-in-out;
}

.popup button:hover {
  background: #0056b3;
}
