/* Sign-in page — colours taken from the logo (green / blue / amber) */

:root {
  --vai-green: #128a45;
  --vai-blue: #2a6ff5;
  --vai-amber: #fbbd0b;
  --vai-ink: #0f172a;
}

body {
  min-height: 100vh;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: #eef2f7;
  color: var(--vai-ink);
}

.login-shell {
  display: flex;
  min-height: 100vh;
}

/* ---- Brand panel ---- */

.brand-panel {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: 50%;
  padding: 3rem;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(255, 255, 255, 0.18),
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(255, 255, 255, 0.12),
      transparent 40%
    ),
    linear-gradient(150deg, var(--vai-green) 0%, #0a5f8a 55%, #10233f 100%);
  color: #fff;
}

.brand-panel::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -160px;
  bottom: -190px;
  border-radius: 50%;
  border: 60px solid rgba(251, 189, 11, 0.22);
}

.brand-inner {
  position: relative;
  z-index: 1;
  max-width: 460px;
  color: #fff;
  text-align: center;
}

.brand-logo {
  width: 128px;
  height: 128px;
  object-fit: contain;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.35));
}

.brand-logo-sm {
  width: 52px;
  height: 52px;
  margin-bottom: 0;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
}

.brand-name {
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.brand-tagline {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2.5rem;
}

.brand-points {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 380px;
  display: grid;
  gap: 1.1rem;
  text-align: left;
}

.brand-points li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.9);
}

.brand-points i {
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* ---- Form panel ---- */

.form-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

.login-card {
  width: 100%;
  max-width: 420px;
  padding: 2.5rem;
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.login-card-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.brand-name-sm {
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1.2;
}

.login-heading {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.login-sub {
  color: #64748b;
  margin-bottom: 1.75rem;
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
}

.input-group-text {
  background: #f1f5f9;
  border-color: #dbe3ee;
  color: #64748b;
}

.form-control:focus,
.input-group-text:focus-within {
  border-color: var(--vai-blue);
  box-shadow: 0 0 0 0.2rem rgba(42, 111, 245, 0.15);
}

.btn-primary {
  --bs-btn-bg: var(--vai-blue);
  --bs-btn-border-color: var(--vai-blue);
  --bs-btn-hover-bg: #1c5dd6;
  --bs-btn-hover-border-color: #1c5dd6;
  --bs-btn-active-bg: #1749ab;
  --bs-btn-active-border-color: #1749ab;
}

.login-foot {
  margin: 1.75rem 0 0;
  text-align: center;
  font-size: 0.83rem;
  color: #94a3b8;
}

/* ---- Responsive ---- */

@media (min-width: 992px) {
  .brand-panel {
    display: flex;
  }
}

@media (max-width: 991.98px) {
  .login-card {
    padding: 1.75rem 1.35rem;
  }
  .brand-name {
    font-size: 1.85rem;
  }
}

@media (max-width: 575.98px) {
  .form-panel {
    padding: 1.25rem 0.9rem;
  }
  .login-card {
    border-radius: 1rem;
  }
  .brand-logo-sm {
    width: 44px;
    height: 44px;
  }
  .brand-name-sm {
    font-size: 0.95rem;
  }
}
