:root {
  --navy-950: #0a0f1e;
  --navy-900: #0d1526;
  --navy-800: #131d33;
  --navy-700: #1b2740;
  --blue-500: #2f6bff;
  --blue-400: #2f8dff;
  --cyan-400: #22c1e8;
  --text-white: #ffffff;
  --text-muted: #9aa7c2;
  --text-muted-soft: #b8c2d9;

  --slate-900: #314158;
  --slate-600: #556077;
  --slate-500: #7b8598;
  --slate-400: #a4acbc;
  --slate-border: #e3e7f0;
  --bg-white: #ffffff;
  --bg-soft: #f7f9fc;

  --amber-bg: #fdf3d9;
  --amber-border: #f4e1a4;
  --amber-icon: #d9932b;
  --amber-text: #7a5b12;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --font-display: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.btn--secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border: none;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  background: transparent;
  color: #314158;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  margin-bottom: 24px;
  text-decoration: none;
  border: 2px solid #25afed;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #3141584a;
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #2a2a2a;
  font-size: 14px;
  font-weight: 500;
  margin: 1.4rem 0;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

body {
  font-family: var(--font-display);
  background: var(--bg-white);
  color: var(--slate-900);
  -webkit-font-smoothing: antialiased;
}

.login-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.hint {
  font-size: 13px;
  color: #556077;
  font-weight: 500;
  margin-top: 11px;
  margin-bottom: 5px;
}

.left-panel {
  position: relative;
  background: radial-gradient(circle at 30% 20%, var(--navy-800) 0%, var(--navy-950) 65%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 48px;
}

.left-panel__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 300px at 20% 15%, rgba(47, 109, 255, 0.18), transparent 70%),
    radial-gradient(400px 250px at 80% 85%, rgba(34, 193, 232, 0.12), transparent 70%);
  pointer-events: none;
}

.left-panel__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 300px;
}

.brand-logo {
  margin-bottom: 25px;
}

.brand-logo__box img {
  width: 81%;
}

.brand-logo__box {
  width: 109px;
  height: 109px;
  border-radius: 22px;
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: auto;
}

.brand-logo__box i {
  font-size: 26px;
  color: var(--blue-500);
}

.brand-logo__box span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--navy-900);
  text-align: center;
  line-height: 1.2;
}

.brand-logo__box span small {
  font-size: 9px;
  font-weight: 600;
  color: var(--slate-500);
  letter-spacing: 2px;
}

.brand-title {
  font-size: 44px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 9px;
  text-align: center;
  letter-spacing: .5px;
}

.brand-divider {
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
  margin-bottom: 22px;
  margin: 0 auto 22px;
}

.brand-divider--dark {
  margin-bottom: 20px;
  text-align: left;
  margin-right: auto;
  margin-left: 0;
}

.brand-subtitle {
  font-size: 16px;
  color: var(--text-muted-soft);
  font-weight: 500;
  margin-bottom: 38px;
  text-align: center;
  letter-spacing: .2px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-bottom: 44px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
  margin-left: 2rem;
}

.feature-item__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #123f70bd;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item__icon i {
  font-size: 22px;
  color: var(--blue-400);
}

.feature-item__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.feature-item__text strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-white);
}

.feature-item__text small {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: .2px;
}

.left-panel__hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 24px;
}

.left-panel__footer {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--slate-500);
  text-align: center;
}


.right-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
  padding: 48px 32px;
}

.login-card {
  width: 100%;
  max-width: 440px;
}

.login-card__header {
  margin-bottom: 36px;
}

.login-card__title {
  font-size: 40px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
}

.login-card__subtitle {
  font-size: 15px;
  color: var(--slate-600);
  font-weight: 500;
}

.login-form {
  display: flex;
  flex-direction: column;
}

.form-field {
  margin-bottom: 19px;
}

.form-field label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--slate-900);
    margin-bottom: 10px;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border: 1.5px solid var(--slate-border);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: rgb(0 0 0 / 5%) 0px 4px 6px -1px, rgb(0 0 0 / 6%) 0px 2px 4px -1px;
}

.input-wrap:focus-within {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(47, 109, 255, 0.12);
}

.input-wrap__icon {
  font-size: 19px;
  color: var(--slate-400);
  margin-left: 18px;
}

.input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--slate-900);
  padding: 16px 14px;
}

.input-wrap input::placeholder {
  color: var(--slate-400);
}

.input-wrap__toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--slate-400);
  font-size: 19px;
  padding: 0 18px;
  display: flex;
  align-items: center;
}

.input-wrap__toggle:hover {
  color: var(--slate-600);
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 28px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox__box {
  width: 19px;
  height: 19px;
  border: 1.5px solid #b8b8b8;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.checkbox input:checked+.checkbox__box {
  background: var(--blue-500);
  border-color: var(--blue-500);
}

.checkbox input:checked+.checkbox__box::after {
  content: '✓';
  font-family: 'boxicons';
  font-size: 13px;
  color: var(--bg-white);
  padding-bottom: 2px;
}

.checkbox__label {
  font-size: 14px;
  color: var(--slate-600);
  font-weight: 500;
}

.link {
  font-size: 14px;
  font-weight: 700;
  color: #2e73fd;
  text-decoration: none;
  letter-spacing: 0;
}

.link:hover {
  text-decoration: underline;
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border: none;
  border-radius: var(--radius-md);
  padding: 17px 20px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
  color: var(--text-white);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(47, 109, 255, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  margin-bottom: 24px;
}

.btn-submit i {
  font-size: 19px;
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(47, 109, 255, 0.38);
}

.btn-submit:active {
  transform: translateY(0);
}

.notice {
  display: flex;
  gap: 10px;
  background: #fff4e9;
  border: 1px solid #fb9f16a3;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 28px;
}

.notice__icon {
  flex-shrink: 0;
  font-size: 20px;
  color: #fb9f16;
  margin-top: 2px;
}

.notice__text strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.notice__text p {
  font-size: 13px;
  line-height: 1.5;
  color: #314158;
  font-weight: 500;
}

.login-card__footer {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #6f7071;
}

.alert.alert-danger {
  background: #ffdede;
  color: #d8261a;
  padding: 13px 10px;
  font-weight: 500;
  border: 1px solid #d8261a;
  border-radius: 5px;
  margin: 21px auto 20px;
  width: 100%;
  font-size: 14px;
}

.alert.alert-success {
  background: #e6ffea;
  color: #28A745;
  font-weight: 500;
  padding: 11px 9px;
  border: 1px solid #28A745;
  border-radius: 5px;
  margin: 21px auto 20px;
  width: 100%;
  font-size: 14px;
  line-height: 19px;
}

input:-internal-autofill-selected {
  background-color: transparent;
}

.error-msg {
  color: red;
  letter-spacing: 0;
  display: flex;
  margin-top: 7px;
  font-size: 14px;
  font-weight: 500;
}

.btn-submit span{
  display: flex;
    align-items: center;
    gap: 9px;
}

@media (max-width: 1024px) {
  .brand-title {
    font-size: 40px;
  }

  .login-card__title {
    font-size: 34px;
  }
}

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

  .left-panel {
    padding: 48px 32px;
  }

  .left-panel__content {
    max-width: 480px;
  }

  .feature-list {
    gap: 20px;
    margin-bottom: 32px;
  }
}

@media (max-width: 560px) {
  .left-panel {
    padding: 40px 24px;
  }

  .right-panel {
    padding: 40px 20px;
  }

  .brand-title {
    font-size: 34px;
  }

  .brand-logo__box {
    width: 80px;
    height: 80px;
  }

  .login-card__title {
    font-size: 30px;
  }

  .form-row {
    flex-wrap: wrap;
    gap: 12px;
  }

  .btn-submit {
    font-size: 15px;
    padding: 15px 16px;
  }
}

@media (max-width: 400px) {
  .brand-title {
    font-size: 28px;
  }

  .feature-item__text strong {
    font-size: 14.5px;
  }

  .feature-item__text small {
    font-size: 12.5px;
  }
}