:root {
  --primary: #526ff5;
  --secondary: #8d78f6;

  --text: #19233c;
  --soft: #69748d;

  --white: #ffffff;

  --border: #e3e8f3;

  --shadow:
    0 20px 60px rgba(72, 88, 135, 0.12);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: "Inter", sans-serif;

  color: var(--text);

  background: #f8faff;
}


a {
  text-decoration: none;
  color: inherit;
}


button,
input {
  font: inherit;
}


.auth-page {
  min-height: 100vh;

  display: grid;

  grid-template-columns: 1fr 1fr;
}


/* LEFT */

.auth-left {
  position: relative;

  min-height: 100vh;

  padding: 42px 7%;

  display: flex;
  flex-direction: column;

  background:
    radial-gradient(
      circle at 20% 20%,
      #ffffff 0,
      transparent 35%
    ),
    linear-gradient(
      140deg,
      #edf5ff,
      #f5efff,
      #effcff
    );
}


.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  width: fit-content;
}


.logo-icon {
  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  border-radius: 13px;

  background:
    linear-gradient(
      135deg,
      #607df7,
      #9983f9
    );

  color: white;

  font-family: "Manrope";
  font-weight: 800;
  font-size: 1.25rem;
}


.logo-text {
  font-family: "Manrope";
  font-weight: 800;
  font-size: 1.35rem;
}


.logo-text small {
  color: var(--primary);
  font-size: 0.78rem;
}


.auth-visual-content {
  max-width: 560px;

  margin: auto 0;

  padding: 80px 0;
}


.auth-label {
  display: inline-block;

  padding: 7px 13px;

  border: 1px solid #dde5fb;

  border-radius: 100px;

  background: rgba(255, 255, 255, 0.65);

  color: var(--primary);

  font-size: 0.78rem;
  font-weight: 700;
}


.auth-visual-content h1 {
  margin-top: 22px;

  font-family: "Manrope";
  font-size: clamp(2.5rem, 4.5vw, 4.7rem);

  line-height: 1.06;

  letter-spacing: -2.5px;
}


.auth-visual-content h1 span {
  display: block;

  color: var(--primary);
}


.auth-visual-content p {
  max-width: 510px;

  margin-top: 22px;

  color: var(--soft);

  font-size: 1rem;

  line-height: 1.8;
}


.feature-box {
  margin-top: 34px;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 12px;
}


.feature-box div {
  padding: 20px 15px;

  border: 1px solid rgba(220, 227, 241, 0.9);

  border-radius: 17px;

  background: rgba(255, 255, 255, 0.72);
}


.feature-box i {
  display: block;

  margin-bottom: 10px;

  color: var(--primary);

  font-size: 1.2rem;
}


.feature-box span {
  font-size: 0.82rem;
  font-weight: 700;
}


/* RIGHT */

.auth-right {
  min-height: 100vh;

  padding: 55px 7%;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #ffffff;
}


.auth-card {
  width: 100%;

  max-width: 490px;
}


.register-card {
  max-width: 620px;
}


.auth-heading > span {
  color: var(--primary);

  font-size: 0.78rem;

  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 1.2px;
}


.auth-heading h2 {
  margin-top: 7px;

  font-family: "Manrope";

  font-size: 2.25rem;

  letter-spacing: -1px;
}


.auth-heading p {
  margin-top: 7px;

  color: var(--soft);

  font-size: 0.9rem;
}


form {
  margin-top: 32px;
}


.form-group {
  margin-bottom: 17px;
}


.form-group label {
  display: block;

  margin-bottom: 7px;

  font-size: 0.8rem;

  font-weight: 700;
}


.input-box {
  position: relative;
}


.input-box > i {
  position: absolute;

  left: 15px;

  top: 50%;

  transform: translateY(-50%);

  color: #8d98af;
}


.input-box input {
  width: 100%;

  min-height: 52px;

  padding: 0 45px;

  border: 1px solid var(--border);

  border-radius: 12px;

  outline: none;

  color: var(--text);

  background: #fbfcff;
}


.input-box input:focus {
  border-color: #9eaef7;

  background: white;
}


.password-toggle {
  position: absolute;

  right: 14px;

  top: 50%;

  transform: translateY(-50%);

  border: 0;

  background: transparent;

  color: #8490a8;

  cursor: pointer;
}


.form-options {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  margin: 3px 0 23px;

  font-size: 0.78rem;
}


.remember {
  display: flex;

  align-items: center;

  gap: 7px;

  color: var(--soft);
}


.form-options a {
  color: var(--primary);

  font-weight: 700;
}


.login-btn {
  width: 100%;

  min-height: 53px;

  border: 0;

  border-radius: 13px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  background: var(--primary);

  color: white;

  font-weight: 700;

  cursor: pointer;

  box-shadow:
    0 13px 30px rgba(82, 111, 245, 0.22);
}


.employee-btn {
  background:
    linear-gradient(
      90deg,
      #526ff5,
      #8075ef
    );
}


.divider {
  position: relative;

  margin: 27px 0;

  text-align: center;

  color: #8b95aa;

  font-size: 0.75rem;
}


.divider::before {
  content: "";

  position: absolute;

  top: 50%;

  left: 0;

  right: 0;

  height: 1px;

  background: var(--border);
}


.divider span {
  position: relative;

  padding: 0 12px;

  background: white;
}


.register-btn {
  width: 100%;

  min-height: 51px;

  display: flex;

  align-items: center;

  justify-content: center;

  border: 1px solid var(--border);

  border-radius: 13px;

  background: #fbfcff;

  color: var(--text);

  font-weight: 700;
}


.employee-link {
  margin-top: 27px;

  padding: 17px;

  border-radius: 13px;

  background: #f4f7ff;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 15px;

  font-size: 0.78rem;
}


.employee-link span {
  color: var(--soft);
}


.employee-link a {
  color: var(--primary);

  font-weight: 700;
}


.back-home {
  margin-top: 25px;

  display: inline-flex;

  align-items: center;

  gap: 8px;

  color: var(--soft);

  font-size: 0.78rem;
}


.form-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 0 15px;
}


.terms {
  display: flex;

  gap: 8px;

  margin: 5px 0 22px;

  color: var(--soft);

  font-size: 0.75rem;
}


.login-existing {
  margin-top: 25px;

  text-align: center;

  color: var(--soft);

  font-size: 0.8rem;
}


.login-existing a {
  color: var(--primary);

  font-weight: 700;
}


/* RESPONSIVE */

@media (max-width: 900px) {

  .auth-page {
    grid-template-columns: 1fr;
  }


  .auth-left {
    min-height: auto;

    padding: 30px 6% 55px;
  }


  .auth-visual-content {
    margin-top: 50px;

    padding: 20px 0;
  }


  .auth-visual-content h1 {
    font-size: 3rem;
  }


  .auth-right {
    min-height: auto;

    padding: 60px 6%;
  }

}


@media (max-width: 600px) {

  .feature-box {
    grid-template-columns: 1fr;
  }


  .form-grid {
    grid-template-columns: 1fr;
  }


  .auth-heading h2 {
    font-size: 1.9rem;
  }


  .auth-visual-content h1 {
    font-size: 2.4rem;
  }


  .employee-link {
    align-items: flex-start;

    flex-direction: column;
  }

}