* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Inter';
}
html {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
  display: flex;
  flex-direction: column; /* Stack children vertically */

  background-image: linear-gradient(
    118.68deg,
    rgba(250, 111, 64, 0.1) -23.45%,
    rgba(211, 201, 233, 0.2) 25.94%,
    rgba(248, 248, 249, 0.4) 75.33%
  );
  justify-content: space-between;
  min-height: 100vh;
}

.navbar {
  display: flex;
  align-items: baseline;
  padding: 0.5rem 2rem;
  border: 1px solid #d3c9e9;
  overflow: hidden;
  color: #943535;
  width: 100%;
}

.navbar .left {
  display: flex; /* Add flex display to the left div */
  align-items: center; /* Align items vertically */
}

.logo {
  display: flex !important;
  align-items: baseline;
  text-decoration: none;
  gap: 0.25rem;
}
.logo img {
  width: 32px;
}
.logo-text {
  color: #583b91;
  font-weight: 700;
  font-size: 14px;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  flex: 1;
  padding: 4rem 2rem;
}

.registration-form {
  width: 100%;
  max-width: 780px;
  border-radius: 15px;
  background-color: white;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.dvider {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 450px;
}
.dvider .hr {
  width: 30%;
  border-bottom: 1px solid #0000001a;
  width: 40%;
}
.dvider p {
  color: #00000066;
}

.google-sign-in-btn {
  background-color: transparent; /* Remove default button background */
  border: none; /* Remove border */
  cursor: pointer; /* Change cursor to pointer */
  display: flex;
  gap: 0.85rem;
  align-items: center;
  color: #1c1c1c;
  border: 1px solid #afaeaeab;
  border-radius: 15px;
  padding: 0.35rem 1.25rem;
  font-size: 1rem !important;
}

.title p {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1c1c1c;
}

.main-form {
  width: 100%;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.5rem;
}

.main-form label {
  display: none;
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 18px;
}

.main-form input,
.main-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  color: #242424e0;
}
.main-form .helptext {
  font-size: 0.85rem;
  display: block !important;
  text-align: left;
  color: #0f0f0f79;
  margin-left: 1rem;
  margin-top: 0.25rem;
}
.main-form ul {
  /* display: none; */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style-type: none;
  text-align: left;
  max-width: 400px;
  font-size: 0.85rem;
  color: #0f0f0f79;
  margin-top: -0.25rem;
  margin-left: 1rem;
}
.main-form .submit-btn {
  min-width: 200px;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  align-self: center;
  border: none;
  margin-top: 1rem;
  background-color: #fa6f40;
  font-size: 1rem;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.already-text {
  color: #585858;
}

.main-form button:hover {
  background-color: #dd5021;
}

.error-message {
  color: #ff0000;
  font-weight: bold;
}

footer {
  /* Set the width to 95% */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  width: 100%;
}
footer a {
  color: #0266d6;
  font-weight: 100;
}

.left {
  display: flex;
  align-items: center;
}

.left p {
  opacity: 35%;
  margin-right: 20px; /* Add margin between elements */
}

.right {
  display: flex;
  align-items: center;
}

.right a {
  margin-left: 20px; /* Adjust spacing between links */
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
  padding-top: 100px;
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.messages {
  margin: 10px 0;
}

.messages .success {
  color: green;
  /* Additional success message styles */
}

.messages .error {
  color: red;
  /* Additional error message styles */
}

/* Media Queries for Mobile View */
@media only screen and (max-width: 600px) {
  .navbar p {
    font-size: 16px; /* Adjust the font size for mobile view */
  }

  .container {
    /* margin-top: 10px; */
    /* padding: 10px; */
    padding: 4rem 0.3rem;
  }

  .title p {
    font-size: 28px; /* Adjust the title font size for mobile view */
  }

  form label {
    font-size: 16px; /* Adjust the label font size for mobile view */
  }

  form input,
  form select {
    width: 100%; /* Adjust width for padding and border */
    padding: 8px; /* Adjust padding for mobile view */
    font-size: 14px; /* Adjust input font size for mobile view */
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .left,
  .right {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .right a {
    margin-left: 0;
    margin-top: 10px;
  }

  .messages .success,
  .messages .error {
    font-size: 14px; /* Adjust message font size for mobile view */
  }
  .registration-form {
    max-width: 500px;
    margin: auto;
    padding: 4rem 1rem;
  }
}
