/* =================================================================aya
   BANK MINI DIGITAL - MODERN STYLESHEET
   =================================================================== */

:root {
  --navy: #0B2447;
  --navy-2: #19376D;
  --gold: #D4AF37;
  --gold-hover: #c29f30;
  --bg: #F8FAFC;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
}

body {
  background: var(--bg);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  overflow-x: hidden;
}

/* --- Utility Soft Backgrounds --- */
.bg-primary-soft { background-color: rgba(11, 36, 71, 0.08); }
.bg-success-soft { background-color: rgba(25, 135, 84, 0.08); }
.bg-warning-soft { background-color: rgba(212, 175, 55, 0.12); }
.bg-info-soft    { background-color: rgba(13, 202, 240, 0.08); }
.bg-soft         { background-color: #F1F5F9; }

/* --- Navbar Landing Page --- */
.navbar-landing {
  background: transparent;
  transition: all 0.3s ease;
  padding: 1.25rem 0;
}
.navbar-landing.navbar-scrolled {
  background: rgba(11, 36, 71, 0.95) !important;
  backdrop-filter: blur(10px);
  padding: 0.85rem 0;
}
.brand-text {
  font-weight: 800;
  color: #ffffff;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.nav-link-custom {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link-custom:hover {
  color: var(--gold) !important;
}

/* --- Hero Section --- */
.hero-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding-top: 2rem;
}
.hero-glow {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  opacity: 0.25;
}
.hero-glow-1 { top: -100px; left: -100px; background: var(--gold); }
.hero-glow-2 { bottom: -100px; right: -100px; background: #3b82f6; }

.container.position-relative { z-index: 2; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
}

.hero-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.6;
}

/* --- Buttons --- */
.btn-gold {
  background-color: var(--gold);
  border-color: var(--gold);
  color: #0B2447;
  font-weight: 700;
  transition: all 0.2s ease-in-out;
}
.btn-gold:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  color: #0B2447;
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 600;
  backdrop-filter: blur(6px);
  transition: all 0.2s ease-in-out;
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

/* --- Hero Stats --- */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
}
.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

/* --- Bank ATM Card Widget --- */
.hero-card-wrap {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bank-card {
  width: 340px;
  height: 210px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 2;
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
}
.bank-card:hover {
  transform: rotate(0deg) scale(1.02);
}
.bank-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chip {
  width: 42px;
  height: 32px;
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
  border-radius: 4px;
}
.bank-card-number {
  font-family: monospace;
  font-size: 1.15rem;
  letter-spacing: 0.15em;
  color: #e2e8f0;
}
.bank-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.bank-card-label {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}
.bank-card-name {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}
.bank-card-logo {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--gold);
}

/* --- Floating Cards --- */
.float-card {
  position: absolute;
  background: #ffffff;
  color: var(--text-main);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 3;
  animation: floatAnim 4s ease-in-out infinite;
}
.float-card-1 {
  top: 40px;
  left: 20px;
}
.float-card-2 {
  bottom: 50px;
  right: 10px;
  animation-delay: 2s;
}
.float-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}
.float-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.float-value {
  font-size: 0.85rem;
  font-weight: 700;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
}
.hero-wave svg {
  display: block;
  width: 100%;
  height: 50px;
}

/* --- Sections General --- */
.section-pad {
  padding: 5rem 0;
}
.section-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--navy-2);
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Service & Feature Cards --- */
.service-card {
  background: #ffffff;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color) !important;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(11, 36, 71, 0.08) !important;
  border-color: transparent !important;
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.feature-card {
  transition: all 0.2s ease;
  border: 1px solid var(--border-color) !important;
}
.feature-card:hover {
  border-color: var(--navy-2) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.05) !important;
}
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.5rem;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

/* --- Contact Icons --- */
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1040;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
}

/* --- Dashboard & Sidebar Styles (From Source 2) --- */
.app-navbar { background: var(--navy); }
.app-sidebar {
  width: 240px; 
  min-height: calc(100vh - 56px);
  background: var(--navy-2); 
  padding: .75rem 0;
}
.app-sidebar .nav-link {
  color: #cfd8e6; 
  padding: .65rem 1.25rem; 
  border-radius: 0;
  font-size: .93rem;
  transition: background 0.2s;
}
.app-sidebar .nav-link:hover, .app-sidebar .nav-link.active {
  background: rgba(255,255,255,.08); 
  color: #fff;
}
.app-main { min-height: calc(100vh - 56px); }

@media (max-width: 991.98px) {
  .app-sidebar { 
    position: fixed; 
    left: -260px; 
    top: 56px; 
    z-index: 1030; 
    transition: left .2s; 
  }
  .app-sidebar.show { left: 0; }
}

.kpi-card { border: 0; border-radius: .75rem; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.kpi-card .kpi-label { font-size: .8rem; color: #6c757d; text-transform: uppercase; letter-spacing: .04em; }
.kpi-card .kpi-value { font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.kpi-card .kpi-icon {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: .5rem; background: rgba(11,36,71,.08); color: var(--navy);
}
/* --- Login Page Styles --- */
body.login-page {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.login-wrapper {
  width: 100%;
  max-width: 1050px;
  min-height: 580px;
  background: #ffffff;
  border-radius: 1.25rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  overflow: hidden;
  margin: 1.5rem;
}
.login-illustration {
  flex: 1;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #ffffff;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.illustration-content h2 {
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.02em;
}
.illustration-content .lead {
  color: var(--gold);
  font-weight: 600;
  font-size: 1rem;
}
.illustration-icon {
  font-size: 3.5rem;
  color: var(--gold);
}
.feature-bullet-list li {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}
.login-form-container {
  flex: 1;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}
.login-card {
  width: 100%;
  max-width: 380px;
}
@media (max-width: 991.98px) {
  .login-wrapper {
    max-width: 480px;
  }
}