/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Center all content vertically and horizontally */
body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: white;
  margin: 0;
  font-family: Arial, sans-serif;
}

.logo img {
  max-width: 200px;
  height: 30px;
  position: absolute;
  top: 30px;
  left: 40px;
}

/* Style the login box */
.login-box {
  text-align: center;
  max-width: 510px;
  width: 90%;
  margin: 0 auto;
  padding: 20px;
  border-radius: 5px;
  background-color: #ffffff;
}

.login-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

/* Google and Facebook login box */
.login-options {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 40px;
  position: relative;
}

.login-with {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  border: 1px solid transparent;
  border-radius: 5px;
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
  padding: 10px 0;
  width: 100%;
  max-width: 250px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.login-with img {
  max-width: 24px;
  margin-right: 5px;
  vertical-align: middle;
}

.login-with:hover {
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.divider-text {
  font-weight: bold;
  font-size: 16px;
  color: #333;
  background-color: #fff;
  padding: 0 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.login-divider {
  flex-grow: 1;
  height: 1px;
  background-color: #ccc;
  margin: 0 10px;
}

.login-with:hover {
  background-color: #eee;
}

.login-with img {
  max-width: 24px;
  margin-right: 5px;
  vertical-align: middle;
}

.input-container {
  position: relative;
  margin-bottom: 20px;
}

.input-box {
  position: relative;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
}

.input {
  width: 100%;
  padding: 10px;
  border: none;
  outline: none;
  font-size: 18px;
  background: transparent;
}

.input-label {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  transition: all 0.3s;
  pointer-events: none;
  color: #ccc;
  background: #ffffff;
  padding: 0 5px;
}

.input-box:focus-within .input-label,
.input:valid + .input-label {
  top: 0px; /* Adjust the position when focused or when text is entered */
  font-size: 14px;
  color: #6747c7;
}


#togglePassword {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #ccc;
}

.login-button {
  width: 100%;
  padding: 10px;
  background-color: #6747c7;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 20px;
  margin: 20px 0;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-button:hover {
  background-color: #5439b5;
}

.forgot-password {
  text-decoration: none;
  text-align: center;
  color: #6747c7;
  font-size: 20px;
  font-weight: bold;
  display: block;
  margin-top: 10px;
}

.forgot-password:hover {
  text-decoration: underline;
}

.not-member {
  margin-top: 20px;
  font-size: 15px;
}

.choose-plan {
  text-decoration: none;
  color: #6747c7;
  font-weight: bold;
}

.choose-plan:hover {
  text-decoration: underline;
}

/* Style the login options divider */
.login-divider {
  flex-grow: 1;
  height: 1px;
  background-color: #ccc;
  margin: 0 10px;
  position: relative;
}

.divider-text {
  font-weight: bold;
  font-size: 16px;
  color: #333;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 0 10px;
  z-index: 1;
}
