body {
  background: #020B13;
  color: white;
  font-family: 'Segoe UI', sans-serif;
  min-height: 100vh;
}



/* FORCE ALL TEXT WHITE */
body, 
h1, h2, h3, h4, h5, h6, 
p, span, label, small, 
.nav-link, .navbar-brand, 
.form-label, .dropdown-item {
  color: #FFFFFF !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.7) !important; /* for secondary text */
}

.card, .transaction-item, .sidebar, .topbar, .footer {
  color: #FFFFFF;
}

.form-control, .form-select {
  color: #FFFFFF !important;
}
.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}


.sidebar {
  background: #0A1F3A;
  min-height: 100vh;
}
.sidebar .nav-link {
  color: white;
  border-radius: 12px;
  margin-bottom: 8px;
  padding: 12px 16px;
}
.sidebar .nav-link.active, .sidebar .nav-link:hover {
  background: #132B4E;
}
.card-gold {
  background: linear-gradient(135deg, #D4A017 0%, #B8860B 50%, #8B6F2F 100%);
  border-radius: 24px;
  border: none;
}
.action-tile {
  background: #0A1F3A;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  transition: 0.2s;
  cursor: pointer;
  border: none;
  color: white;
}
.action-tile:hover {
  background: #132B4E;
  transform: translateY(-2px);
}
.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 20px;
}
.btn-add-card {
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  background: #22c55e;
  color: white;
  border-radius: 50px;
  padding: 60px 16px;
  writing-mode: vertical-rl;
  font-weight: 600;
  border: none;
}
.page { display: none; }
.page.active { display: block; }
.frozen { opacity: 0.5; }
.form-control:focus { background: #132B4E; color: white; box-shadow: none; }


.topbar {
  background: #0A1F3A;
  border-bottom: 1px solid #132B4E;
}
.topbar .dropdown-menu {
  min-width: 200px;
}
.topbar .dropdown-item:hover {
  background: #132B4E;
}
.profile-big {
  width: 100px;
  height: 100px;
  object-fit: cover;
}


.transaction-item {
  background: #132B4E;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.2s;
}
.transaction-item:hover {
  background: #1A365D;
}
.transaction-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.text-success-light { color: #22c55e; }
.text-danger-light { color: #ef4444; }


.footer {
  color: white;
}
.footer a:hover {
  color: #ffc107 !important;
}


.page { display: none; }
.page.active { display: block; }


.letter-spacing {
  letter-spacing: 3px;
}

.card {
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}


.flip-card {
  background-color: transparent;
  perspective: 1000px;
  cursor: pointer;
  min-height: 220px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-back {
  transform: rotateY(180deg);
}