body {
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #fff;
}

.container {
  display: flex;
  width: 100%;
  max-width: 1200px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
}

.form-container {
  padding: 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.passowrd-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.logo img {
  width: 200px;
  margin-bottom: 20px;
}

h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

p {
  font-size: 14px;
  margin-bottom: 30px;
  color: #555;
}

.input-group {
  margin-bottom: 30px;
  position: relative;
}

.input-groups {
  margin-bottom: 30px;
  position: relative;
}

.input-group label {
  display: block;
  margin-bottom: 5px;
  color: #555;
}

.input-group input {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 35px;
  cursor: pointer;
}

.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.actions label {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.actions a {
  font-size: 14px;
  color: #ae0057;
  text-decoration: none;
}

button#sign-in-btn {
  background-color: #ae0057;
  color: white;
  border: none;
  padding: 15px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}

button#sign-in-btn:hover {
  background-color: #7a013e;
}

.sign-up {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

.sign-up a {
  color: #ae0057;
  text-decoration: none;
}

.conditions {
  font-size: 1rem;
  text-align: center;
  font-weight: bolder;
  text-decoration: none;
  color: #ae0057;
  margin-top: 5rem;
  margin-bottom: 1.2rem;
}

.image-container {
  flex: 1;
  background-color: #f5f5f5;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-text {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.8);
  padding: 10px;
  border-radius: 5px;
}

.join-class {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.8);
  padding: 10px;
  border-radius: 5px;
}

.class-members {
  display: flex;
}

.class-members img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-left: -10px;
  border: 2px solid #fff;
}

.policy-text {
  color: #555;
  text-align: center;
  margin-top: 2rem;
}

.policy {
  text-decoration: none;
  color: #555;
}

.policy:hover {
  color: #ae0057;
}

/* Media Queries */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .image-container {
    height: 300px;
  }

  .form-container {
    padding: 20px;
  }

  .logo img {
    width: 120px;
  }

  h1 {
    font-size: 28px;
  }

  button#sign-in-btn {
    font-size: 14px;
  }
}
