@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700&display=swap');

:root {
  --blue: #4a90e2;
  --mint: #50e3c2;
  --dark: #2c3e50;
  --white: #ffffff;
  --soft-white: #f7f8fa;
  --text: #203347;
  --muted: #607489;
  --radius-sm: 8px;
  --radius-md: 12px;
  --shadow-soft: 0 12px 28px rgba(44, 62, 80, 0.13);
  --btn-gradient: linear-gradient(135deg, #4a90e2, #50e3c2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(150deg, #f7f8fa 0%, #edf8f6 46%, #ecf3fb 100%);
}

.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.auth-main {
  width: min(1280px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.auth-left {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: clamp(24px, 3.2vw, 40px);
  min-height: clamp(420px, 48vh, 520px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  background: linear-gradient(145deg, rgba(74, 144, 226, 0.24), rgba(80, 227, 194, 0.18), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(74, 144, 226, 0.12);
  box-shadow: var(--shadow-soft);
}

.auth-left::after {
  content: '';
  position: absolute;
  right: -70px;
  top: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.27), transparent 68%);
}

.auth-left .badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 13px;
  letter-spacing: 0.3px;
  color: var(--white);
  background: linear-gradient(125deg, #2f75ca, #4a90e2);
}

.auth-left h1 {
  margin: 0 0 12px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(27px, 3.5vw, 48px);
  line-height: 1.18;
  color: #1f344a;
}

.auth-left p {
  margin: 0 0 16px;
  color: #4e667e;
  max-width: 680px;
  line-height: 1.35;
}

.auth-pills {
  display: grid;
  gap: 10px;
  margin-top: 2px;
  max-width: 700px;
}

.auth-pill {
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 600;
  color: #31506d;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(74, 144, 226, 0.15);
}

.auth-right {
  border-radius: 16px;
  padding: clamp(24px, 3.2vw, 36px);
  min-height: clamp(420px, 48vh, 520px);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(74, 144, 226, 0.12);
  box-shadow: var(--shadow-soft);
}

.auth-left-header {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.auth-left-heading {
  min-width: 0;
  flex: 1;
}

.auth-left-heading h1 {
  margin-bottom: 4px;
}

.auth-left-heading p {
  margin-bottom: 6px;
}

.auth-left-header .auth-campus-logo {
  width: 58px !important;
  max-width: 58px !important;
  flex: 0 0 58px;
  height: auto;
  border-radius: 0;
  object-fit: contain;
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
  margin-top: 2px;
}

.auth-title {
  margin: 0 0 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 34px;
  color: var(--dark);
}

.auth-subtitle {
  margin: 0 0 20px;
  color: var(--muted);
}

.auth-field {
  margin-bottom: 14px;
}

.auth-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.auth-field-wrap {
  position: relative;
}

.auth-input {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid #d5dfeb;
  background: #f9fbfd;
  color: var(--text);
  font-size: 14px;
  padding: 12px 14px;
}

.auth-input:focus {
  outline: none;
  border-color: #84b9ee;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.17);
}

.auth-button {
  width: 100%;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  background: var(--btn-gradient);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(56, 145, 204, 0.3);
}

.auth-footer {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

.auth-footer a {
  color: #3278cd;
  text-decoration: none;
  font-weight: 600;
}

.auth-alert {
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 14px;
}

.auth-alert.error {
  background: #ffe9e9;
  color: #9c3434;
}

.auth-alert.success {
  background: #dffcf3;
  color: #146f57;
}

.auth-bottom {
  padding: 8px 0 18px;
  font-size: 12px;
  text-align: center;
  color: #6e8498;
}

.auth-bottom a {
  color: #3278cd;
  text-decoration: none;
  font-weight: 600;
}

.auth-bottom a:hover {
  text-decoration: underline;
}

.auth-main-single {
  grid-template-columns: 1fr;
  width: min(560px, 94vw);
  margin-top: 40px;
}

.auth-reset-card {
  min-height: auto;
}

@media (max-width: 960px) {
  .auth-shell {
    align-items: flex-start;
  }

  .auth-main {
    grid-template-columns: 1fr;
    width: min(760px, 94vw);
    margin-top: 18px;
  }

  .auth-left,
  .auth-right {
    min-height: auto;
  }

  .auth-left-header .auth-campus-logo {
    width: 44px !important;
    max-width: 44px !important;
    flex-basis: 44px;
  }
}
