* {
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
body {
  font-family: "Inter", sans-serif;
  background: #f4f7fb;
  color: #1f2937;
}
.login-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  overflow: hidden;
}
.education-section {
  position: relative;
  width: 58%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(30px, 5vw, 75px);
  color: white;
  background-color: #155c94;
}
.school-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transform: scale(1.03);
  animation: backgroundZoom 18s ease-in-out infinite alternate;
}
@keyframes backgroundZoom {
  0% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1.1);
  }
}
.education-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(9, 55, 105, 0.92),
    rgba(16, 111, 168, 0.78)
  );
}
.education-overlay::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  top: -260px;
  right: -150px;
  animation: floatingCircle 12s ease-in-out infinite;
}
.education-overlay::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  bottom: -250px;
  left: -180px;
  animation: floatingCircle2 15s ease-in-out infinite;
}
@keyframes floatingCircle {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-40px, 50px);
  }
  100% {
    transform: translate(0, 0);
  }
}
@keyframes floatingCircle2 {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(50px, -40px);
  }
  100% {
    transform: translate(0, 0);
  }
}
.education-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 650px;
}
.brand-area {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}
.brand-logo {
  width: 65px;
  height: 65px;
  flex-shrink: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
}
.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.95);
}
.brand-powered {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 3px;
}
.education-content h1 {
  font-size: clamp(32px, 3.5vw, 50px);
  line-height: 1.12;
  font-weight: 800;
  margin: 0 0 20px 0;
  letter-spacing: -1.5px;
}
.education-content h1 span {
  color: #dff7ff;
}
.education-description {
  max-width: 570px;
  font-size: clamp(13px, 1.15vw, 16px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 35px;
}
.school-caption {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 25px;
}
.school-caption i {
  font-size: 15px;
  color: #dff7ff;
}
.education-illustration {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.edu-card {
  width: 115px;
  padding: 17px 12px;
  text-align: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, background 0.3s ease;
  animation: cardFloat 6s ease-in-out infinite;
}
.edu-card:nth-child(2) {
  animation-delay: -1s;
}
.edu-card:nth-child(3) {
  animation-delay: -2s;
}
.edu-card:nth-child(4) {
  animation-delay: -3s;
}
.edu-card:hover {
  transform: translateY(-7px);
  background: rgba(255, 255, 255, 0.18);
}
.edu-card i {
  display: block;
  font-size: 28px;
  margin-bottom: 8px;
}
.edu-card span {
  font-size: 11px;
  font-weight: 600;
}
@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
.particle {
  position: absolute;
  z-index: 2;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  animation: particleAnimation 9s linear infinite;
}
.particle-1 {
  left: 10%;
  top: 75%;
}
.particle-2 {
  left: 30%;
  top: 30%;
  animation-delay: -2s;
}
.particle-3 {
  left: 55%;
  top: 70%;
  animation-delay: -4s;
}
.particle-4 {
  left: 75%;
  top: 25%;
  animation-delay: -6s;
}
.particle-5 {
  left: 90%;
  top: 65%;
  animation-delay: -3s;
}
@keyframes particleAnimation {
  0% {
    transform: translateY(40px) scale(0);
    opacity: 0;
  }
  30% {
    opacity: 0.8;
  }
  70% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-120px) scale(1);
    opacity: 0;
  }
}
.login-section {
  width: 42%;
  height: 100%;
  min-width: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px;
  overflow: hidden;
}
.login-container {
  width: 100%;
  max-width: 430px;
  max-height: 100%;
  overflow: hidden;
}
.school-header {
  text-align: center;
  margin-bottom: 25px;
}
.school-logo {
  width: 75px;
  height: 75px;
  margin: 0 auto 12px auto;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid #e4e9ef;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}
.school-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.school-name {
  font-size: 22px;
  font-weight: 800;
  color: #172b4d;
  line-height: 1.2;
  margin-bottom: 4px;
}
.school-tagline {
  font-size: 14px;
  color: #8492a6;
}
.login-card {
  width: 100%;
  border: 1px solid #e7ecf1;
  border-radius: 22px;
  padding: 30px;
  background: #ffffff;
  box-shadow: 0 15px 50px rgba(31, 45, 61, 0.08);
}
.login-title {
  font-size: 22px;
  font-weight: 700;
  color: #172b4d;
  margin-bottom: 5px;
}
.login-subtitle {
  font-size: 12px;
  color: #8492a6;
  margin-bottom: 23px;
}
.form-label {
  font-size: 12px;
  font-weight: 600;
  color: #344563;
  margin-bottom: 6px;
}
.input-group-custom {
  position: relative;
  margin-bottom: 17px;
}
.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a99ad;
  z-index: 5;
  font-size: 14px;
}
.custom-input {
  width: 100%;
  height: 50px;
  border-radius: 11px !important;
  border: 1px solid #dfe5ec;
  padding-left: 43px;
  padding-right: 43px;
  font-size: 13px;
  outline: none;
  transition: all 0.25s ease;
  margin-bottom: 10px;
}
.custom-input:focus {
  border-color: #2c9fd6;
  box-shadow: 0 0 0 4px rgba(44, 159, 214, 0.1);
}
.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #8a99ad;
  z-index: 5;
  transition: color 0.2s ease;
}
.password-toggle:hover {
  color: #168ac0;
}
.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.form-check-label {
  font-size: 11px;
  color: #67758a;
}
.forgot-link {
  font-size: 11px;
  font-weight: 600;
  color: #168ac0;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
}
.forgot-link:hover {
  color: #0b6f9d;
  text-decoration: underline;
}
.login-button {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 11px;
  color: white;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, #1769aa, #29a4d6);
  box-shadow: 0 8px 20px rgba(30, 137, 191, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(30, 137, 191, 0.35);
}
.login-button:active {
  transform: translateY(0);
}
.login-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.mobile-apps {
  text-align: center;
  margin-top: 22px;
}
.mobile-apps-title {
  font-size: 9px;
  color: #9aa6b5;
  letter-spacing: 0.5px;
  margin-bottom: 9px;
}
.app-buttons {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.app-button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 8px;
  background: #f5f7fa;
  border: 1px solid #e4e8ed;
  color: #344563;
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.app-button i {
  font-size: 16px;
}
.app-button:hover {
  background: #eef5f9;
  transform: translateY(-2px);
}
.login-footer {
  text-align: center;
  margin-top: 17px;
  font-size: 9px;
  color: #a0a9b5;
}
@media (max-width: 1100px) {
  .education-section {
    width: 52%;
    padding: 40px;
  }
  .login-section {
    width: 48%;
    padding: 25px;
  }
  .education-content h1 {
    font-size: 36px;
  }
  .education-description {
    font-size: 13px;
  }
  .edu-card {
    width: 90px;
    padding: 13px 8px;
  }
}
@media (max-width: 767px) {
  .login-wrapper {
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .education-section {
    width: 100%;
    height: 30%;
    min-height: 0;
    flex-shrink: 0;
    padding: 20px;
    align-items: center;
  }
  .school-background {
    animation-duration: 25s;
  }
  .education-content {
    max-width: 100%;
  }
  .brand-area {
    margin-bottom: 10px;
    gap: 9px;
  }
  .brand-logo {
    width: 42px;
    height: 42px;
    padding: 5px;
    border-radius: 10px;
  }
  .brand-name {
    font-size: 11px;
  }
  .brand-powered {
    font-size: 8px;
  }
  .school-caption {
    padding: 5px 10px;
    margin-bottom: 8px;
    font-size: 8px;
  }
  .education-content h1 {
    font-size: 24px;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
  }
  .education-description {
    font-size: 9px;
    line-height: 1.45;
    margin-bottom: 0;
    max-width: 95%;
  }
  .education-illustration {
    display: none;
  }
  .login-section {
    width: 100%;
    height: 70%;
    flex: 1;
    min-height: 0;
    padding: 15px 18px;
    overflow: hidden;
  }
  .login-container {
    max-width: 430px;
    max-height: 100%;
    overflow: hidden;
  }
  .school-header {
    margin-bottom: 10px;
  }
  .school-logo {
    width: 48px;
    height: 48px;
    padding: 5px;
    border-radius: 11px;
    margin-bottom: 5px;
  }
  .school-name {
    font-size: 16px;
    margin-bottom: 2px;
  }
  .school-tagline {
    font-size: 9px;
  }
  .login-card {
    padding: 17px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(31, 45, 61, 0.06);
  }
  .login-title {
    font-size: 17px;
  }
  .login-subtitle {
    font-size: 9px;
    margin-bottom: 13px;
  }
  .form-label {
    font-size: 10px;
    margin-bottom: 4px;
  }
  .input-group-custom {
    margin-bottom: 10px;
  }
  .custom-input {
    height: 41px;
    border-radius: 9px !important;
    font-size: 11px;
    padding-left: 38px;
    padding-right: 38px;
  }
  .input-icon {
    left: 13px;
    font-size: 12px;
  }
  .password-toggle {
    right: 13px;
    font-size: 12px;
  }
  .login-options {
    margin-bottom: 12px;
  }
  .form-check-label,
  .forgot-link {
    font-size: 9px;
  }
  .login-button {
    height: 41px;
    border-radius: 9px;
    font-size: 11px;
  }
  .mobile-apps {
    margin-top: 11px;
  }
  .mobile-apps-title {
    font-size: 7px;
    margin-bottom: 5px;
  }
  .app-button {
    padding: 5px 9px;
    border-radius: 6px;
    font-size: 8px;
  }
  .app-button i {
    font-size: 12px;
  }
  .login-footer {
    margin-top: 6px;
    font-size: 7px;
  }
}
@media (max-width: 767px) and (max-height: 650px) {
  .education-section {
    height: 25%;
    padding: 10px 18px;
  }
  .login-section {
    height: 75%;
    padding: 8px 15px;
  }
  .brand-logo {
    display: none;
  }
  .brand-area {
    margin-bottom: 5px;
  }
  .school-caption {
    display: none;
  }
  .education-content h1 {
    font-size: 20px;
    margin-bottom: 3px;
  }
  .education-description {
    font-size: 8px;
    line-height: 1.3;
  }
  .school-logo {
    width: 38px;
    height: 38px;
  }
  .school-name {
    font-size: 13px;
  }
  .school-tagline {
    font-size: 7px;
  }
  .login-card {
    padding: 12px 14px;
  }
  .login-subtitle {
    margin-bottom: 8px;
  }
  .input-group-custom {
    margin-bottom: 7px;
  }
  .custom-input {
    height: 35px;
  }
  .login-options {
    margin-bottom: 7px;
  }
  .login-button {
    height: 35px;
  }
  .mobile-apps {
    margin-top: 6px;
  }
  .login-footer {
    display: none;
  }
}
@media (max-width: 900px) and (orientation: landscape) {
  .education-section {
    width: 45%;
    height: 100%;
    padding: 20px;
  }
  .login-section {
    width: 55%;
    height: 100%;
    padding: 15px 25px;
  }
  .education-content h1 {
    font-size: 23px;
  }
  .education-description {
    font-size: 9px;
    line-height: 1.4;
  }
  .education-illustration {
    display: none;
  }
  .school-logo {
    width: 45px;
    height: 45px;
  }
  .school-header {
    margin-bottom: 8px;
  }
  .login-card {
    padding: 15px 20px;
  }
  .input-group-custom {
    margin-bottom: 8px;
  }
  .custom-input,
  .login-button {
    height: 38px;
  }
  .login-footer {
    display: none;
  }
}
:root {
  --ink: #172c46;
  --muted: #77869a;
  --blue: #2563eb;
  --border: #e4eaf2;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
}
body {
  background: #eef3f9;
}
.shell {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(400px, 0.87fr);
  background: white;
}
.visual {
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
  background: #14334e;
}
.scene {
  position: absolute;
  inset: -25px;
  background-position: center;
  background-size: cover;
  animation: kenburns 8s ease-in-out infinite alternate;
  will-change: transform;
}
.scene:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 29, 53, 0.34),
    rgba(9, 29, 53, 0.05) 38%,
    rgba(7, 26, 49, 0.88)
  );
}
@keyframes kenburns {
  from {
    transform: scale(1.02) translateX(0);
  }
  to {
    transform: scale(1.12) translateX(-16px);
  }
}
.glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    110deg,
    transparent 35%,
    rgba(255, 255, 255, 0.13) 49%,
    transparent 63%
  );
  transform: translateX(-110%);
  animation: sweep 9s ease-in-out infinite;
}
@keyframes sweep {
  0%,
  25% {
    transform: translateX(-110%);
  }
  70%,
  100% {
    transform: translateX(110%);
  }
}
.visual-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px 52px;
  color: white;
}
.school-id {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 620px;
}
.logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 17px;
  background: white;
  padding: 8px;
  box-shadow: 0 12px 30px #001c3550;
}
.school-id h1 {
  font: 800 clamp(20px, 2vw, 28px) / 1.2 Manrope, sans-serif;
  margin: 0 0 7px;
  text-shadow: 0 2px 12px #0004;
}
.location {
  font-size: 13px;
  color: #e3eaf4;
}
.visual-bottom {
  max-width: 640px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #b9e8ff;
  text-transform: uppercase;
}
.visual-bottom h2 {
  font: 800 clamp(34px, 4vw, 58px) / 1.12 Manrope, sans-serif;
  letter-spacing: -2px;
  margin: 14px 0;
}
.visual-bottom p {
  color: #e1e9f3;
  font-size: 15px;
  line-height: 1.75;
  max-width: 490px;
}
.dots {
  display: flex;
  gap: 7px;
  margin-top: 28px;
}
.dots span {
  width: 24px;
  height: 4px;
  background: #fff6;
  border-radius: 6px;
}
.dots span:first-child {
  background: white;
  width: 45px;
}
.panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 54px clamp(28px, 6vw, 96px);
  position: relative;
}
.form-wrap {
  width: 100%;
  max-width: 405px;
  animation: appear 0.65s ease-out both;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mark {
  display: inline-grid;
  place-items: center;
  background: #e9f0ff;
  color: #285de0;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  font-size: 25px;
  margin-bottom: 24px;
}
.heading {
  font: 800 32px Manrope, sans-serif;
  letter-spacing: -1px;
  margin: 0 0 8px;
}
.sub {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 36px;
}
.field {
  margin-bottom: 22px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}
.input-box {
  position: relative;
}
.input-box input {
  width: 100%;
  height: 54px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 48px 0 17px;
  font-size: 14px;
  color: var(--ink);
  background: #fbfcff;
  outline: none;
  transition: 0.2s;
}
.input-box input:focus {
  border-color: #4c85fa;
  background: #fff;
  box-shadow: 0 0 0 4px #2563eb13;
}
.eye {
  position: absolute;
  right: 10px;
  top: 8px;
  height: 38px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: #63758c;
  cursor: pointer;
  font-size: 12px;
}
.forgot {
  display: block;
  text-align: right;
  margin: -5px 0 26px;
  font-size: 13px;
  color: #245fe5;
  text-decoration: none;
  font-weight: 700;
}
.submit {
  height: 54px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(100deg, #2563eb, #137cde);
  color: white;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 24px #2563eb2d;
  transition: 0.2s;
}
.submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px #2563eb40;
}
.submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.error {
  padding: 11px 13px;
  border-radius: 10px;
  background: #fff0f0;
  color: #b42318;
  font-size: 13px;
  margin-bottom: 16px;
}
.apps {
  border-top: 1px solid var(--border);
  margin-top: 38px;
  padding-top: 25px;
}
.apps-title {
  text-align: center;
  font-size: 12px;
  color: #7e8b9d;
  margin-bottom: 16px;
}
.store-row {
  display: flex;
  gap: 12px;
}
.store {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #1c2938;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  padding: 11px 9px;
  min-height: 50px;
}
.store:hover {
  background: #30465d;
}
.store svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}
.store small {
  display: block;
  font-size: 9px;
  opacity: 0.8;
}
.store strong {
  display: block;
  font-size: 13px;
}
.foot {
  margin-top: 42px;
  color: #9aa6b4;
  text-align: center;
  font-size: 11px;
}
.mobile-brand {
  display: none;
}
@media (max-width: 900px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .visual {
    min-height: 270px;
    height: 32vh;
  }
  .visual-inner {
    min-height: 0;
    padding: 24px;
  }
  .visual-bottom {
    display: none;
  }
  .school-id h1 {
    font-size: 22px;
  }
  .logo {
    width: 60px;
    height: 60px;
  }
  .panel {
    padding: 34px 22px 42px;
  }
  .mobile-brand {
    display: block;
    color: #6c8099;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
  }
  .sub {
    margin-bottom: 25px;
  }
  .foot {
    margin-top: 28px;
  }
}
@media (max-width: 450px) {
  .visual {
    height: 205px;
    min-height: 205px;
  }
  .school-id h1 {
    font-size: 18px;
  }
  .location {
    font-size: 11px;
  }
  .heading {
    font-size: 27px;
  }
  .store strong {
    font-size: 11px;
  }
  .store {
    gap: 7px;
  }
  .panel {
    padding-top: 27px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
.panel {
  background: linear-gradient(155deg, #fff 0%, #fbfcff 75%, #f5f8ff 100%);
  border-left: 1px solid #e9eef5;
}
.form-wrap {
  max-width: 420px;
}
.mark {
  background: #edf4ff;
  color: #2066cd;
  border: 1px solid #dbe9ff;
  box-shadow: 0 7px 18px #2563eb12;
  margin-bottom: 20px;
}
.heading {
  font-size: 30px;
  letter-spacing: -0.8px;
}
.sub {
  margin-bottom: 30px;
}
.field {
  margin-bottom: 20px;
}
.field label {
  color: #354b65;
  font-size: 12px;
  letter-spacing: 0.15px;
}
.input-box input {
  padding-left: 49px;
  padding-right: 52px;
  background: #fff;
  border: 1px solid #d9e2ed;
  border-radius: 10px;
}
.input-box input::placeholder {
  color: #9aa7b8;
}
.field-icon {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  width: 19px;
  height: 19px;
  color: #8293a9;
  pointer-events: none;
}
.input-box:focus-within .field-icon {
  color: #2563eb;
}
.eye {
  font-size: 12px;
  font-weight: 700;
  color: #386eaf;
}
.forgot {
  margin: 0 0 24px;
}
.submit {
  border-radius: 10px;
  background: #1764ce;
  box-shadow: 0 9px 19px #1764ce29;
}
.submit:hover {
  background: #1058bc;
}
.apps {
  margin-top: 31px;
  padding-top: 23px;
}
.apps-title {
  font-size: 12px;
  font-weight: 600;
  color: #71839b;
}
.store {
  background: #152435;
  min-height: 55px;
  border-radius: 10px;
  justify-content: flex-start;
  padding: 9px 16px;
  transition: transform 0.2s, background 0.2s;
}
.store:hover {
  background: #263f58;
  transform: translateY(-2px);
}
.store svg {
  width: 25px;
  height: 25px;
  flex: none;
}
.store strong {
  font-size: 13px;
}
.foot {
  margin-top: 30px;
}
@media (max-width: 450px) {
  .store {
    padding: 8px 10px;
    gap: 7px;
  }
  .store strong {
    font-size: 11px;
  }
}
.panel {
  background: radial-gradient(circle at 82% 12%, #e6efff 0, transparent 39%),
    linear-gradient(155deg, #f2f6fc, #eaf0f8);
  padding: 32px clamp(20px, 4vw, 62px);
}
.form-wrap {
  max-width: 440px;
  background: #fff;
  border: 1px solid rgba(214, 225, 239, 0.95);
  border-radius: 22px;
  padding: clamp(24px, 3vw, 38px);
  box-shadow: 0 24px 65px rgba(28, 53, 87, 0.13),
    0 3px 12px rgba(28, 53, 87, 0.04);
}
.mark {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  margin-bottom: 15px;
}
.mark svg {
  width: 21px;
  height: 21px;
}
.heading {
  font-size: 26px;
  margin-bottom: 5px;
}
.sub {
  font-size: 12px;
  margin-bottom: 23px;
}
.field {
  margin-bottom: 15px;
}
.field label {
  font-size: 11px;
  margin-bottom: 7px;
}
.input-box input {
  height: 43px;
  border-radius: 9px;
  font-size: 13px;
  padding-left: 44px;
}
.field-icon {
  left: 14px;
  width: 17px;
  height: 17px;
}
.eye {
  top: 3px;
  height: 37px;
}
.forgot {
  font-size: 12px;
  margin: 0 0 18px;
}
.submit {
  height: 43px;
  max-width: 100%;
  font-size: 13px;
  border-radius: 9px;
  box-shadow: 0 6px 14px #1764ce24;
}
.apps {
  margin-top: 23px;
  padding-top: 17px;
}
.apps-title {
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 12px;
}
.store-row {
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.store {
  flex: 0 1 auto;
  min-height: 34px;
  min-width: 116px;
  padding: 7px 12px;
  border: 1px solid #dce5ef;
  background: #f8fafd;
  color: #40546d;
  border-radius: 9px;
  gap: 7px;
  box-shadow: none;
}
.store svg {
  width: 16px;
  height: 16px;
}
.store strong {
  font-size: 11px;
  font-weight: 700;
}
.store:hover {
  background: #eaf2ff;
  color: #1d59ac;
  transform: translateY(-1px);
  border-color: #c4d7f4;
}
.foot {
  margin-top: 18px;
  font-size: 10px;
}
@media (max-width: 900px) {
  .panel {
    padding: 24px 16px 35px;
  }
  .form-wrap {
    max-width: 440px;
  }
}
@media (max-width: 450px) {
  .form-wrap {
    padding: 23px 20px;
    border-radius: 17px;
  }
  .heading {
    font-size: 24px;
  }
  .store {
    min-width: 108px;
  }
  .store strong {
    font-size: 11px;
  }
}
@media (max-height: 740px) and (min-width: 901px) {
  .panel {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .form-wrap {
    padding: 22px 30px;
  }
  .mark {
    margin-bottom: 10px;
  }
  .sub {
    margin-bottom: 15px;
  }
  .field {
    margin-bottom: 11px;
  }
  .apps {
    margin-top: 15px;
    padding-top: 12px;
  }
  .foot {
    margin-top: 12px;
  }
}
.panel {
  justify-content: center;
  padding: 42px 36px 92px;
  background: radial-gradient(circle at 78% 18%, #e5eeff, transparent 48%),
    linear-gradient(145deg, #f4f7fc, #eaf0f8);
}
.form-wrap {
  width: min(100%, 530px);
  max-width: 530px;
  padding: clamp(34px, 3.4vw, 52px);
  border-radius: 24px;
  box-shadow: 0 30px 75px rgba(24, 52, 92, 0.16),
    0 5px 18px rgba(24, 52, 92, 0.06);
}
.mark {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}
.heading {
  font-size: 30px;
}
.sub {
  font-size: 13px;
  margin-bottom: 29px;
}
.field {
  margin-bottom: 20px;
}
.field label {
  font-size: 12px;
  margin-bottom: 9px;
}
.input-box input {
  height: 49px;
  font-size: 14px;
}
.eye {
  top: 6px;
}
.forgot {
  margin-bottom: 23px;
}
.submit {
  height: 47px;
  font-size: 14px;
}
.apps {
  margin-top: 29px;
  padding-top: 22px;
}
.apps-title {
  margin-bottom: 14px;
}
.store {
  min-height: 39px;
  padding: 9px 16px;
}
.store svg {
  width: 18px;
  height: 18px;
}
.store strong {
  font-size: 12px;
}
.powered {
  position: absolute;
  right: 32px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #66768c;
  font-size: 12px;
  white-space: nowrap;
}
.powered-label {
  font-size: 11px;
}
.company-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.company-logo[src=""],
.company-logo:not([src]) {
  display: none;
}
.product-name {
  font-weight: 800;
  color: #26476d;
  font-size: 13px;
}
@media (max-width: 900px) {
  .panel {
    padding: 30px 20px 85px;
  }
  .form-wrap {
    max-width: 530px;
  }
  .powered {
    right: 23px;
    bottom: 21px;
  }
}
@media (max-width: 450px) {
  .form-wrap {
    padding: 27px 24px;
  }
  .heading {
    font-size: 26px;
  }
  .powered {
    right: 18px;
    bottom: 17px;
  }
}
@media (max-height: 740px) and (min-width: 901px) {
  .panel {
    padding: 20px 28px 62px;
  }
  .form-wrap {
    padding: 24px 35px;
  }
  .sub {
    margin-bottom: 17px;
  }
  .field {
    margin-bottom: 12px;
  }
  .apps {
    margin-top: 18px;
    padding-top: 14px;
  }
  .powered {
    bottom: 15px;
  }
}
.login-wrapper {
  display: flex;
  width: 100%;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}
.login-wrapper > .visual {
  width: 58%;
  flex: 0 0 58%;
  height: 100%;
  min-height: 0;
}
.login-wrapper > .visual .visual-inner {
  height: 100%;
  min-height: 0;
}
.login-wrapper > .login-section {
  width: 42%;
  flex: 0 0 42%;
  height: 100%;
  min-height: 0;
}
.login-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
}
.footer-company-logo {
  width: 23px;
  height: 23px;
  object-fit: contain;
}
@media (max-width: 1100px) and (min-width: 768px) {
  .login-wrapper > .visual {
    width: 52%;
    flex-basis: 52%;
  }
  .login-wrapper > .login-section {
    width: 48%;
    flex-basis: 48%;
  }
  .login-wrapper > .visual .visual-inner {
    padding: 30px;
  }
}
@media (max-width: 767px) and (orientation: portrait) {
  html,
  body {
    height: auto;
    min-height: 100%;
    overflow: auto;
  }
  .login-wrapper {
    height: auto;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }
  .login-wrapper > .visual {
    width: 100%;
    flex: 0 0 auto;
    height: 210px;
    min-height: 210px;
  }
  .login-wrapper > .visual .visual-inner {
    min-height: 0;
    height: 100%;
    padding: 20px;
  }
  .login-wrapper > .visual .visual-bottom {
    display: none;
  }
  .login-wrapper > .login-section {
    width: 100%;
    flex: 1 0 auto;
    height: auto;
    min-height: 0;
    overflow: visible;
    padding: 22px 18px;
  }
  .login-wrapper > .login-section .login-container {
    max-height: none;
    overflow: visible;
  }
  .login-wrapper > .visual .school-id h1 {
    font-size: 19px;
  }
}
@media (max-width: 900px) and (orientation: landscape) {
  .login-wrapper > .visual {
    width: 45%;
    flex-basis: 45%;
    height: 100%;
    min-height: 0;
  }
  .login-wrapper > .login-section {
    width: 55%;
    flex-basis: 55%;
    height: 100%;
    min-height: 0;
    overflow: auto;
  }
  .login-wrapper > .visual .visual-inner {
    padding: 20px;
  }
  .login-wrapper > .visual .visual-bottom {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scene,
  .glow {
    animation: none !important;
  }
}

.login-error {
  color: #b42318;
  background: #fff0f0;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12px;
  margin: 0 0 12px;
}
.login-success {
  color: #287402;
  background: #e2f3e1;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12px;
  margin: 0 0 12px;
}

.captcha-img {
  height: 50px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.refresh-icon {
  cursor: pointer;
  line-height: 50px;
  font-size: 20px;
  font-weight: bold;
}
