@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Inter:wght@300;400;500;600;700;800;900&family=Manrope:wght@300;400;500;600;700;800&family=Mulish:wght@300;400;500;600;700;800&family=Roboto+Condensed:wght@300;400;700&family=Roboto:wght@300;400;500;700;900&display=swap');

/* ===================================================
   FONTS REGISTRATION & ALIASES
   =================================================== */

/* SF Pro Display */
@font-face {
  font-family: 'SFProDisplay';
  src: url('../media/SFPRODISPLAYREGULAR.d1f5e6e16dd4f75c3950.OTF') format('opentype'),
       url('../media/SF-Pro.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'SFProDisplay';
  src: url('../media/FontsFree-Net-SFProDisplay-Medium.c9c3d293a6774a48ccf9.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'SFProDisplay';
  src: url('../media/SFPRODISPLAYBOLD.b1f4d2c69fa808ebca12.OTF') format('opentype'),
       url('../media/SF-Pro-Display-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

/* SF Pro Display Specific Aliases */
@font-face {
  font-family: 'SFPRODISPLAYREGULAR';
  src: url('../media/SFPRODISPLAYREGULAR.d1f5e6e16dd4f75c3950.OTF') format('opentype');
}
@font-face {
  font-family: 'SFProDisplayRegular';
  src: url('../media/SFPRODISPLAYREGULAR.d1f5e6e16dd4f75c3950.OTF') format('opentype');
}
@font-face {
  font-family: 'SFPRODISPLAYBOLD';
  src: url('../media/SFPRODISPLAYBOLD.b1f4d2c69fa808ebca12.OTF') format('opentype');
}
@font-face {
  font-family: 'SFProDisplayBold';
  src: url('../media/SFPRODISPLAYBOLD.b1f4d2c69fa808ebca12.OTF') format('opentype');
}
@font-face {
  font-family: 'SFProDisplayMedium';
  src: url('../media/FontsFree-Net-SFProDisplay-Medium.c9c3d293a6774a48ccf9.ttf') format('truetype');
}
@font-face {
  font-family: 'SFProDisplayLight';
  src: url('../media/SF-Pro.ttf') format('truetype');
  font-weight: 300;
}

/* SF Pro Text */
@font-face {
  font-family: 'SFProTextRegular';
  src: url('../media/SF-Pro.ttf') format('truetype');
}
@font-face {
  font-family: 'SFProTextMedium';
  src: url('../media/SF-Pro-Text-Semibold.otf') format('opentype');
}
@font-face {
  font-family: 'SFProTextBold';
  src: url('../media/SFProText-Semibold_fix.otf') format('opentype'),
       url('../media/SF-Pro-Display-Bold.otf') format('opentype');
}

/* Roboto */
@font-face {
  font-family: 'RobotoRegular';
  src: url('../media/Roboto-Regular.fc2b5060f7accec5cf74.ttf') format('truetype'),
       url('../media/Roboto-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'RobotoMedium';
  src: url('../media/Roboto-Medium.7c8d04cd831df3033c8a.ttf') format('truetype'),
       url('../media/Roboto-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'RobotoBold';
  src: url('../media/Roboto-Bold.f80816a5455d171f948d.ttf') format('truetype'),
       url('../media/Roboto-Bold.ttf') format('truetype');
}

/* Manrope */
@font-face {
  font-family: 'ManropeRegular';
  src: url('../media/Manrope-Regular.55f6beea9876ef9f2751.otf') format('opentype');
}
@font-face {
  font-family: 'ManropeMedium';
  src: url('../media/Manrope-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'ManropeSemiBold';
  src: url('../media/Manrope-SemiBold.71295d5d3505babf7581.otf') format('opentype'),
       url('../media/Manrope-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'ManropeBold';
  src: url('../media/Manrope-Bold.340790e81b290922ecea.otf') format('opentype'),
       url('../media/Manrope-Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'ManropeExtraBold';
  src: url('../media/Manrope-ExtraBold.4bb5ed6b863a9da8e8b7.otf') format('opentype');
}

/* SVN-Gilroy & VietinBank / MBBank / VietcomBank Custom Fonts */
@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../media/SVN-Gilroy Bold.otf') format('opentype');
  font-weight: 700;
}
@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../media/SVN-Gilroy Medium.otf') format('opentype');
  font-weight: 500;
}
@font-face {
  font-family: 'GilroyBold';
  src: url('../media/SVN-Gilroy Bold.otf') format('opentype');
  font-weight: 700;
}
@font-face {
  font-family: 'GilroyMedium';
  src: url('../media/SVN-Gilroy Medium.otf') format('opentype');
  font-weight: 500;
}
@font-face {
  font-family: 'GilroyRegular';
  src: url('../media/SVN-Gilroy Medium.otf') format('opentype');
  font-weight: 400;
}
@font-face {
  font-family: 'AvertaStdBold';
  src: url('../media/AvertaStd-Bold.otf') format('opentype');
  font-weight: 700;
}
@font-face {
  font-family: 'AvertaStd-Bold';
  src: url('../media/AvertaStd-Bold.otf') format('opentype');
  font-weight: 700;
}
@font-face {
  font-family: 'AvertaRegular';
  src: url('../media/AvertaStd-Regular.otf') format('opentype');
  font-weight: 400;
}
@font-face {
  font-family: 'AvertaStdRegular';
  src: url('../media/AvertaStd-Regular.otf') format('opentype');
  font-weight: 400;
}
@font-face {
  font-family: 'AvertaStdSemibold';
  src: url('../media/AvertaStd-Semibold.otf') format('opentype');
  font-weight: 600;
}
@font-face {
  font-family: 'URWGeometricSemiBold';
  src: url('../media/URWGeometricSemiBold.otf') format('opentype');
}
@font-face {
  font-family: 'Nexa-Bold';
  src: url('../media/Nexa-Bold.otf') format('opentype');
}
@font-face {
  font-family: 'SoleilBook';
  src: url('../media/SoleilBook.otf') format('opentype');
}
@font-face {
  font-family: 'MyriadProBoldSemiExtended';
  src: url('../media/SF-Pro-Display-Bold.otf') format('opentype'),
       url('../media/SFPRODISPLAYBOLD.b1f4d2c69fa808ebca12.OTF') format('opentype');
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate__spin {
  animation: spin 1.5s linear infinite;
  display: inline-flex;
}

.animate__infinite {
  animation-iteration-count: infinite;
}

._icon-content_ecylg_187,
.icon-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

._refresh-icon_ecylg_258 {
  cursor: pointer;
}

.refresh-icon svg {
  width: 1em;
  height: 1em;
  display: block;
}

/* ==========================================================================
   KHABEO BANK VIP - LUXURY GOLD & OBSIDIAN DARK THEME (UI/UX PRO MAX)
   ========================================================================== */

:root {
  --khabeo-gold-primary: #f59e0b;
  --khabeo-gold-light: #fde047;
  --khabeo-gold-dark: #b45309;
  --khabeo-blue-accent: #38bdf8;
  --khabeo-bg-dark: #070b14;
  --khabeo-card-bg: rgba(13, 19, 33, 0.88);
  --khabeo-border-gold: rgba(245, 158, 11, 0.25);
  --khabeo-glow-gold: 0 0 25px rgba(245, 158, 11, 0.3);
}

/* Global Atmosphere */
html {
  background-color: #070b14 !important;
  color-scheme: dark !important;
}

body {
  background: radial-gradient(circle at 10% 8%, rgba(245, 158, 11, 0.12) 0%, rgba(7, 11, 20, 0) 45%),
              radial-gradient(circle at 90% 92%, rgba(56, 189, 248, 0.12) 0%, rgba(7, 11, 20, 0) 45%),
              radial-gradient(circle at 50% 50%, rgba(217, 119, 6, 0.05) 0%, rgba(7, 11, 20, 0) 65%),
              #070b14 !important;
  color: #f8fafc !important;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  min-height: 100vh !important;
  letter-spacing: -0.01em;
}

/* Top Navigation Bar */
.w-100.d-flex.justify-content-between.align-items-center.py-3.pe-4,
header,
.navbar {
  background: rgba(11, 16, 29, 0.88) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-bottom: 1px solid rgba(245, 158, 11, 0.2) !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}

/* Brand Text - Luxury Gold Gradient */
.col-6.fw-bold.ps-3.text-primary.text-uppercase,
.navbar-brand {
  background: linear-gradient(135deg, #ffffff 0%, #fde047 40%, #f59e0b 80%, #d97706 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 900 !important;
  letter-spacing: 1.5px !important;
  font-size: 1.35rem !important;
  text-shadow: 0 0 25px rgba(245, 158, 11, 0.4) !important;
}

/* VIP User Profile Capsule */
.cursor-pointer.d-flex.align-items-center {
  background: rgba(22, 29, 47, 0.9) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.4) !important;
  padding: 6px 16px !important;
  border-radius: 50px !important;
  color: #fde047 !important;
  font-weight: 700 !important;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.2) !important;
  transition: all 0.25s ease !important;
}

.cursor-pointer.d-flex.align-items-center:hover {
  border-color: #fde047 !important;
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.5) !important;
  transform: translateY(-1px) !important;
}

/* Sidebar Brand Logo - Circular Luxury Emblem */
.col-2 .text-center img,
.sidebar .text-center img,
.navbar-brand img,
img[alt="logo"] {
  width: 140px !important;
  height: 140px !important;
  max-width: 160px !important;
  max-height: 160px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 8px auto !important;
  padding: 0 !important;
  border-radius: 50% !important;
  filter: drop-shadow(0 0 18px rgba(245, 158, 11, 0.5)) !important;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease !important;
}

.col-2 .text-center img:hover,
.sidebar .text-center img:hover,
.navbar-brand img:hover,
img[alt="logo"]:hover {
  transform: scale(1.08) rotate(2deg) !important;
  filter: drop-shadow(0 0 30px rgba(245, 158, 11, 0.8)) !important;
}

/* Bank Logos inside bills and templates remain completely untouched and original */
.bill img,
.card img:not([alt="logo"]),
.table img {
  max-width: unset;
  filter: none !important;
}

/* Sidebar Menu Glass Panel */
.col-2.h-100.px-3.pb-3,
.sidebar {
  background: rgba(11, 16, 29, 0.8) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-right: 1px solid rgba(245, 158, 11, 0.15) !important;
  border-radius: 0 24px 24px 0 !important;
  box-shadow: 10px 0 35px rgba(0, 0, 0, 0.4) !important;
}

.menu-links a,
.sidebar a {
  display: flex !important;
  align-items: center !important;
  padding: 11px 16px !important;
  border-radius: 12px !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  margin-bottom: 6px !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 1px solid transparent !important;
}

.menu-links a:hover,
.sidebar a:hover {
  color: #fde047 !important;
  background: rgba(245, 158, 11, 0.08) !important;
  border-color: rgba(245, 158, 11, 0.2) !important;
  transform: translateX(4px) !important;
}

.menu-links a.active,
.sidebar a.active,
.active {
  background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #f59e0b 100%) !important;
  color: #070b14 !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.45), 0 0 15px rgba(245, 158, 11, 0.3) !important;
  border: 1px solid rgba(253, 224, 71, 0.5) !important;
}

/* Luxury Cards */
.card {
  background: rgba(13, 19, 33, 0.88) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(245, 158, 11, 0.2) !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.08) !important;
  overflow: hidden !important;
}

.card-header {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.18) 0%, rgba(56, 189, 248, 0.12) 100%) !important;
  border-bottom: 1px solid rgba(245, 158, 11, 0.18) !important;
  padding: 16px 20px !important;
}

.card-header h6,
.card-header h5 {
  background: linear-gradient(90deg, #ffffff 0%, #fde047 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 800 !important;
  letter-spacing: 0.8px !important;
  margin: 0 !important;
}

.card-body {
  color: #cbd5e1 !important;
}

/* Form Controls */
.form-control,
.form-select {
  background: rgba(9, 14, 26, 0.95) !important;
  color: #f8fafc !important;
  border: 1.5px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 12px !important;
  font-size: 14.5px !important;
  padding: 10px 14px !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: #f59e0b !important;
  background: rgba(13, 19, 33, 0.98) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25), 0 0 20px rgba(245, 158, 11, 0.2) !important;
  color: #ffffff !important;
  outline: none !important;
}

.form-control::placeholder {
  color: #64748b !important;
}

.form-label,
label,
small.text-muted,
small.fw-medium {
  color: #cbd5e1 !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.3px !important;
}

/* Luxury Gold & Sapphire Buttons */
.btn {
  border-radius: 12px !important;
  font-weight: 700 !important;
  padding: 9px 18px !important;
  letter-spacing: 0.3px !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.btn:active {
  transform: scale(0.97) !important;
}

.btn-primary {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%) !important;
  border: 1px solid rgba(253, 224, 71, 0.5) !important;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.45) !important;
  color: #070b14 !important;
  font-weight: 800 !important;
}

.btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.65), 0 0 25px rgba(253, 224, 71, 0.5) !important;
}

.btn-success {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35) !important;
  color: #ffffff !important;
}

.btn-warning {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%) !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35) !important;
  color: #070b14 !important;
  font-weight: 800 !important;
}

.btn-danger {
  background: linear-gradient(135deg, #dc2626 0%, #f43f5e 100%) !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.35) !important;
}

/* Accordions */
.accordion-item {
  background: rgba(13, 19, 33, 0.8) !important;
  border: 1px solid rgba(245, 158, 11, 0.15) !important;
  border-radius: 14px !important;
  margin-bottom: 8px !important;
  overflow: hidden !important;
}

.accordion-button {
  background: rgba(13, 19, 33, 0.8) !important;
  color: #f8fafc !important;
  font-weight: 700 !important;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.22) 0%, rgba(56, 189, 248, 0.15) 100%) !important;
  color: #fde047 !important;
  box-shadow: none !important;
}

.accordion-body {
  background: rgba(7, 11, 20, 0.6) !important;
  color: #cbd5e1 !important;
}

/* High Contrast Data Tables */
.table {
  color: #e2e8f0 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.table th {
  background: rgba(22, 29, 47, 0.9) !important;
  color: #fde047 !important;
  font-weight: 700 !important;
  border-bottom: 2px solid rgba(245, 158, 11, 0.35) !important;
}

.table td {
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.table-hover tbody tr:hover td {
  background: rgba(245, 158, 11, 0.1) !important;
}

/* Custom Gold Scrollbars */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: #070b14;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #fde047, #f59e0b, #d97706);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffffff, #fde047, #f59e0b);
}

/* ==========================================================================
   ULTRA MOBILE RESPONSIVE ENGINE (ZERO HORIZONTAL SCROLL & PERFECT FIT)
   ========================================================================== */

html, body, #root {
  max-width: 100vw !important;
  overflow-x: hidden !important;
  position: relative !important;
}

@media (max-width: 991px) {
  html, body {
    overflow-x: hidden !important;
    width: 100vw !important;
  }

  /* Root container stacks vertically on mobile */
  .d-flex.bg-body {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .col-2, .col-10, .col-12, .col-6, .col-8, .col-4 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  /* Sidebar transforms into sleek mobile top header */
  .col-2.h-100.px-3.pb-3,
  .sidebar {
    width: 100% !important;
    border-radius: 0 !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(245, 158, 11, 0.2) !important;
    padding: 12px 10px !important;
    overflow-x: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .col-2 .text-center img,
  .sidebar .text-center img {
    width: 95px !important;
    height: 95px !important;
    margin: 4px auto 10px auto !important;
  }

  .menu-links,
  .sidebar nav {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    width: 100% !important;
    padding-bottom: 6px !important;
    gap: 8px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .menu-links a,
  .sidebar a {
    display: inline-flex !important;
    white-space: nowrap !important;
    font-size: 13.5px !important;
    padding: 8px 14px !important;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
  }

  /* Main content area on mobile */
  .col-10.h-100 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    overflow-x: hidden !important;
  }

  .style_rightSide__dVW0T,
  .p-3 {
    padding: 10px 8px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Mobile Content Container */
  .d-flex.gap-4,
  .d-flex.gap-3,
  .row {
    flex-direction: column !important;
    gap: 1.25rem !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  .left-side {
    min-width: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* Mobile Touch Targets */
  .btn,
  .form-control,
  .form-select {
    min-height: 46px !important;
  }

  /* Mobile Bill Container with Dynamic Auto Scaler */
  .khabeo-bill-mobile-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    overflow: hidden !important;
    padding: 4px 0 !important;
  }
}

/* ===================================================
   TPBANK DEDICATED TYPOGRAPHY FIXES
   =================================================== */
.style_fontSFProDisplayMedium__kiHMa,
.fontSFProDisplayMedium {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SFProDisplay', "Segoe UI", Roboto, sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.2px !important;
}

.style_fontSFProDisplayLight__mfFPs,
.fontSFProDisplayLight {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SFProDisplay', "Segoe UI", Roboto, sans-serif !important;
  font-weight: 300 !important;
  letter-spacing: 0.5px !important;
}

.style_fontSFPRODISPLAYREGULAR__l-VMH,
.fontSFPRODISPLAYREGULAR {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SFProDisplay', "Segoe UI", Roboto, sans-serif !important;
  font-weight: 400 !important;
}

.style_fontRoboto500__2C1-X,
.fontRoboto500 {
  font-family: 'RobotoMedium', 'Roboto', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.2px !important;
}

.style_fontRoboto300__lVxJK,
.fontRoboto300 {
  font-family: 'RobotoRegular', 'Roboto', sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.5px !important;
}


