body {
  margin: 0;
  font-family: Arial, sans-serif;
  /* background-color: #0e1a47; */
  background-image: url("../images/contact-bg.jpg");
  background-repeat: repeat;
  background-size: cover;
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.back-to-home {
  display: inline-block;
  margin-top: -800px;
  font-size: 1rem;
  color: #ffffff;
  text-decoration: underline;
  float: left;
  margin-bottom: 40px;
  padding: 10px 15px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

/* Center the link on mobile view */
@media (max-width: 768px) {
  .back-to-home {
    display: inline; /* Make the link a block element */
    text-align: center; /* Center the text */
    margin-left: auto;
    margin-right: auto;
    position: fixed;
    margin-bottom: 40px;
  }
}

.toggle-password {
  display: flex;
  cursor: pointer;
  position: relative;
  top: -40px; /* Adjust this value to move the icon up or down */
  justify-content: end;
  margin-right: 20px;
}

.input-group {
  position: relative;
}

.input-group input {
  width: 100%;
  padding: 10px 40px 10px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 0.9rem;
  outline: none;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 500px;
}

.form-container {
  background-color: white;
  padding: 2rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  overflow: auto;
}

.logo img {
  width: 150px;
  margin-bottom: 0.5rem;
}

.logo h2 {
  font-size: 1.5rem;
  margin: 0;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin: 10px 0;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  background-color: white;
}

.social-btn2 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin: 10px 0;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  background-color: white;
}

.social-btn img {
  width: 20px;
  margin-right: 10px;
}

.social-btn2 img {
  width: 25px;
  margin-right: 10px;
}
.google-btn {
  color: #000;
}

.facebook-btn {
  color: #000;
}

.separator {
  margin: 20px 0;
  position: relative;
  font-size: 0.8rem;
  color: #888;
}

.separator::before,
.separator::after {
  content: "";
  height: 1px;
  background: #ddd;
  width: 40%;
  position: absolute;
  top: 50%;
}

.separator::before {
  left: 0;
}

.separator::after {
  right: 0;
}

form input,
.phone-input input,
.phone-input select {
  width: calc(100% - 20px);
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
}

.phone-input select {
  margin-right: 10px;
}

.terms {
  font-size: 0.8rem;
  color: #555;
  margin: 10px 0;
  display: flex;
  align-items: center;
}

.terms input[type="checkbox"] {
  margin-right: 10px; /* Space between checkbox and label */
}

.terms label {
  text-align: left;
  margin: 0; /* Ensure there's no extra margin */
}

.terms a {
  color: #3b5998;
  text-decoration: none;
}

.create-account-btn {
  padding: 10px;
  margin: 20px 0;
  width: 100%;
  border: none;
  border-radius: 5px;
  background-color: #4361ee;
  color: white;
  font-size: 1rem;
  cursor: pointer;
}

.sign-in {
  font-size: 1rem;
}

.sign-in a {
  color: #4361ee;
  text-decoration: none;
}

input:focus {
  outline: 1px solid blue;
}

.field-icon {
  float: right;
  margin-left: -25px;
  margin-top: 35px;
  position: relative;
  z-index: 2;
}

.checkbox-container {
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.checkbox-container input[type="checkbox"] {
  margin: 0 5px 0 0;
  transform: scale(1.2);
  width: fit-content;
}

.checkbox-container label {
  margin: 0;
  font-size: 1rem;
}
