/* Dashboard (users/home.php) */
:root {
  --bg-1: #f6f8ff;
  --bg-2: #eef2ff;
  --bg-3: #eaf0ff;
  --card: rgba(255, 255, 255, 0.94);
  --card-2: rgba(248, 250, 252, 0.92);
  --text: #0f172a;
  --muted: #64748b;
  --line: rgba(226, 232, 240, 0.9);
  --shadow: 0 22px 70px rgba(2, 6, 23, 0.11);
  --shadow-2: 0 12px 30px rgba(2, 6, 23, 0.10);
  --radius: 18px;
  --ring: 0 0 0 4px rgba(var(--bs-primary-rgb, 31, 74, 162), 0.18);
}

body[data-theme="dark"] {
  --bg-1: #0b1220;
  --bg-2: #0f1f3f;
  --bg-3: #111827;
  --card: rgba(17, 24, 39, 0.72);
  --card-2: rgba(31, 41, 55, 0.6);
  --text: #e5e7eb;
  --muted: rgba(229, 231, 235, 0.72);
  --line: rgba(148, 163, 184, 0.14);
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.5);
  --shadow-2: 0 10px 26px rgba(0, 0, 0, 0.45);
  --ring: 0 0 0 4px rgba(var(--bs-primary-rgb, 31, 74, 162), 0.28);
}

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

html,
body {
  height: 100%;
}

body {
  min-height: 100vh;
  padding: 20px;
  padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1100px 700px at 10% 0%, rgb(var(--bs-primary-rgb, 31, 74, 162) / 0.12), transparent 60%),
    radial-gradient(900px 600px at 95% 15%, rgb(var(--bs-secondary-rgb, 102, 16, 242) / 0.1), transparent 60%),
    linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 55%, var(--bg-3) 100%);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

/* Splash Loader */
.loader {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.5s ease-out;
  background: linear-gradient(135deg, var(--primary, #1f4aa2) 0%, var(--secondary, #6610f2) 100%);
}

.loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader i {
  font-size: 48px;
  color: white;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Main Content (Hidden during loading) */
.main-content {
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

.main-content.loaded {
  opacity: 1;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
}

/* App Bar */
.header {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-2);
  border-radius: 18px;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

body[data-theme="dark"] .header {
  background: rgba(17, 24, 39, 0.55);
}

.header::before {
  content: none;
  display: none;
}

.appbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary, #1f4aa2), var(--secondary, #6610f2));
  box-shadow: 0 10px 20px rgba(2, 6, 23, 0.16);
  flex-shrink: 0;
}

.brand-mark i {
  font-size: 18px;
}

.appbar-titles {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}

.appbar-title {
  font-size: 15px;
  font-weight: 950;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.appbar-subtitle {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-logo {
  height: 38px;
  width: auto;
  max-width: min(260px, 72vw);
  object-fit: contain;
  vertical-align: middle;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease,
    color 0.15s ease;
  color: var(--muted);
  backdrop-filter: blur(10px);
}

body[data-theme="dark"] .icon-btn {
  background: rgba(17, 24, 39, 0.35);
}

.icon-btn:hover {
  transform: translateY(-1px);
  border-color: rgb(var(--bs-primary-rgb, 31, 74, 162) / 0.25);
  color: var(--primary);
}

.icon-btn:active {
  transform: translateY(0);
}

.link-btn {
  height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease,
    color 0.15s ease;
  color: var(--muted);
  text-decoration: none;
  backdrop-filter: blur(10px);
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}

body[data-theme="dark"] .link-btn {
  background: rgba(17, 24, 39, 0.35);
}

.link-btn:hover {
  transform: translateY(-1px);
  border-color: rgb(var(--bs-primary-rgb, 31, 74, 162) / 0.25);
  color: var(--primary);
}

.link-btn-text {
  display: inline-block;
}

.profile-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary, #1f4aa2), var(--secondary, #6610f2));
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: transform 0.2s;
  font-weight: 900;
  font-size: 16px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  text-decoration: none;
  flex-shrink: 0;
}

.profile-icon:hover {
  transform: scale(1.05);
}

.profile-icon img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* Balance Card */
.wallet-switch-wrap {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 12px;
}

.wallet-switch-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-2);
}

body[data-theme="dark"] .wallet-switch-top {
  background: rgba(17, 24, 39, 0.55);
}

.wallet-switch-top .currency-pill {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 950;
  cursor: pointer;
}

.wallet-switch-top .currency-pill.active {
  background: linear-gradient(135deg, var(--primary, #1f4aa2) 0%, var(--secondary, #6610f2) 100%);
  color: #fff;
}

.balance-card {
  background: linear-gradient(135deg, var(--primary, #1f4aa2) 0%, var(--secondary, #6610f2) 100%);
  color: white;
  padding: 24px;
  border-radius: 20px;
  margin-bottom: 22px;
  text-align: center;
  box-shadow: 0 10px 28px rgb(var(--bs-primary-rgb, 31, 74, 162) / 0.22);
  position: relative;
  overflow: hidden;
}

.balance-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.12)"/></svg>');
  opacity: 0.55;
}

.balance-card h2 {
  font-size: 15px;
  margin-bottom: 14px;
  opacity: 0.92;
  position: relative;
  z-index: 1;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.balance-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.currency-switch {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
}

.currency-pill {
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 950;
  letter-spacing: 0.2px;
  cursor: pointer;
}

.currency-pill.active {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.balance-mini-row {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.balance-mini-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  font-size: 12px;
}

.wallet-actions {
  margin-top: 14px;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.convert-row {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.convert-input {
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  padding: 0 12px;
  color: #fff;
  font-weight: 900;
  outline: none;
}

.convert-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 800;
}

.convert-btn {
  height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 950;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.convert-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.convert-note {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  z-index: 1;
}

.convert-msg {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 950;
  min-height: 18px;
  position: relative;
  z-index: 1;
}

.convert-msg.ok {
  color: rgba(255, 255, 255, 0.95);
}

.convert-msg.bad {
  color: rgba(255, 255, 255, 0.95);
  opacity: 0.92;
}

.balance-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.js-balance-text {
  font-size: clamp(1.65rem, 4vw, 2.3rem);
  font-weight: 900;
  color: white;
  min-width: 150px;
  letter-spacing: -0.02em;
}

.js-balance-eye {
  font-size: 1.5em;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease;
}

.balance-toggle:hover .js-balance-eye {
  color: white;
}

/* Fund Button */
.fund-btn {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  position: relative;
  z-index: 1;
  text-decoration: none;
}

.balance-card .fund-btn,
.balance-card .fund-btn i {
  color: #fff !important;
}

.fund-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

body[data-theme="dark"] .fund-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

body[data-theme="dark"] .fund-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.action-item {
  text-decoration: none;
  background: var(--card);
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.action-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.11), transparent);
  transform: translateX(-110%);
  transition: transform 0.5s ease;
}

body[data-theme="dark"] .action-item::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

.action-item:hover::before {
  transform: translateX(110%);
}

.action-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  border-color: rgb(var(--bs-primary-rgb, 31, 74, 162) / 0.2);
}

.action-item i {
  font-size: 26px;
  color: var(--primary);
  transition: color 0.2s ease;
}

.action-item:hover i {
  color: var(--secondary);
}

.action-item p {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: var(--text);
}

/* Cards */
.section-card {
  background: var(--card);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 18px;
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.section-card--compact {
  padding: 10px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.section-card--compact h2 {
  font-size: 14px;
  gap: 8px;
}

.section-card--compact .section-link {
  font-size: 12px;
}

.section-card--compact .section-head {
  margin-bottom: 8px;
}

.section-card--compact .transaction-list {
  gap: 6px;
}

.section-card--compact .transaction-item {
  padding: 8px 10px;
  border-radius: 12px;
}

.section-card--compact .transaction-icon {
  width: 32px;
  height: 32px;
  font-size: 14px;
}

.section-card--compact .transaction-details h3 {
  font-size: 12px;
}

.section-card--compact .txn-meta {
  margin-top: 2px;
  gap: 6px;
  font-size: 10px;
}

.section-card--compact .badge {
  padding: 4px 8px;
  font-size: 10px;
}

.section-card--compact .transaction-amount {
  font-size: 12px;
}

/* Extra-compact version used on the home page so the bottom nav doesn't cover it */
.section-card--mini {
  padding: 8px;
  border-radius: 12px;
}

.section-card--mini .section-head {
  margin-bottom: 6px;
}

.section-card--mini h2 {
  font-size: 13px;
  gap: 8px;
}

.section-card--mini .section-link {
  font-size: 11px;
}

.section-card--mini .transaction-list {
  gap: 5px;
}

.section-card--mini .transaction-item {
  padding: 6px 8px;
  border-radius: 12px;
}

.section-card--mini .transaction-icon {
  width: 28px;
  height: 28px;
  font-size: 12px;
  border-radius: 10px;
}

.section-card--mini .transaction-details h3 {
  font-size: 11px;
  margin-bottom: 1px;
}

.section-card--mini .txn-meta {
  margin-top: 1px;
  gap: 5px;
  font-size: 10px;
}

.section-card--mini .badge {
  padding: 3px 6px;
  font-size: 10px;
}

.section-card--mini .transaction-amount {
  font-size: 11px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.section-card h2 {
  font-size: 16px;
  margin-bottom: 0;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
}

.section-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 900;
  font-size: 13px;
}

.section-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

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

/* Make "New Services" buttons smaller so 4 fit nicely */
.service-grid .action-item {
  padding: 14px 10px;
  border-radius: 14px;
  gap: 8px;
}

.service-grid .action-item i {
  font-size: 20px;
}

.service-grid .action-item p {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15px;
}

/* Recent Transactions */
.transaction-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.transaction-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--card-2);
  border-radius: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  border: 1px solid rgba(226, 232, 240, 0.8);
  text-decoration: none;
  color: inherit;
}

body[data-theme="dark"] .transaction-item {
  border-color: rgba(148, 163, 184, 0.16);
}

.transaction-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border-color: rgb(var(--bs-primary-rgb, 31, 74, 162) / 0.18);
}

.transaction-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.transaction-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  flex-shrink: 0;
}

.transaction-icon.funding {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.transaction-icon.spending {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
}

.transaction-details {
  min-width: 0;
}

.transaction-details h3 {
  font-size: 14px;
  margin-bottom: 3px;
  color: var(--text);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.txn-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
}

.badge.ok {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.22);
}

.badge.pending {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.22);
}

.badge.bad {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border-color: rgba(239, 68, 68, 0.22);
}

.badge.neutral {
  background: rgba(148, 163, 184, 0.16);
  color: rgba(100, 116, 139, 1);
  border-color: rgba(148, 163, 184, 0.22);
}

.transaction-amount {
  font-weight: 900;
  font-size: 14px;
  white-space: nowrap;
}

.transaction-amount.positive {
  color: #16a34a;
}

.transaction-amount.negative {
  color: #dc2626;
}

.no-transactions {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  padding: 16px;
}

/* Sticky Footer */
.footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-around;
  padding: 11px 0 calc(11px + env(safe-area-inset-bottom, 0px));
  z-index: 100;
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
  padding: 6px 10px;
  border-radius: 12px;
  min-width: 64px;
  text-decoration: none;
}

.nav-item.active {
  background: rgb(var(--bs-primary-rgb, 31, 74, 162) / 0.12);
  color: var(--primary);
}

.nav-item i {
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--muted);
}

.nav-item.active i {
  color: var(--primary);
}

.nav-item p {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  margin: 0;
}

.nav-item.active p {
  color: var(--primary);
}

.nav-item:hover {
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 960px) {
  .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 600px) {
  body {
    padding: 12px;
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }

  .header {
    top: 10px;
    grid-template-columns: 1fr auto;
    padding: 12px;
  }

  .header-actions {
    gap: 8px;
  }

  .balance-card {
    padding: 20px;
  }

  .section-card {
    padding: 18px;
  }

  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .service-grid .action-item {
    padding: 12px 8px;
  }

  .transaction-item {
    flex-direction: row;
    align-items: center;
    padding: 12px;
  }

  .transaction-amount {
    width: auto;
    text-align: right;
  }

  /* Recent transactions: show a compact snippet on mobile */
  .transaction-details h3 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .txn-meta {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .txn-meta span:not(.badge) {
    display: none;
  }
}

@media (max-width: 420px) {
  .link-btn {
    padding: 0 12px;
    font-size: 13px;
    gap: 8px;
  }

  .link-btn-text {
    display: none;
  }

  .appbar-subtitle {
    display: none;
  }

  .action-item {
    padding: 16px 12px;
  }

  .nav-item {
    min-width: 56px;
    padding: 6px 8px;
  }

  .convert-row {
    grid-template-columns: 1fr;
  }

  .convert-btn {
    width: 100%;
  }
}
