:root {
  --blue: #1769e8;
  --navy: #102c78;
  --text: #26334d;
  --muted: #71809d;
  --border: #dfe6f2
}

* {
  box-sizing: border-box
}

html, body {
  min-height: 100%
}

body {
  margin: 0;
  font-family: Inter, sans-serif;
  color: var(--text);
  background: #eef3f9
}

.login-page {
  min-height: 100vh;
  display: flex;
  overflow: hidden;
  background: #fff
}

.hero {
  position: relative;
  width: 100%;
  /*min-height: 100vh;*/
  /*overflow: hidden;
  background: url("../Images/login-bg.png") left center/cover no-repeat*/
}

  .hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,28,82,.12), transparent 60%);
    pointer-events: none
  }

.hero-brand {
  position: absolute;
  top: 35px;
  left: 45px;
  z-index: 2;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #ffffff22;
  border: 1px solid #ffffff55;
  backdrop-filter: blur(10px);
  font-size: 22px
}

.brand-text strong {
  display: block;
  font-size: 23px;
  line-height: 1
}

.brand-text span {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 600
}

.hero-content {
  position: absolute;
  left: 48px;
  bottom: 55px;
  max-width: 570px;
  color: #fff;
  z-index: 2
}

.badge-glass {
  display: inline-flex;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid #ffffff44;
  background: #ffffff18;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  align-items: center;
}

.hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -2px
}

  .hero h1 span {
    color: #78b2ff
  }

.hero p {
  margin: 0;
  max-width: 520px;
  font-size: 14px;
  line-height: 1.75;
  color: #ffffffd9
}

.stats {
  display: flex;
  gap: 10px;
  margin-top: 25px
}

.stat {
  min-width: 115px;
  padding: 11px 14px;
  border-radius: 14px;
  background: #ffffff18;
  border: 1px solid #ffffff2e;
  backdrop-filter: blur(9px)
}

  .stat strong {
    display: block;
    font-size: 16px
  }

  .stat span {
    font-size: 10px;
    color: #ffffffb8
  }

.auth-area {
  position: relative;
  width: 42%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 6%;
  background: transparent; /* #f8f9fd */
}

.auth-card {
  /*width: min(100%, 800px);*/
  width: 100%;
  min-width: 450px;
  padding: 34px;
  border: 1px solid #dce4f1;
  border-radius: 26px;
  background: #fffffff2;
  box-shadow: 0 24px 70px #1630601f
}

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--navy)
}

.auth-logo-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-right: 10px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #1b6fff, #0d45b8);
  box-shadow: 0 10px 25px #1769e838
}

.auth-logo-name {
  font-size: 22px;
  font-weight: 800
}

  .auth-logo-name span {
    color: var(--blue)
  }

.welcome {
  text-align: center
}

  .welcome h2 {
    margin: 0;
    color: var(--navy);
    font-size: 28px;
    font-weight: 800
  }

  .welcome p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 13px
  }

.title-line {
  width: 56px;
  height: 3px;
  margin: 18px auto 27px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--blue), #4ba0ff)
}

.form-label {
  color: #42516d;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 7px
}

.input-modern {
  position: relative;
  margin-bottom: 17px
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--blue)
}

.form-control-modern {
  width: 100%;
  height: 56px;
  padding: 0 48px;
  border: 1px solid var(--border);
  border-radius: 13px;
  outline: none;
  color: var(--text);
  background: #fff;
  font-size: 14px;
  transition: .2s
}

  .form-control-modern:focus {
    border-color: #75a8fa;
    box-shadow: 0 0 0 4px #1769e817
  }

/*.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #8c99af;
  z-index: 2
}*/

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 3px 0 20px
}

.remember {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #68758d;
  font-size: 12px
}

  .remember input {
    accent-color: var(--blue)
  }

a {
  cursor: pointer
}

.forgot-link, .signup-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  font-size: 12px
}

.btn-signin {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(100deg, #123da6, #1878f2);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 25px #1769e838;
  transition: all 0.2s ease;
}

  .btn-signin:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px #1769e847
  }

.arrow {
  margin-left: 10px
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  color: #9ca8bb;
  font-size: 12px
}

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

.btn-signup {
  width: 100%;
  height: 52px;
  border: 1px solid #d4ddea;
  border-radius: 12px;
  background: #fff;
  color: #1746a3;
  font-size: 13px;
  font-weight: 700;
  line-height: 38px;
}

  .btn-signup:hover {
    background: #f6f9ff;
    border-color: #8db6f9
  }

  .btn-signup i {
    color: var(--blue);
    margin-right: 8px
  }

.security-note {
  text-align: center;
  margin-top: 20px;
  color: #9aa5b8;
  font-size: 10px
}

  .security-note i {
    color: #20a56b;
    margin-right: 5px
  }

.is-invalid {
  border-color: #dc3545 !important
}

.error {
  display: none;
  color: #dc3545;
  font-size: 11px;
  margin-top: -10px;
  margin-bottom: 10px
}

.show-error {
  display: block
}

@media(max-width:991.98px) {
  .login-page {
    display: block;
    overflow: visible
  }

  .hero {
    width: 100%;
    /*min-height: 390px;
    height: 46vh*/
  }

  .hero-brand {
    top: 25px;
    left: 25px
  }

  .hero-content {
    left: 25px;
    right: 25px;
    bottom: 30px
  }

  .auth-area {
    width: 100%;
    min-height: 54vh;
    padding: 35px 20px 50px
  }
}

@media(max-width:575.98px) {
  /*.hero {
    min-height: 330px
  }*/

  .hero-content {
    left: 18px;
    bottom: 20px
  }

  .hero h1 {
    font-size: 30px;
    letter-spacing: -1px
  }

  .hero p {
    display: none
  }

  .stats {
    margin-top: 15px
  }

  .stat {
    min-width: 88px;
    padding: 8px 10px
  }

    .stat strong {
      font-size: 13px
    }

    .stat span {
      font-size: 8px
    }

  .auth-area {
    padding: 25px 15px 40px
  }

  .auth-card {
    padding: 25px 20px;
    border-radius: 20px
  }
}

.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #8c99af;
  z-index: 5;
  cursor: pointer;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

  .password-toggle:hover {
    color: var(--main-color);
  }

  .password-toggle:focus {
    outline: none;
    box-shadow: none;
  }

  .password-toggle i {
    font-size: 16px;
    transition: all 0.2s ease;
  }