@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  background-color: #c9d6ff;
  background: linear-gradient(to right, #ffffff, #fafbff);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  overflow: hidden;
}

.error-message {
  color: red;
  margin-top: 5px;
  font-size: 14px;
}
.form-group {
  margin-bottom: 20px;
}
.header {
  text-align: center;
  margin-bottom: 20px;
}

/* .logo {
      width: 200px;
       position: absolute;
       left:2px;
       top:-20px;
      
      margin: 0 auto;
      z-index:10;
  } */
.logo {
  position: absolute;
  width: 220px;
  top: -20px;
  left: -6px;
  /* Shifts logo to the left of the form */
  z-index: 10;
}

.container {
  background-color: #fff;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
  max-width: 968px;
  min-height: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;
  position: relative;
}

.toggle-container {
  background-color: #0055ff;
  background: linear-gradient(288deg, #0055ff, #043873);
  color: #fff;
  width: 484px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  height: 480px;
  text-align: center;
}

.toggle-panel {
  max-width: 300px;
}

.form-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 484px;
  padding: 40px;
  box-sizing: border-box;
  position: relative;
}

/* .form-container img {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 50px;
    height: auto;
} */

.form-container h1 {
  font-size: 24px;
  margin-top: 70px;
  margin-bottom: 20px;
}

.form-container input {
  background-color: #eee;
  border: none;
  margin: 8px 0;
  padding: 10px 15px;
  font-size: 14px;
  border-radius: 8px;
  width: 100%;
  outline: none;
}

.form-container a {
  color: #333;
  font-size: 13px;
  text-decoration: none;
  margin: 10px 0;
}

.form-container button {
  background-color: #0055ff;
  color: #fff;
  font-size: 14px;
  padding: 10px 45px;
  border: none;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 20px;
  margin-bottom: -20px;
}

.form-container button:hover {
  background-color: #0044cc;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .container {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    border-radius: 0px !important;
  }
  .logo {
    width: 150px;
    top: -20px;
    left: 10px;
  }
  .form-container {
    text-align: center;
  }
  .toggle-container {
    width: 100%;
    margin-bottom: -10px;
    height: auto;
    align-self: end;
  }
}