
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 193, 7, 0.12), transparent 26%),
    linear-gradient(135deg, #f8fafc 0%, #eef4fb 48%, #eaf2ff 100%);
  color: #172033;
  overflow-x: hidden;
}

.container {
  display: flex;
  min-height: 100vh;
  width: 100%;
  position: relative;
}

.back-btn {
  position: fixed;
  top: 22px;
  left: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #1b3061;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 20;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: all 0.22s ease;
}

.back-btn:hover {
  transform: translateY(-2px);
  background: #ffffff;
  color: #2563eb;
}

.left {
  width: 50%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
  padding: 40px 42px;
  overflow-y: auto;
  position: relative;
  z-index: 2;
}

.left::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 8%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08), transparent 68%);
  pointer-events: none;
}

.form-box {
  width: 100%;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 26px;
  padding: 32px 34px;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.10);
  position: relative;
  overflow: hidden;
}

.form-box::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.13), transparent 68%);
}

.form-box h2 {
  color: #1b3061;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  position: relative;
}

.subtitle {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
  position: relative;
}

.description {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 22px;
  line-height: 1.65;
  position: relative;
}

.form-box h3 {
  color: #172554;
  font-size: 23px;
  font-weight: 850;
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 5px solid #ffc107;
  position: relative;
}

.input-group {
  margin-bottom: 14px;
  position: relative;
}

.input-group label {
  display: block;
  color: #1b3061;
  font-size: 13px;
  font-weight: 750;
  margin-bottom: 7px;
}

.input-group input {
  width: 100%;
  height: 44px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid #d7e1ee;
  background: #ffffff;
  color: #172033;
  font-size: 14px;
  transition: all 0.22s ease;
}

.input-group input::placeholder {
  color: #94a3b8;
}

.input-group input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.options {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #475569;
  margin: 16px 0 20px;
  line-height: 1.45;
}

.options label {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
}

.options input[type="checkbox"] {
  width: 15px;
  height: 15px;
  min-width: 15px;
  margin-top: 2px;
  accent-color: #1b3061;
}

.options a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 800;
}

.options a:hover {
  text-decoration: underline;
}

button[type="submit"] {
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 15px;
  background: linear-gradient(135deg, #1b3061 0%, #2563eb 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.24);
  transition: all 0.22s ease;
}

button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(37, 99, 235, 0.32);
}

button[type="submit"]:active {
  transform: scale(0.98);
}

.login {
  margin-top: 20px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
}

.login a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 850;
}

.login a:hover {
  text-decoration: underline;
}

.right {
  width: 50%;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: background-image 0.45s ease;
  overflow: hidden;
}

.right::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.35), rgba(30, 58, 138, 0.28)),
    linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 52%);
  z-index: 1;
}

.right::after {
  content: "JOIN THE TEAM";
  position: absolute;
  right: 42px;
  bottom: 38px;
  color: rgba(255, 255, 255, 0.14);
  font-size: 58px;
  font-weight: 950;
  letter-spacing: 3px;
  z-index: 2;
  text-align: right;
}

.overlay {
  position: absolute;
  left: 44px;
  bottom: 58px;
  color: #ffffff;
  z-index: 3;
}

.overlay h1,
.overlay h2 {
  display: none;
}

/* TABLET */
@media (max-width: 992px) {
  .left {
    padding: 34px 24px;
  }

  .form-box {
    max-width: 440px;
    padding: 28px;
  }

  .right::after {
    font-size: 42px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  body {
    background: linear-gradient(135deg, #f8fafc, #eef4fb);
  }

  .container {
    flex-direction: column;
    min-height: auto;
  }

  .back-btn {
    top: 14px;
    left: 14px;
    width: 38px;
    height: 38px;
  }

  .right {
    width: 100%;
    min-height: 150px;
    height: 24vh;
    order: 1;
  }

  .right::after {
    right: 18px;
    bottom: 14px;
    font-size: 28px;
    letter-spacing: 2px;
  }

  .left {
    width: 100%;
    min-height: auto;
    order: 2;
    padding: 14px 14px 26px;
    align-items: flex-start;
  }

  .form-box {
    max-width: 100%;
    border-radius: 20px;
    padding: 20px 18px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
  }

  .form-box h2 {
    font-size: 23px;
  }

  .subtitle {
    font-size: 13px;
  }

  .description {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .form-box h3 {
    font-size: 19px;
    margin-bottom: 16px;
  }

  .input-group {
    margin-bottom: 12px;
  }

  .input-group label {
    font-size: 12.5px;
  }

  .input-group input {
    height: 40px;
    border-radius: 12px;
    font-size: 13px;
  }

  .options {
    font-size: 12px;
    margin: 13px 0 16px;
  }

  button[type="submit"] {
    min-height: 43px;
    border-radius: 13px;
    font-size: 14px;
  }

  .login {
    font-size: 13px;
  }
}

/* SMALL MOBILE */
@media (max-width: 420px) {
  .right {
    height: 130px;
    min-height: 130px;
  }

  .left {
    padding: 12px 10px 22px;
  }

  .form-box {
    padding: 17px 14px;
    border-radius: 18px;
  }

  .form-box h2 {
    font-size: 21px;
  }

  .form-box h3 {
    font-size: 18px;
  }

  .input-group input {
    height: 39px;
  }
}