body {
  min-height: 100vh;
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f1f2f4;
  color: #111827;
}
.container-fluid {
  padding-left: 0;
  padding-right: 0;
}
.login-column {
  background: #efeff1;
}
.panel-wrap {
  max-width: 640px;
  margin: 0 auto;
}
.login-panel {
  padding: 48px 44px;
  background: transparent;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}
.text-muted {
  line-height: 1.55;
}
.alert {
  border-radius: 18px;
}
.brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.brand-logo {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #d1d5db;
}

@media (max-width: 767.98px) {
  .login-panel { padding: 32px 20px; }
  h2 { font-size: clamp(2rem, 9vw, 2.7rem); }
}

@media (max-width: 380px) {
  .login-panel { padding: 24px 14px; }
  .brand-logo { width: 44px; height: 44px; }
  .brand-text strong { font-size: 1rem; }
  .brand-text span { font-size: .8rem; }
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text strong {
  font-size: 1.15rem;
  color: #b91c1c;
}
.brand-text span {
  font-size: .92rem;
  font-weight: 600;
  color: #1f2937;
}
h2 {
  font-size: 3rem;
  color: #1f2a44;
}
.form-label {
  color: #1f2937;
  font-weight: 600;
  margin-bottom: .55rem;
  font-size: 1.05rem;
}
.form-control {
  border-radius: 999px;
  border: 1.5px solid #9ca3af;
  background: transparent;
  padding: 13px 20px;
  min-height: 56px;
}
.form-control:focus {
  border-color: #374151;
  box-shadow: none;
  background: #fff;
}
.input-group-text {
  border-radius: 0 999px 999px 0;
  border: 1.5px solid #9ca3af;
  border-left: 0;
  background: transparent !important;
  padding-right: 18px;
}
#loginBtn {
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 1.2rem;
  background: #2f3242;
  border-color: #2f3242;
}
.form-check {
  padding-left: 1.8rem;
}
.form-check-input {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: .2rem;
}
.form-check-label {
  font-size: 1.05rem;
}
.forgot-link {
  color: #334155;
  font-size: 1.05rem;
  text-underline-offset: 3px;
}
.security-note {
  font-size: .85rem;
  color: #6b7280;
}
.captcha-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.captcha-image {
  display: block;
  width: 220px;
  max-width: 100%;
  height: 64px;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
}
.captcha-refresh {
  border-radius: 999px;
  min-height: 44px;
  padding: 0 16px;
  font-weight: 600;
}
.form-text {
  padding-left: 6px;
}
.hero-image {
  position: relative;
  min-height: 100vh;
  background: url("../assets/deorohiys.png") center / cover no-repeat;
}
.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(241, 242, 244, .95) 0%,
    rgba(241, 242, 244, .45) 26%,
    rgba(241, 242, 244, .10) 46%,
    rgba(241, 242, 244, 0) 58%
  );
}
@media (max-width: 768px) {
  .container-fluid,
  .container-fluid > .row,
  .login-column,
  .panel-wrap {
    background: transparent !important;
  }

  body {
    position: relative;
    isolation: isolate;
    background: #eee9eb;
  }
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: url("../assets/deorohiys.png") center / cover no-repeat;
    opacity: .12;
  }
  .login-column {
    min-height: 100vh;
    align-items: flex-start !important;
    padding: 18px 0;
  }
  .panel-wrap {
    max-width: 100%;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .login-panel {
    padding: 28px 20px;
    background: rgba(255, 255, 255, .22) !important;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 28px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .04);
  }
  .hero-image { display: none; }
  .brand-logo { height: 44px; width: 44px; }
  .brand-row {
    margin-bottom: 22px;
  }
  h2 {
    font-size: 2.2rem;
    line-height: 1.05;
  }
  .text-muted.mb-5 {
    margin-bottom: 1.75rem !important;
  }
  .form-label,
  .form-check-label {
    font-size: 1rem;
  }
  .form-control,
  .input-group-text,
  #loginBtn {
    min-height: 52px;
  }
  #loginBtn {
    font-size: 1.08rem;
  }
  .d-flex.justify-content-between.mb-4 {
    display: block !important;
    margin-bottom: 1.25rem !important;
  }
  .form-check {
    padding-left: 1.9rem;
  }
  .captcha-box {
    align-items: stretch;
  }
  .captcha-image,
  .captcha-refresh {
    width: 100%;
  }
  .captcha-refresh {
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .login-column {
    padding: 10px 0;
  }
  .panel-wrap {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .login-panel {
    padding: 22px 16px;
    border-radius: 22px;
  }
  .brand-row {
    gap: 10px;
  }
  .brand-logo {
    height: 40px;
    width: 40px;
  }
  .brand-text strong {
    font-size: 1rem;
  }
  .brand-text span {
    font-size: .84rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  .form-control {
    padding: 12px 16px;
  }
  .captcha-image {
    height: 60px;
  }
  .security-note {
    font-size: .8rem;
  }
}
