@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

/* South Credit Bank — public site & auth pages (regular banking look) */
.scb-banking,
.scb-banking * {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.scb-banking {
  background: #f0f3f6;
  color: #1a2b3c;
}

/* Header — clean white bar */
.scb-banking .header,
.scb-banking .header__bottom {
  background: #fff !important;
  box-shadow: 0 1px 0 #d8dee6;
}

.scb-banking .header .main-menu a,
.scb-banking .navbar-nav a {
  color: #1a2b3c !important;
  font-weight: 500;
  font-size: 14px;
}

.scb-banking .header .main-menu a:hover,
.scb-banking .navbar-nav a.active {
  color: #005eb8 !important;
}

.scb-banking .btn--base,
.scb-banking .header-base-button {
  background: #005eb8 !important;
  border-color: #005eb8 !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}

/* Footer */
.scb-banking .footer-area,
.scb-banking footer {
  background: #0a2f5b !important;
  color: rgba(255, 255, 255, 0.85);
}

/* Public login — split US banking layout */
.scb-auth {
  display: flex;
  min-height: 100vh;
  background: #f0f3f6;
}

.scb-auth__hero {
  flex: 1 1 48%;
  background: linear-gradient(145deg, #0a2f5b 0%, #005eb8 55%, #0077c8 100%);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 48px 56px;
  position: relative;
  overflow: hidden;
}

.scb-auth__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.scb-auth__hero-inner {
  position: relative;
  z-index: 1;
  max-width: 480px;
}

.scb-auth__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  margin-bottom: 32px;
}

.scb-auth__brand img {
  max-height: 44px;
  filter: brightness(0) invert(1);
}

.scb-auth__brand span {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.scb-auth__hero-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.scb-auth__hero-text {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 28px;
}

.scb-auth__features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.scb-auth__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.92);
}

.scb-auth__features i {
  font-size: 20px;
  opacity: 0.9;
}

.scb-auth__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.scb-auth__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.scb-auth__home-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.scb-auth__home-link:hover {
  color: #fff;
}

.scb-auth__panel {
  flex: 1 1 52%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.scb-auth__card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid #d8dee6;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 8px 32px rgba(10, 47, 91, 0.1);
}

.scb-auth__card-head {
  text-align: center;
  margin-bottom: 28px;
}

.scb-auth__card-logo {
  max-height: 48px;
  margin-bottom: 16px;
}

.scb-auth__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #0a2f5b;
  margin-bottom: 6px;
}

.scb-auth__card-sub {
  font-size: 14px;
  color: #5c6b7a;
  margin: 0;
}

.scb-auth__form .form-group {
  margin-bottom: 18px;
}

.scb-auth__form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.scb-auth__forgot {
  font-size: 13px;
  font-weight: 600;
  color: #005eb8;
  text-decoration: none;
}

.scb-auth__submit {
  padding: 13px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.scb-auth__register {
  text-align: center;
  margin: 24px 0 0;
  font-size: 14px;
  color: #5c6b7a;
}

.scb-auth__register a {
  color: #005eb8;
  font-weight: 600;
  text-decoration: none;
}

.scb-auth__legal {
  max-width: 420px;
  text-align: center;
  font-size: 11px;
  color: #8a96a3;
  margin-top: 20px;
  line-height: 1.5;
}

/* Shared form styles on auth & register */
.scb-banking .form--control,
.scb-banking .form-control {
  border: 1px solid #d8dee6;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
}

.scb-banking .form--control:focus,
.scb-banking .form-control:focus {
  border-color: #005eb8;
  box-shadow: 0 0 0 3px rgba(0, 94, 184, 0.12);
}

.scb-banking .form--label,
.scb-banking .form-label {
  font-size: 13px;
  font-weight: 600;
  color: #1a2b3c;
}

.scb-banking .btn--base.w-100 {
  padding: 12px;
  font-size: 15px;
}

@media (max-width: 991px) {
  .scb-auth {
    flex-direction: column;
  }

  .scb-auth__hero {
    flex: none;
    padding: 36px 28px;
  }

  .scb-auth__hero-title {
    font-size: 26px;
  }

  .scb-auth__features {
    margin-bottom: 20px;
  }

  .scb-auth__panel {
    padding: 32px 20px 40px;
  }
}

/* Legacy account layout fallback */
.scb-banking .account {
  min-height: 100vh;
  background: #f0f3f6;
}

/* Indigo auth (split layout) */
.scb-banking .account-section {
  display: flex !important;
  min-height: 100vh;
  background: #f0f3f6 !important;
  background-image: none !important;
}

.scb-banking .account-section-left {
  flex: 1 1 48%;
  background: linear-gradient(145deg, #0a2f5b 0%, #005eb8 100%) !important;
  background-image: none !important;
  display: flex !important;
  align-items: center;
  padding: 48px;
}

.scb-banking .account-section-right {
  flex: 1 1 52%;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  padding: 40px 24px;
  background: #f0f3f6 !important;
}

.scb-banking .account-section-right .middle {
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
  background: #fff;
  border: 1px solid #d8dee6;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(10, 47, 91, 0.08);
}

.scb-banking .account-section-right .middle .text-white {
  color: #5c6b7a !important;
}

.scb-banking .account-section-right .middle .text-white a {
  color: #005eb8 !important;
}

.scb-banking .login-area,
.scb-banking .registration-area {
  background: #f0f3f6 !important;
  padding: 40px 0;
}

.scb-banking .login-area .card,
.scb-banking .registration-area .card,
.scb-banking .custom--card {
  border-radius: 16px !important;
  border: 1px solid #d8dee6 !important;
  box-shadow: 0 4px 24px rgba(10, 47, 91, 0.06) !important;
}

/* Public marketing sections — calmer, less flashy */
.scb-banking .banner-section,
.scb-banking .hero {
  background: linear-gradient(135deg, #0a2f5b 0%, #005eb8 100%) !important;
}

.scb-banking .inner-hero {
  background: #0a2f5b !important;
  min-height: 180px;
}

.scb-banking .inner-hero .page-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.scb-banking .pt-100.pb-100.bg_img {
  background: #f0f3f6 !important;
  background-image: none !important;
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}

/* Tables & cards on public user pages using app layout */
.scb-banking .custom--card,
.scb-banking .card {
  border-radius: 12px;
  border: 1px solid #d8dee6;
  box-shadow: 0 2px 12px rgba(10, 47, 91, 0.05);
}

.scb-banking .text--base {
  color: #005eb8 !important;
}

.scb-banking .sidebar-logo .vb-bank-wordmark {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-top: 10px;
  letter-spacing: 0.01em;
  text-align: center;
}
