:root {
  --teacher-violet: #6750dc;
  --teacher-indigo: #4331a3;
  --teacher-ink: #292444;
  --teacher-muted: #746f88;
  --teacher-line: #ddd9ec;
}


/* Padrão tipográfico final desta janela e de seus popups. */
html body *:not(#geducacional-font-size-14),
html body *:not(#geducacional-font-size-14)::before,
html body *:not(#geducacional-font-size-14)::after {
  font-size: 14px !important;
  font-weight: 400 !important;
}
html body table,
html body table *,
html body .data-table,
html body .data-table * {
  font-size: 14px !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
}
html body table th,
html body .data-table th {
  line-height: 1.3 !important;
  text-transform: none !important;
  white-space: nowrap !important;
}
html body table td,
html body .data-table td {
  line-height: 1.35 !important;
}

.teacher-login-page,
.teacher-login-page * {
  box-sizing: border-box;
  font-weight: 400;
}

.teacher-login-page {
  width: 100%;
  height: 100vh;
  height: 100svh;
  margin: 0;
  overflow: hidden;
  color: var(--teacher-ink);
  background: #f7f6fb;
}

.teacher-login-shell {
  display: grid;
  grid-template-columns: minmax(430px, .86fr) minmax(540px, 1.14fr);
  width: 100%;
  height: 100%;
}

.teacher-login-access {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  height: 100%;
  padding: clamp(22px, 3.2vw, 46px) clamp(30px, 5vw, 72px);
  background: #fff;
  box-shadow: 24px 0 70px rgba(50, 39, 108, .08);
}

.teacher-access-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.teacher-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teacher-ink);
  text-decoration: none;
}

.teacher-brand span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--teacher-violet);
  font-size: .72rem;
  letter-spacing: .08em;
}

.teacher-back { color: var(--teacher-muted); font-size: .78rem; text-decoration: none; }

.teacher-login-card {
  align-self: center;
  width: min(100%, 440px);
  margin: 0 auto;
}

.teacher-login-card header { margin-bottom: 18px; }

.teacher-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--teacher-violet);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.teacher-login-card h1 {
  margin: 0;
  color: var(--teacher-ink);
  font-size: clamp(1.75rem, 2.8vw, 2.65rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.teacher-login-card header p {
  margin: 10px 0 0;
  color: var(--teacher-muted);
  font-size: .9rem;
}

.teacher-login-form { display: grid; gap: 11px; }
.teacher-login-form .field { display: grid; gap: 6px; }
.teacher-login-form .field > span { color: #4b4660; font-size: .78rem; }

.teacher-login-form .input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--teacher-line);
  border-radius: 12px;
  color: var(--teacher-ink);
  background: #fbfaff;
  font-size: .88rem;
  outline: none;
}

.teacher-login-form .input:focus {
  border-color: var(--teacher-violet);
  box-shadow: 0 0 0 3px rgba(103, 80, 220, .12);
}

.teacher-login-form .input::placeholder { color: #aaa5b8; }

.teacher-login-form .check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 22px;
  color: #5d586e;
  font-size: .75rem;
  line-height: 1.25;
}

.teacher-login-form .check input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 0;
  accent-color: var(--teacher-violet);
}

.teacher-form-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}

.teacher-form-row a { color: var(--teacher-violet); font-size: .75rem; }

.teacher-login-options {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding-top: 2px;
}

.teacher-login-options .check { align-items: flex-start; }
.teacher-login-options .check input { margin-top: 1px; }

.teacher-login-options__acceptance {
  min-width: 0;
  padding-left: 14px;
  border-left: 1px solid var(--teacher-line);
}

.teacher-submit {
  display: flex;
  width: 100%;
  height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--teacher-violet);
  box-shadow: 0 10px 24px rgba(103, 80, 220, .2);
  font-size: .86rem;
}

.teacher-submit:hover { background: #5840c8; }

.teacher-admin-link {
  margin: 14px 0 0;
  color: var(--teacher-muted);
  font-size: .73rem;
  text-align: center;
}

.teacher-admin-link a { color: var(--teacher-violet); }

.teacher-create-button {
  display: grid;
  min-height: 38px;
  margin-top: 9px;
  place-items: center;
  border: 1px solid #c9c0ee;
  border-radius: 12px;
  color: var(--teacher-violet);
  background: #f7f4ff;
  font-size: .77rem;
  text-decoration: none;
}

.teacher-create-button:hover { border-color: var(--teacher-violet); background: #f1edff; }

.teacher-login-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  padding: clamp(42px, 6vw, 86px);
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 8%, rgba(178, 154, 255, .45), transparent 28%),
    radial-gradient(circle at 15% 88%, rgba(98, 185, 255, .25), transparent 35%),
    linear-gradient(145deg, #eeeaff 0%, #e8e9ff 52%, #e3f0ff 100%);
}

.teacher-login-visual::after {
  position: absolute;
  z-index: -1;
  right: -140px;
  bottom: -190px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(92, 65, 194, .13);
  border-radius: 50%;
  content: "";
}

.teacher-visual-copy { width: min(100%, 650px); }

.teacher-visual-copy h2 {
  max-width: 650px;
  margin: 0;
  color: var(--teacher-indigo);
  font-size: clamp(2rem, 3.7vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.teacher-visual-copy p {
  max-width: 560px;
  margin: 16px 0 0;
  color: #696180;
  font-size: clamp(.9rem, 1.2vw, 1.05rem);
  line-height: 1.5;
}

.teacher-login-visual > img {
  align-self: center;
  justify-self: center;
  width: min(88%, 660px);
  max-height: 44vh;
  object-fit: contain;
}

.teacher-routine {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.teacher-routine span {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(81, 60, 165, .12);
  border-radius: 12px;
  color: #514b66;
  background: rgba(255, 255, 255, .58);
  font-size: .74rem;
}

.teacher-routine i {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--teacher-violet);
  font-size: .65rem;
  font-style: normal;
}

@media (max-height: 760px) and (min-width: 901px) {
  .teacher-login-access { padding-top: 18px; padding-bottom: 18px; }
  .teacher-login-card header { margin-bottom: 10px; }
  .teacher-login-card h1 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
  .teacher-login-form { gap: 8px; }
  .teacher-visual-copy h2 { font-size: clamp(1.8rem, 3vw, 3rem); }
  .teacher-login-visual > img { max-height: 36vh; }
}

@media (max-width: 900px) {
  .teacher-login-shell { grid-template-columns: 1fr; }
  .teacher-login-visual { display: none; }
  .teacher-login-access { padding: 20px clamp(20px, 7vw, 56px); }
}

@media (max-width: 520px) {
  .teacher-brand { font-size: .82rem; }
  .teacher-login-options { grid-template-columns: 1fr; gap: 7px; }
  .teacher-login-options__acceptance { padding: 8px 0 0; border-top: 1px solid var(--teacher-line); border-left: 0; }
}

@media (max-height: 640px) {
  .teacher-login-card header { margin-bottom: 8px; }
  .teacher-login-card header p { display: none; }
  .teacher-login-form { gap: 7px; }
  .teacher-login-form .input { height: 39px; }
  .teacher-submit { height: 40px; }
  .teacher-admin-link { margin-top: 8px; }
}
