/* =========================================================================
   FundsIQ Core Framework Style
   Developed by Odigwe Joshua
   ========================================================================= */

:root {
  --bg-primary: #0f172a;
  --bg-card: #1e293b;
  --accent: #2563eb;
  --accent-glow: rgba(37, 99, 235, 0.15);
  --gold: #f59e0b;
  --green: #22c55e;
  --text-white: #ffffff;
  --text-gray: #94a3b8;
  --purple: #8b5cf6;
  --pink: #ec4899;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  padding-bottom: 95px; /* Safely accommodates sticky bottom nav */
}

button, input, select {
  font-family: inherit;
  outline: none;
}

.dashboard-wrapper {
  width: 100%;
  padding: 20px 0;
}

.container {
  width: 92%;
  max-width: 600px;
  margin: 0 auto;
}

/* =========================================================================
   TOP NAVBAR
   ========================================================================= */

.top-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.nav-icon-btn, .notification-btn {
  background: none;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.notification-btn {
  position: relative;
}

.notif-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background-color: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: bold;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-brand {
  text-align: center;
}

.brand-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.brand-cap {
  color: var(--purple);
  font-style: italic;
}

.brand-sub {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-top: 2px;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Theme Toggle Slider */
.theme-toggle {
  width: 48px;
  height: 24px;
  background-color: var(--bg-card);
  border: 1.5px solid #334155;
  border-radius: 20px;
  position: relative;
  cursor: pointer;
}

.theme-slider {
  position: absolute;
  top: 2.5px;
  left: 3px;
  width: 16px;
  height: 16px;
  background-color: var(--gold);
  border-radius: 50%;
  transition: transform 0.25s ease;
}

/* ==========================
   PROFILE CARD
========================== */

.profile-card{
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:#1e293b;
    padding:16px;
    border-radius:20px;
    margin-bottom:20px;
}

.profile-info{
    display:flex;
    align-items:center;
    gap:12px;
}

/* SMALL PROFILE IMAGE */
.avatar-container{
    width:65px;
    height:65px;
    min-width:65px;
    border-radius:50%;
    overflow:hidden;
}

.avatar-svg{
    width:100%;
    height:100%;
    display:block;
}

.profile-text h2{
    font-size:22px;
    margin-bottom:4px;
}

.profile-text p{
    font-size:14px;
    color:#94a3b8;
}
/* =========================================================================
   MARKETING HERO BANNER
   ========================================================================= */

.promo-banner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  background: linear-gradient(135deg, #1e1b4b 0%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 22px;
  margin-bottom: 25px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

.banner-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.banner-badge {
  background-color: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.banner-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}

.banner-content p {
  font-size: 0.8rem;
  color: var(--text-gray);
  line-height: 1.4;
  margin-bottom: 15px;
}

.banner-btn {
  background-color: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

.banner-btn:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
}

.banner-graphic {
  display: flex;
  justify-content: center;
}

.wallet-svg {
  width: 110px;
  height: 110px;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.4));
}

/* =========================================================================
   LEVEL CARD STRIP
   ========================================================================= */

.section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 14px;
}

.level-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 25px;
}

.level-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-card);
  border: 1.5px solid #334155;
  border-radius: 20px;
  padding: 16px;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}

.level-card.active {
  border-color: var(--purple);
  background-color: rgba(139, 92, 246, 0.04);
}

.level-info h4 {
  font-size: 0.95rem;
  color: var(--text-white);
}

.level-info p {
  font-size: 0.75rem;
  color: var(--text-gray);
  margin-top: 2px;
}

.level-icon-plus {
  font-size: 1.4rem;
  color: var(--text-gray);
  font-weight: bold;
}

.level-card:hover {
  transform: translateY(-2px);
}
