
/* =========================================
   VEYRA — INTELLIGENCE, REFINED.
   iOS-inspired premium fintech interface
   ========================================= */

:root {
  color-scheme: light;
  --bg: #e9e5d9;
  --paper: #f8f6ef;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #fffefa;
  --surface-soft: #f0ede4;
  --ink: #20231f;
  --muted: #88877f;
  --line: rgba(42, 43, 37, 0.09);
  --accent: #b8a66a;
  --accent-soft: #eee6ca;
  --green: #31765a;
  --green-soft: #e1eee5;
  --blue: #7797ad;
  --blue-soft: #e5edf1;
  --red: #b75b51;
  --shadow: 0 18px 55px rgba(42, 39, 28, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", "Segoe UI", "Arial Rounded MT Bold", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% 0%, #f7f3e7 0%, transparent 48%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
}

button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(119, 151, 173, 0.4);
  outline-offset: 3px;
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================
   MAIN PHONE FRAME
   ========================================= */

.app {
  display: none;
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 22px calc(112px + env(safe-area-inset-bottom));
  overflow: clip;
  background: var(--paper);
  border-left: 1px solid rgba(48, 46, 37, 0.055);
  border-right: 1px solid rgba(48, 46, 37, 0.055);
  box-shadow: 0 0 65px rgba(40, 38, 30, 0.045);
}

.app main {
  width: 100%;
  min-width: 0;
}

.app main > section {
  min-width: 0;
  animation: sectionAppear 0.24s ease both;
}

@keyframes sectionAppear {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   TOP BAR
   ========================================= */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(20px + env(safe-area-inset-top)) 0 22px;
}

.topbar > div:first-child {
  min-width: 0;
}

.brand {
  font-size: 26px;
  line-height: 1.15;
  font-weight: 750;
  letter-spacing: -1.1px;
}

.greeting {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 450;
  overflow-wrap: anywhere;
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-shrink: 0;
}

.round-button,
.profile-button {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  min-width: 43px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-solid);
  color: var(--ink);
  box-shadow: 0 3px 12px rgba(40, 38, 30, 0.035);
  transition: background 0.2s, transform 0.2s;
}

.round-button svg {
  width: 20px;
  height: 20px;
}

.profile-button {
  background: var(--accent-soft);
  border-color: transparent;
  color: #5e5334;
  font-size: 13px;
  font-weight: 750;
}

#logoutButton {
  background: #efede6;
  color: #77756b;
}

#logoutButton span {
  font-size: 22px;
  line-height: 1;
}

.notification-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--surface-solid);
  border-radius: 50%;
  background: var(--red);
}

/* Admin button is created by app.js. */
#openAdminDashboardButton {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #e8e1ce;
  color: #655936;
  font-size: 12px;
  font-weight: 700;
}

/* =========================================
   WALLET HERO CARD
   ========================================= */

.balance-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 25px 23px 23px;
  min-height: 205px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 29px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,0.09) 0 22%, transparent 22.3%),
    radial-gradient(circle at 88% 115%, rgba(183, 166, 106, 0.15) 0 26%, transparent 26.3%),
    linear-gradient(145deg, #282b29 0%, #1d201f 62%, #30332f 100%);
  color: #fffdf7;
  box-shadow: 0 18px 35px rgba(31, 33, 30, 0.15);
}

.balance-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -42px;
  bottom: -82px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 50%;
  box-shadow:
    0 0 0 22px rgba(255,255,255,0.018),
    0 0 0 45px rgba(255,255,255,0.015);
  pointer-events: none;
}

.balance-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 253, 247, 0.7);
  font-size: 13px;
  font-weight: 500;
}

.eye-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #f6f2e8;
}

.eye-button svg {
  width: 15px;
  height: 15px;
}

.balance {
  margin-top: 8px;
  font-size: clamp(30px, 7.5vw, 38px);
  font-weight: 650;
  letter-spacing: -1.6px;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.balance-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 650;
  transition: transform 0.18s, background 0.18s, box-shadow 0.18s;
}

.balance-card .primary-button {
  background: var(--accent);
  color: #25251e;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.balance-card .secondary-button {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.12);
  color: #fffdf7;
}

.plus {
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

/* =========================================
   SECTION HEADINGS
   ========================================= */

.section {
  margin-top: 31px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 17px;
}

.section-heading h2,
.app main > section > h2 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.55px;
}

.section-heading > button {
  padding: 6px 0 6px 8px;
  border: 0;
  background: transparent;
  color: #8c805c;
  font-size: 12px;
  font-weight: 650;
}

/* =========================================
   SERVICE ICON GRID
   ========================================= */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 9px;
  row-gap: 21px;
}

.service-card {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 550;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 61px;
  height: 61px;
  border: 1px solid rgba(44, 43, 36, 0.045);
  border-radius: 22px;
  background: var(--surface-solid);
  color: #77704f;
  box-shadow: 0 5px 18px rgba(42, 39, 28, 0.045);
  transition: transform 0.2s, background 0.2s;
}

.service-icon svg {
  width: 23px;
  height: 23px;
  stroke-width: 1.65;
}

.service-card:nth-child(4n + 2) .service-icon {
  background: #e7edf0;
  color: #617f91;
}

.service-card:nth-child(4n + 3) .service-icon {
  background: #eeeadc;
  color: #8a7848;
}

.service-card:nth-child(4n + 4) .service-icon {
  background: #e5ece3;
  color: #53745c;
}

.service-card span:last-child {
  line-height: 1.2;
}

/* =========================================
   RECENT ACTIVITY
   ========================================= */

.activity-section {
  margin-top: 33px;
}

.activity-heading {
  margin-bottom: 12px;
}

.activity-list {
  overflow: hidden;
  padding: 3px 15px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.62);
}

.activity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 15px 0;
}

.activity + .activity {
  border-top: 1px solid var(--line);
}

.activity-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: #797052;
}

.activity-icon svg {
  width: 19px;
  height: 19px;
}

.activity:nth-child(2) .activity-icon {
  background: var(--green-soft);
  color: var(--green);
}

.activity:nth-child(3) .activity-icon {
  background: var(--blue-soft);
  color: #617f91;
}

.activity-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.activity-info strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-info span {
  color: var(--muted);
  font-size: 11px;
}

.amount {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.amount.positive {
  color: var(--green);
}

.amount.negative {
  color: var(--ink);
}

/* =========================================
   FLOATING BOTTOM NAVIGATION
   ========================================= */

.bottom-nav {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  width: min(436px, calc(100% - 26px));
  padding: 8px 9px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 28px;
  background: rgba(255, 254, 250, 0.88);
  box-shadow:
    0 12px 38px rgba(37, 36, 30, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.95);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  transform: translateX(-50%);
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  min-height: 55px;
  padding: 6px 2px;
  border: 0;
  border-radius: 19px;
  background: transparent;
  color: #96948b;
  font-size: 10px;
  font-weight: 550;
  transition: background 0.2s, color 0.2s;
}

.nav-item svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.65;
}

.nav-item span {
  line-height: 1.2;
}

.nav-item.active {
  background: #e9e2cf;
  color: #5d5233;
  font-weight: 700;
}

.nav-item.active svg {
  stroke-width: 2;
}

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

#profileSection,
#walletSection,
#addMoneySection {
  padding-top: 10px;
}

#profileSection > h2,
#walletSection > h2,
#addMoneySection > h2 {
  margin-bottom: 20px;
  font-size: 25px;
  letter-spacing: -0.9px;
}

.profile-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 27px 20px;
  border: 1px solid var(--line);
  border-radius: 27px;
  background: var(--surface-solid);
  text-align: center;
  box-shadow: 0 8px 25px rgba(42, 39, 28, 0.035);
}

.profile-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border: 5px solid #f1ecde;
  border-radius: 50%;
  background: #e8dfc7;
  color: #665a38;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.5px;
}

.profile-card h3 {
  margin: 15px 0 3px;
  font-size: 19px;
  letter-spacing: -0.4px;
}

.profile-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

/* =========================================
   WALLET SCREEN
   ========================================= */

.wallet-dashboard {
  display: grid;
  gap: 13px;
}

.wallet-balance-card,
.wallet-pending-card {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: var(--surface-solid);
}

.wallet-balance-card {
  background: #252826;
  color: #fffdf7;
  box-shadow: 0 12px 28px rgba(31, 33, 30, 0.1);
}

.wallet-balance-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.wallet-balance-card .wallet-balance-label {
  color: rgba(255, 253, 247, 0.68);
}

.wallet-balance-amount,
.wallet-pending-amount {
  margin-top: 8px;
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.wallet-pending-amount {
  color: var(--ink);
}

.wallet-pending-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.wallet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 17px 0 27px;
}

.wallet-actions .primary-button {
  background: var(--ink);
  color: white;
}

.wallet-actions .secondary-button {
  border-color: var(--line);
  background: var(--surface-solid);
  color: var(--ink);
}

.wallet-history {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.62);
}

.wallet-history h3 {
  margin: 0 0 12px;
  font-size: 16px;
  letter-spacing: -0.3px;
}

.wallet-empty-state {
  padding: 18px 10px;
  border-radius: 16px;
  background: var(--surface-soft);
  color: var(--muted);
  text-align: center;
}

.wallet-empty-state p {
  margin: 0;
  font-size: 13px;
}

/* =========================================
   ADD MONEY / BANK TRANSFER
   ========================================= */

#addMoneySection > p {
  margin: -10px 0 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

#backToWalletButton {
  margin-bottom: 20px !important;
}

.deposit-card {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface-solid);
  box-shadow: 0 8px 25px rgba(42, 39, 28, 0.035);
}

.deposit-card h3 {
  margin: 0 0 7px;
  font-size: 17px;
  letter-spacing: -0.3px;
}

.deposit-card > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.bank-details {
  margin: 19px 0;
  padding: 17px;
  border: 1px solid rgba(184, 166, 106, 0.2);
  border-radius: 19px;
  background: #f3efe3;
  overflow-wrap: anywhere;
}

.bank-details p {
  margin: 0 0 5px;
  font-size: 13px;
}

.bank-details p strong {
  color: #858071;
  font-size: 11px;
  font-weight: 600;
}

.bank-details p:nth-child(even) {
  margin-bottom: 15px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.bank-details p:last-child {
  margin-bottom: 0;
}

#depositForm {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 21px;
}

#depositForm label {
  margin-top: 8px;
  color: #55554d;
  font-size: 12px;
  font-weight: 650;
}

#depositForm input,
.form-group input {
  width: 100%;
  min-height: 49px;
  padding: 13px 14px;
  border: 1px solid #e6e2d8;
  border-radius: 15px;
  background: #faf9f5;
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#depositForm input:focus,
.form-group input:focus {
  border-color: #b8a66a;
  box-shadow: 0 0 0 3px rgba(184, 166, 106, 0.13);
}

#depositForm input[type="file"] {
  padding: 10px;
  font-size: 11px;
}

#depositForm .primary-button {
  width: 100%;
  margin-top: 13px;
  background: var(--ink);
  color: white;
}

#depositMessage {
  padding: 11px 12px;
  border-radius: 12px;
  background: #f8e9e6;
  color: var(--red);
  font-size: 12px;
  overflow-wrap: anywhere;
}

/* =========================================
   DEPOSIT SUCCESS SCREEN
   Overrides the old inline presentation
   ========================================= */

#depositSuccessSection {
  position: fixed;
  z-index: 100;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100dvh !important;
  overflow-y: auto;
  padding:
    calc(40px + env(safe-area-inset-top))
    24px
    calc(32px + env(safe-area-inset-bottom)) !important;
  background: var(--paper) !important;
  color: var(--ink);
  text-align: center;
}

#depositSuccessSection > div {
  width: 100%;
  max-width: 360px !important;
  margin: 0 auto !important;
  padding-top: clamp(35px, 10vh, 95px) !important;
}

#depositSuccessSection > div > div:first-child {
  width: 78px !important;
  height: 78px !important;
  margin: 0 auto 24px !important;
  border: 1px solid #d5e5d8;
  background: var(--green-soft) !important;
  color: var(--green) !important;
  font-size: 40px !important;
}

#depositSuccessSection h2 {
  margin: 0 0 12px !important;
  color: var(--ink) !important;
  font-size: 26px !important;
  letter-spacing: -0.9px !important;
}

#depositSuccessSection > div > p:not(:last-child) {
  color: var(--muted) !important;
  line-height: 1.8 !important;
}

#depositSuccessSection > div > div:nth-of-type(2) {
  border: 1px solid var(--line);
  background: #f0ede4 !important;
  border-radius: 19px !important;
}

#depositSuccessSection > div > div:nth-of-type(2) p:last-child {
  color: #92712f !important;
}

#depositSuccessDone {
  min-height: 52px;
  background: var(--ink) !important;
  color: white !important;
  border-radius: 18px !important;
  font-family: var(--font);
  transition: opacity 0.2s;
}

/* =========================================
   AUTH SCREENS
   ========================================= */

.auth-screen {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding:
    calc(25px + env(safe-area-inset-top))
    18px
    calc(25px + env(safe-area-inset-bottom));
  background:
    radial-gradient(ellipse at 50% 0%, #f7f1de 0%, transparent 55%),
    var(--bg);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  margin: auto;
  padding: 30px 25px;
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 30px;
  background: rgba(255, 254, 250, 0.93);
  box-shadow: var(--shadow);
}

.auth-brand {
  font-size: 29px;
  font-weight: 750;
  letter-spacing: -1.1px;
}

.auth-motto {
  margin: 2px 0 27px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.2px;
}

.auth-card h1 {
  margin: 0 0 7px;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.9px;
}

.auth-subtitle {
  margin: 0 0 23px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 15px;
}

.form-group label {
  color: #55554d;
  font-size: 12px;
  font-weight: 650;
}

.form-group small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.terms-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 17px 0;
  color: #67665e;
  font-size: 11px;
  line-height: 1.65;
}

.terms-row input {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--green);
}

.auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 51px;
  margin-top: 16px;
  padding: 12px 18px;
  border: 0;
  border-radius: 17px;
  background: var(--ink);
  color: #fffdf7;
  font-size: 14px;
  font-weight: 650;
  transition: opacity 0.2s, transform 0.2s;
}

.auth-message {
  display: none;
  margin: 12px 0;
  padding: 11px 12px;
  border-radius: 12px;
  background: #f8e9e6;
  color: var(--red);
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.auth-message.success {
  background: var(--green-soft);
  color: var(--green);
}

.auth-login-link,
.forgot-password-link {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.auth-login-link button,
.forgot-password-link button {
  padding: 3px;
  border: 0;
  background: transparent;
  color: #76663d;
  font-size: inherit;
  font-weight: 700;
}

/* =========================================
   ADMIN DASHBOARD
   Style elements created dynamically by JS
   ========================================= */

#adminDashboardSection {
  padding: 24px 0 100px !important;
}

#adminDashboardSection h2 {
  font-size: 24px;
  letter-spacing: -0.7px;
}

#adminDashboardSection h3 {
  color: var(--ink);
  font-size: 15px;
}

#adminDashboardSection p {
  font-size: 12px;
}

#adminDashboardSection article {
  border: 1px solid var(--line) !important;
  border-radius: 22px !important;
  background: var(--surface-solid) !important;
  box-shadow: 0 7px 22px rgba(42, 39, 28, 0.045) !important;
  overflow-wrap: anywhere;
}

#adminDashboardSection article p {
  color: #66655d;
}

#adminDashboardSection article button,
#adminDashboardSection > div button {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 14px !important;
  font-size: 12px;
  font-weight: 650;
}

#adminDashboardSection article button[style*="22, 128, 60"],
#adminDashboardSection article button[style*="22,128,60"] {
  background: var(--green) !important;
}

#adminDashboardSection article button[style*="180, 35, 24"],
#adminDashboardSection article button[style*="180,35,24"] {
  background: var(--red) !important;
}

/* =========================================
   INTERACTION STATES
   ========================================= */

@media (hover: hover) {
  button:hover {
    filter: brightness(0.98);
  }

  .service-card:hover .service-icon {
    transform: translateY(-2px);
    background: #eae4d4;
  }

  .round-button:hover,
  .profile-button:hover {
    transform: scale(1.035);
  }
}

button:active {
  transform: scale(0.97);
}

.nav-item:active {
  transform: scale(0.96);
}

/* =========================================
   RESPONSIVE DETAILS
   ========================================= */

@media (min-width: 700px) {
  .app {
    margin: 24px auto;
    min-height: calc(100vh - 48px);
    border: 1px solid rgba(48, 46, 37, 0.07);
    border-radius: 36px;
  }

  .topbar {
    padding-top: 27px;
  }

  .bottom-nav {
    bottom: 25px;
  }
}

@media (max-width: 360px) {
  .app {
    padding-right: 16px;
    padding-left: 16px;
  }

  .topbar {
    gap: 7px;
  }

  .brand {
    font-size: 23px;
  }

  .top-actions {
    gap: 6px;
  }

  .round-button,
  .profile-button {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .balance-card {
    padding: 22px 18px;
  }

  .balance-actions {
    gap: 8px;
  }

  .primary-button,
  .secondary-button {
    padding-right: 13px;
    padding-left: 13px;
    font-size: 12px;
  }

  .service-grid {
    column-gap: 4px;
  }

  .service-icon {
    width: 55px;
    height: 55px;
    border-radius: 19px;
  }

  .activity-list {
    padding-right: 11px;
    padding-left: 11px;
  }

  .activity {
    gap: 9px;
  }

  .amount {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
