:root {
  --brand-blue: #1c6cab;
  /* Seekeel blue */
  --brand-green: #4caf50;
  /* Seekeel green */
  --brand-dark: #0e3a63;
  --brand-text: #0f1b2d;
  --card-radius: 18px;
}

/* Page shell */
.auth-shell {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 32px);
}

/* Main card (2 columns on md+, stacked on small) */
.auth-card {
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #fff;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.08),
    0 6px 20px rgba(16, 24, 40, 0.06);
}

@media (max-width: 992px) {
  .auth-card {
    grid-template-columns: 1fr;
  }
}

/* Left hero (blue→green gradient, subtle shapes) */
.auth-hero {
  position: relative;
  isolation: isolate;
  background: linear-gradient(
    135deg,
    var(--brand-blue) 0%,
    #2f86c6 40%,
    var(--brand-green) 100%
  );
  color: #fff;
  padding: clamp(28px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.auth-hero .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.auth-form img {
  height: clamp(32px, 6vw, 44px);
  object-fit: contain;
  margin: 20px 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.auth-hero h1 {
  font-weight: 800;
  letter-spacing: 0.2px;
  margin: 24px 0 8px;
}

.auth-hero p {
  opacity: 0.95;
  margin: 0;
  max-width: 46ch;
}

/* Decorative lines/dots like the reference */
.auth-hero:before,
.auth-hero:after {
  content: "";
  position: absolute;
  inset: auto auto 6% 6%;
  width: 160px;
  height: 160px;
  z-index: -1;
  background: radial-gradient(
        transparent 58%,
        rgba(255, 255, 255, 0.22) 60% 62%,
        transparent 64%
      )
      0 0/22px 22px repeat,
    radial-gradient(
        transparent 58%,
        rgba(255, 255, 255, 0.22) 60% 62%,
        transparent 64%
      )
      11px 11px/22px 22px repeat;
  opacity: 0.35;
  filter: blur(0.2px);
}

.auth-hero:after {
  inset: 8% 6% auto auto;
  width: 220px;
  height: 220px;
  opacity: 0.25;
  background: radial-gradient(
      closest-side,
      rgba(255, 255, 255, 0.35),
      transparent 70%
    )
    center/100% 100% no-repeat;
  border-radius: 20px;
}

/* Right side form */
.auth-form {
  padding: clamp(24px, 4.5vw, 48px);
  display: grid;
  align-content: center;
}

.auth-title {
  font-weight: 700;
  color: var(--brand-text);
  margin-bottom: 18px;
}

.text-muted-sm {
  color: #667085;
  font-size: 0.95rem;
}

/* Inputs with left icons (Bootstrap input-group merge friendly) */
.input-group-text {
  background: #f3f6fb;
  border-color: #e5e9f2;
  color: #5b6b88;
}

.form-control {
  border-color: #e5e9f2;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.form-control:focus {
  border-color: rgba(28, 108, 171, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(28, 108, 171, 0.15);
}

/* Primary button on brand gradient */
.btn-brand {
  border: 0;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  transition: transform 0.06s ease, filter 0.2s ease;
}

.btn-brand:hover {
  filter: brightness(1.03);
}

.btn-brand:active {
  transform: translateY(1px) scale(0.99);
}

/* Minor links */
.auth-links a {
  color: var(--brand-blue);
}

.auth-links a:hover {
  text-decoration: underline;
}

/* Make the whole card breathe on small screens */
@media (max-width: 576px) {
  .auth-form {
    padding: 20px;
  }

  .auth-hero {
    padding: 24px;
  }
}
