/* Sign-in page. To use another picture, change the file name below (a JPG or PNG in /img works too). */
.lg-page { --lg-image: url("../img/login-bg.svg"); --lg-accent: #1f6fb2; min-height: 100vh; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 34vw);
  background: #0b2439 var(--lg-image) center / cover no-repeat; }

.lg-brand { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(2rem, 5vw, 5rem); color: #fff; }
.lg-brand::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4, 18, 32, .92) 0%, rgba(4, 18, 32, .62) 38%, rgba(4, 18, 32, .08) 75%); }
.lg-brand > * { position: relative; }
.lg-brand h1 { font-size: clamp(1.9rem, 3vw, 3rem); font-weight: 700; line-height: 1.15; margin: 0; max-width: 20ch; text-wrap: balance; }
.lg-ar { font-size: clamp(1.2rem, 1.7vw, 1.7rem); margin-top: .5rem; color: #dce9f4; }
.lg-tag { margin: 1rem 0 0; max-width: 52ch; color: #c5d8e8; }

.lg-side { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 3.5vw, 4rem); background: var(--bs-body-bg); color: var(--bs-body-color); box-shadow: -12px 0 40px rgba(3, 15, 28, .35); }
.lg-form { width: 100%; max-width: 400px; margin: auto; }
.lg-logo { display: block; max-height: 84px; max-width: 220px; margin-bottom: 1.75rem; }
[data-bs-theme="dark"] .lg-logo { background: #fff; border-radius: .5rem; padding: .4rem; }
.lg-form h2 { font-size: 1.75rem; font-weight: 700; margin: 0 0 .35rem; }
.lg-sub { color: var(--bs-secondary-color); margin-bottom: 1.75rem; }
.lg-form .form-label { font-size: .95rem; font-weight: 600; margin-bottom: .35rem; }
.lg-form .form-control { height: 48px; font-size: 1rem; }
.lg-form .input-group-text { background: transparent; min-width: 46px; justify-content: center; color: var(--bs-secondary-color); }
.lg-form .input-group .form-control { border-left: 0; padding-left: 0; }
.lg-form .input-group:focus-within { box-shadow: 0 0 0 .2rem rgba(31, 111, 178, .22); border-radius: var(--bs-border-radius); }
.lg-form .input-group .form-control:focus { box-shadow: none; border-color: var(--bs-border-color); }
.lg-eye { border: 1px solid var(--bs-border-color); border-left: 0; background: transparent; color: var(--bs-secondary-color); min-width: 46px; }
.lg-eye:focus-visible { outline: 2px solid var(--lg-accent); outline-offset: -3px; }
.lg-form .lg-btn { height: 50px; font-size: 1rem; font-weight: 600; background: var(--lg-accent); border-color: var(--lg-accent); color: #fff; }
.lg-btn:hover, .lg-btn:focus, .lg-btn:active { background: #185a92 !important; border-color: #185a92 !important; color: #fff !important; }
.lg-foot { text-align: center; color: var(--bs-secondary-color); font-size: .85rem; padding-top: 1.5rem; }

@media (max-width: 900px) {
  .lg-page { grid-template-columns: 1fr; grid-template-rows: minmax(190px, 30vh) auto; background-size: auto 52vh; background-position: center top; }
  .lg-brand { padding: 1.5rem; }
  .lg-ar { margin-top: .2rem; }
  .lg-tag { display: none; }
  .lg-side { border-radius: 1.25rem 1.25rem 0 0; justify-content: flex-start; padding: 2rem 1.5rem; }
  .lg-form { margin: 0 auto; }
  .lg-logo { max-height: 60px; margin-bottom: 1.25rem; }
}
.lg-err ul { list-style: none; margin: 0; padding: 0; }
