* {
  box-sizing: border-box;
  font-family: "Inter", Arial, sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background: #f6f8fb;
  color: #172033;
}

a {
  color: inherit;
  text-decoration: none;
}

.login-container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  min-height: 100vh;
}

.login-left {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 45%, #10b981 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  padding: 54px 8%;
  position: relative;
}

.login-left::before {
  content: "";
  inset: 0;
  opacity: 0.18;
  position: absolute;
  background:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 64px 64px;
}

.login-left::after {
  background: rgba(255, 255, 255, 0.12);
  bottom: -18%;
  content: "";
  height: 44%;
  left: 18%;
  position: absolute;
  transform: rotate(-8deg);
  width: 86%;
}

.login-topbar,
.logo,
.login-copy,
.learning-preview {
  position: relative;
  z-index: 1;
}

.login-topbar {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  left: 8%;
  position: absolute;
  right: 8%;
  top: 30px;
}

.logo {
  font-size: 30px;
  font-weight: 900;
}

.logo span {
  color: #d1fae5;
}

.login-home-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
}

.login-home-button:hover {
  background: #ffffff;
  color: #1d4ed8;
}

.login-copy {
  max-width: 760px;
}

.eyebrow {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 18px;
  padding: 8px 12px;
  text-transform: uppercase;
}

.login-left h1 {
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: 0;
  line-height: 1.06;
  margin-bottom: 18px;
}

.login-left p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.7;
}

.mentor-card {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  margin-top: 28px;
  max-width: 720px;
  padding: 20px;
}

.mentor-card span {
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.mentor-card h3 {
  font-size: 24px;
  line-height: 1.28;
  margin-bottom: 8px;
}

.learning-preview {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
  max-width: 980px;
}

.learning-preview article {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 16px;
}

.learning-preview strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.learning-preview span {
  color: rgba(255, 255, 255, 0.9);
  display: block;
  font-size: 14px;
  line-height: 1.5;
}

.login-right {
  align-items: center;
  display: flex;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  padding: 40px 6%;
  position: relative;
}

.login-right::before {
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(16, 185, 129, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  inset: 0;
  position: absolute;
}

.login-right::after {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(16, 185, 129, 0.12));
  bottom: 8%;
  content: "";
  height: 170px;
  position: absolute;
  right: -42px;
  transform: rotate(-10deg);
  width: 68%;
}

.login-illustration-bg {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.study-board,
.study-book,
.study-chart {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
  position: absolute;
}

.study-board {
  display: grid;
  gap: 12px;
  left: 10%;
  padding: 18px;
  top: 17%;
  transform: rotate(-5deg);
  width: 168px;
}

.study-board span {
  background: #dbeafe;
  border-radius: 999px;
  display: block;
  height: 10px;
}

.study-board span:nth-child(2) {
  background: #bbf7d0;
  width: 72%;
}

.study-board span:nth-child(3) {
  width: 84%;
}

.study-book {
  bottom: 15%;
  height: 128px;
  left: 15%;
  transform: rotate(8deg);
  width: 196px;
}

.study-book::before,
.study-book::after {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  content: "";
  height: 86px;
  position: absolute;
  top: 20px;
  width: 72px;
}

.study-book::before {
  left: 20px;
}

.study-book::after {
  right: 20px;
}

.study-book span {
  background: #10b981;
  border-radius: 999px;
  height: 88px;
  left: 50%;
  position: absolute;
  top: 20px;
  transform: translateX(-50%);
  width: 5px;
}

.study-chart {
  align-items: end;
  display: flex;
  gap: 10px;
  height: 128px;
  justify-content: center;
  padding: 18px;
  right: 10%;
  top: 20%;
  transform: rotate(5deg);
  width: 158px;
}

.study-chart span {
  background: #2563eb;
  border-radius: 8px 8px 3px 3px;
  display: block;
  width: 22px;
}

.study-chart span:nth-child(1) {
  height: 42px;
}

.study-chart span:nth-child(2) {
  background: #10b981;
  height: 72px;
}

.study-chart span:nth-child(3) {
  height: 54px;
}

.login-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.1);
  max-width: 440px;
  padding: 34px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.login-box h2 {
  color: #111827;
  font-size: 32px;
  margin-bottom: 8px;
}

.subtitle {
  color: #64748b;
  margin-bottom: 28px;
}

.google-btn {
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  padding: 14px;
  width: 100%;
}

.google-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #374151;
}

.google-btn.primary-google {
  align-items: center;
  border-color: #dbe4f0;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 2px;
}

.google-mark {
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #2563eb;
  display: inline-flex;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.login-flow-note {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #64748b;
  line-height: 1.55;
  margin-top: 18px;
  padding: 16px;
}

.login-flow-note strong,
.login-flow-note span {
  display: block;
}

.login-flow-note strong {
  color: #111827;
  margin-bottom: 4px;
}

.alert {
  border-radius: 8px;
  font-weight: 800;
  margin-bottom: 16px;
  padding: 12px;
}

.alert-danger {
  background: #fee2e2;
  color: #991b1b;
}

.alert-success {
  background: #dcfce7;
  color: #166534;
}

@media (max-width: 1200px) {
  .learning-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .login-container {
    grid-template-columns: 1fr;
  }

  .login-left {
    min-height: auto;
    padding: 92px 7% 42px;
  }

  .login-right {
    padding: 28px 5%;
  }

  .study-board,
  .study-chart {
    opacity: 0.6;
  }
}

@media (max-width: 680px) {
  .learning-preview {
    grid-template-columns: 1fr;
  }

  .login-left h1 {
    font-size: 38px;
  }

  .login-left p {
    font-size: 16px;
  }

  .login-box {
    padding: 24px;
  }

  .login-right::after,
  .study-board,
  .study-book,
  .study-chart {
    display: none;
  }
}
