@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: "Poppins", sans-serif;
    font-style: normal;
  }

.main-container {
  /* background-color: aqua; */
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.message-logo img {
  width: 337px;
}

.message-block {
  background-color: #8D8DF5;
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.message-box {
  width: 480px;
  /* position: relative; */
}

.form-block {
  background-color: #F6F6F6;
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.message-text {
  margin-top: 33px;
  color: #fff;
  font-weight: 200;
  font-size: 14px;
  line-height: 24px;
  /* text-align: center; */
  letter-spacing: 0.01em;
}

.message-box {
  width: 480px;
}

.form-block {
  background-color: #F6F6F6;
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.form-block .title {
  font-size: 26px;
  font-weight: 700;
  color: #333;
  /* margin-bottom: 4px; */
  text-align: left;
  width: 350px;
}

.form-block .subtitle {
  font-size: 18px;
  font-weight: 300;
  color: #666;
  margin-bottom: 35px;
  text-align: left;
  width: 350px;
}

.form {
  width: 100%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-group input {
  width: 100%;
  padding: 18px 18px 18px 53px;
  border: none;
  border-radius: 20px;
  background-color: white;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  border: 1px solid #efefef;
  font-weight: 200;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); */
}

.form-group input::placeholder {
  color: #aaa;
}

.form-group::before {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
}

/* Form input icons - using classes instead of nth-child for better control */

/* Common icon styles */
.form-group.has-icon::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 8px;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* Specific icon styles */
.form-group.icon-user::before {
  background-image: url('../img/auth/user.png');
}

.form-group.icon-email::before {
  background-image: url('../img/auth/email.png');
}

.form-group.icon-lock::before {
  background-image: url('../img/auth/lock.png');
}

button[type="submit"] {
  margin-top: 10px;
  background-color: #8D8DF5;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 15px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  font-weight: 200;
  transition: background-color 0.3s;
}

button[type="submit"]:hover {
  background-color: #7979e0;
}

/* Role selection styling */
.role-selection {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 10px 20px;
  /* background-color: white; */
  /* border-radius: 20px; */
  /* border: 1px solid #efefef; */
}

.role-option {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.role-option input[type="radio"] {
  /* appearance: none;
  -webkit-appearance: none; */
  width: 18px;
  height: 18px;
  border: 1px solid #ddd;
  border-radius: 20px;
  margin-right: 8px;
  position: relative;
  cursor: pointer;
}

.role-option input[type="radio"]:checked {
  border-color: #8D8DF5;
}

.role-option input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: #8D8DF5;
  border-radius: 50%;
}

.role-option label {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #666;
  cursor: pointer;
}

.role-option:hover label {
  color: #8D8DF5;
}

/* Alert message styles */
.alert {
  width: 100%;
  max-width: 350px;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 20px;
  font-size: 14px;
  text-align: center;
}

.alert-error {
  background-color: #ffe6e6;
  color: #d32f2f;
  border: 1px solid #ffcccc;
}

.alert-success {
  background-color: #e8f5e9;
  color: #388e3c;
  border: 1px solid #c8e6c9;
}

/* Debug information styles */
.debug-info {
  width: 100%;
  max-width: 350px;
  margin-top: 20px;
  padding: 15px;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 14px;
  text-align: left;
}

.debug-info h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
}

.debug-info p {
  margin-bottom: 10px;
}

.debug-info pre {
  background-color: #f1f1f1;
  padding: 10px;
  border-radius: 10px;
  overflow-x: auto;
  font-family: monospace;
  font-size: 12px;
}

.message-text {
  margin-top: 33px;
  color: #fff;
  font-weight: 200;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.01em;
}

.form-footer {
  margin-top: 20px;
  text-align: center;
}

.corp-info {
  margin-top: 40px;
  font-size: 16px;
  color: #fff;
  font-weight: 200;
  /* position: absolute; */
}
