/* ================================================
   QR Payment Page - Standalone
   Phiên bản: 1.0.0
   Background: BE (Ivory) - toàn bộ tone ấm
   ================================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* NỀN BE TOÀN TRANG - tone ivory ấm áp */
  background: #f5efde;
  /* Pattern nhẹ tạo chiều sâu */
  background-image:
    radial-gradient(circle at 20% 10%, rgba(212, 160, 23, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(180, 83, 9, 0.06) 0%, transparent 40%),
    linear-gradient(180deg, #f7f1e0 0%, #f5efde 60%, #efe6d2 100%);
  background-attachment: fixed;
  color: #1f2937;
  line-height: 1.5;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: #b45309;
  color: #fff;
}

/* ---------- Page Container ---------- */
.qr-page {
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 480px;
  margin: 0 auto;
  padding: 1rem;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

/* ---------- Header ---------- */
.qr-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.5rem;
}

.qr-header-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.15);
  flex-shrink: 0;
}

.qr-header-text {
  flex: 1;
  min-width: 0;
}

.qr-header-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  font-size: 1rem;
  color: #7c2d12;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.qr-header-sub {
  font-size: 0.7rem;
  color: #92400e;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ---------- QR Card ---------- */
.qr-card {
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fbbf24;
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow:
    0 12px 28px -10px rgba(180, 83, 9, 0.25),
    0 2px 6px -2px rgba(180, 83, 9, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ---------- Card Header (Bank + Account) ---------- */
.qr-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fbbf24;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.qr-card-bank {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.qr-card-bank-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(185, 28, 28, 0.3);
}

.qr-card-bank-icon svg {
  width: 20px;
  height: 20px;
}

.qr-card-bank-name {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: #7c2d12;
  line-height: 1.1;
}

.qr-card-bank-bin {
  font-size: 0.7rem;
  color: #92400e;
  font-weight: 500;
  margin-top: 2px;
}

.qr-card-account {
  text-align: right;
  min-width: 0;
}

.qr-card-account-label {
  font-size: 0.65rem;
  color: #92400e;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.qr-card-account-num {
  font-size: 0.95rem;
  font-weight: 800;
  color: #7c2d12;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  margin-top: 1px;
}

/* ---------- QR Frame ---------- */
.qr-frame {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  box-shadow:
    0 18px 40px -12px rgba(180, 83, 9, 0.4),
    0 0 0 1px rgba(245, 158, 11, 0.3),
    inset 0 0 0 2px rgba(255, 255, 255, 0.7);
  overflow: hidden;
  perspective: 800px;
}

/* 4 góc trang trí - giả lập finder pattern */
.qr-frame-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 3px solid #b45309;
  border-radius: 4px;
  pointer-events: none;
  z-index: 4;
}

.qr-frame-corner::before {
  content: '';
  position: absolute;
  inset: 4px;
  background: #b45309;
  border-radius: 2px;
}

.qr-frame-corner--tl { top: 4px; left: 4px; }
.qr-frame-corner--tr { top: 4px; right: 4px; }
.qr-frame-corner--bl { bottom: 4px; left: 4px; }
.qr-frame-corner--br { bottom: 4px; right: 4px; }

/* QR SVG container */
.qr-svg {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.qr-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Module animation: fade-in stagger khi mới load */
.qr-module {
  opacity: 0;
  transform: scale(0.3) translateZ(-30px);
  transform-origin: center center;
  animation: qrModuleEnter 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  transform-box: fill-box;
}

@keyframes qrModuleEnter {
  0% {
    opacity: 0;
    transform: scale(0.3) translateZ(-30px) rotateY(45deg);
  }
  60% {
    opacity: 1;
    transform: scale(1.1) translateZ(5px) rotateY(0deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateZ(0) rotateY(0deg);
  }
}

/* Logo ở giữa QR */
.qr-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18%;
  height: 18%;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #b45309 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 6px 16px -4px rgba(180, 83, 9, 0.5),
    0 0 0 4px #ffffff,
    0 0 0 6px rgba(245, 158, 11, 0.35);
  z-index: 5;
  opacity: 0;
  animation: logoEnter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s forwards;
}

@keyframes logoEnter {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.3) rotateZ(-180deg); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1) rotateZ(0); }
}

.qr-logo-text {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

/* Shimmer animation */
.qr-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  animation: qrShimmer 3.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: overlay;
}

@keyframes qrShimmer {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

/* QR caption */
.qr-caption {
  font-size: 0.78rem;
  font-weight: 600;
  color: #92400e;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  margin-top: -0.25rem;
}

/* Recipient */
.qr-recipient {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 12px;
}

.qr-recipient-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.3);
}

.qr-recipient-info {
  flex: 1;
  min-width: 0;
}

.qr-recipient-label {
  font-size: 0.65rem;
  color: #92400e;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.qr-recipient-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: #7c2d12;
  letter-spacing: 0.02em;
  margin-top: 1px;
}

/* ---------- Amount Input ---------- */
.amount-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.amount-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #7c2d12;
  letter-spacing: 0.02em;
}

.amount-label svg {
  width: 16px;
  height: 16px;
  stroke: #b45309;
}

.amount-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid #fbbf24;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.amount-input-wrap:focus-within {
  border-color: #b45309;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}

.amount-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.85rem 0.75rem;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 800;
  color: #7c2d12;
  outline: none;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  min-width: 0;
}

.amount-input::placeholder {
  color: #d1d5db;
  font-weight: 700;
}

.amount-input-suffix {
  font-size: 1rem;
  font-weight: 700;
  color: #b45309;
  padding-right: 0.5rem;
  flex-shrink: 0;
}

.amount-input-clear {
  width: 32px;
  height: 32px;
  margin-right: 0.4rem;
  background: rgba(180, 83, 9, 0.1);
  border: none;
  border-radius: 50%;
  color: #92400e;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.amount-input-clear.visible {
  display: flex;
}

.amount-input-clear:hover {
  background: rgba(180, 83, 9, 0.2);
}

.amount-input-clear svg {
  width: 14px;
  height: 14px;
}

/* Quick amount buttons */
.amount-quick {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem;
}

.amount-quick-btn {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 8px;
  padding: 0.45rem 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #92400e;
  cursor: pointer;
  transition: all 0.2s ease;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.amount-quick-btn:hover,
.amount-quick-btn:active {
  background: #fbbf24;
  color: #fff;
  border-color: #b45309;
  transform: translateY(-1px);
}

.amount-quick-btn.active {
  background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
  color: #fff;
  border-color: #b45309;
}

/* Amount display */
.amount-display {
  text-align: center;
  padding: 0.65rem 0.5rem 0;
}

.amount-display-text {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 800;
  background: linear-gradient(135deg, #b45309 0%, #7c2d12 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease;
  display: inline-block;
}

.amount-display-text.bump {
  animation: amountBump 0.35s ease;
}

@keyframes amountBump {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ---------- Transfer Button ---------- */
.transfer-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow:
    0 8px 22px -8px rgba(185, 28, 28, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.transfer-btn:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 28px -10px rgba(185, 28, 28, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.transfer-btn:not(:disabled):active {
  transform: translateY(0);
}

.transfer-btn:disabled {
  background: #d4c5a0;
  color: rgba(255, 255, 255, 0.8);
  cursor: not-allowed;
  box-shadow: none;
}

.transfer-btn svg {
  width: 20px;
  height: 20px;
}

/* Shimmer effect on transfer button */
.transfer-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.transfer-btn:not(:disabled):hover::after {
  transform: translateX(100%);
}

/* ---------- Windows Download Button ---------- */
.win-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(180, 83, 9, 0.5);
  border-radius: 12px;
  color: #92400e;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.win-download-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: #b45309;
  color: #7c2d12;
}

.win-download-btn[data-href=""] {
  opacity: 0.65;
  cursor: not-allowed;
}

.win-download-btn svg {
  width: 16px;
  height: 16px;
}

/* ---------- Footer ---------- */
.qr-footer {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.5rem 0.25rem 0;
  text-align: center;
}

.qr-footer-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: #92400e;
  font-weight: 500;
  line-height: 1.4;
}

.qr-footer-row svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: #b45309;
}

.qr-footer-copy {
  font-size: 0.65rem;
  color: #a16207;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ================================================
   MODAL - App Selector
   ================================================ */
.app-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  pointer-events: none;
}

.app-modal[aria-hidden="false"] {
  pointer-events: auto;
}

.app-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.app-modal[aria-hidden="false"] .app-modal-backdrop {
  opacity: 1;
}

.app-modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #fefdf9;
  border-radius: 20px 20px 0 0;
  padding: 1.25rem 1rem 1.5rem;
  box-shadow: 0 -10px 40px -10px rgba(0, 0, 0, 0.25);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 85vh;
  overflow-y: auto;
}

.app-modal[aria-hidden="false"] .app-modal-card {
  transform: translateY(0);
}

@media (min-width: 640px) {
  .app-modal {
    align-items: center;
    padding: 1rem;
  }

  .app-modal-card {
    border-radius: 20px;
    max-width: 460px;
  }
}

.app-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  background: rgba(180, 83, 9, 0.08);
  border: none;
  border-radius: 50%;
  color: #92400e;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
  z-index: 2;
}

.app-modal-close:hover {
  background: rgba(180, 83, 9, 0.18);
}

.app-modal-close svg {
  width: 18px;
  height: 18px;
}

.app-modal-header {
  text-align: center;
  padding: 0.5rem 2.5rem 0.5rem;
  margin-bottom: 1rem;
}

.app-modal-icon-box {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24 0%, #b45309 100%);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px -4px rgba(180, 83, 9, 0.4);
}

.app-modal-icon-box svg {
  width: 26px;
  height: 26px;
}

.app-modal-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #7c2d12;
  letter-spacing: 0.01em;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.app-modal-sub {
  font-size: 0.85rem;
  color: #92400e;
  font-weight: 500;
}

.app-modal-sub strong {
  color: #b45309;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* App Grid */
.app-modal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}

@media (min-width: 480px) {
  .app-modal-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.4rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.app-item:hover,
.app-item:active {
  border-color: #fbbf24;
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -6px rgba(180, 83, 9, 0.3);
}

.app-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.95rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.app-item-name {
  font-size: 0.7rem;
  font-weight: 600;
  color: #4b5563;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* App brand colors */
.app-momo { background: linear-gradient(135deg, #A50064 0%, #d6006c 100%); }
.app-mbbank { background: linear-gradient(135deg, #002b6b 0%, #0050b3 100%); }
.app-vcb { background: linear-gradient(135deg, #006a4e 0%, #00876b 100%); }
.app-tcb { background: linear-gradient(135deg, #c8102e 0%, #e63946 100%); }
.app-bidv { background: linear-gradient(135deg, #0033a0 0%, #1a4cc7 100%); }
.app-vtb { background: linear-gradient(135deg, #00529b 0%, #0066b3 100%); }
.app-acb { background: linear-gradient(135deg, #003366 0%, #004d99 100%); }
.app-tpb { background: linear-gradient(135deg, #6b21a8 0%, #9333ea 100%); }
.app-stb { background: linear-gradient(135deg, #003a70 0%, #0a4a8a 100%); }
.app-hdb { background: linear-gradient(135deg, #ff6b00 0%, #ff8c1a 100%); }
.app-shb { background: linear-gradient(135deg, #0080c6 0%, #1e90d6 100%); }
.app-zalopay { background: linear-gradient(135deg, #0068FF 0%, #2196f3 100%); }
.app-vnpay { background: linear-gradient(135deg, #005baa 0%, #1e88e5 100%); }
.app-viettelpay { background: linear-gradient(135deg, #e60000 0%, #ff1744 100%); }

/* Modal tip */
.app-modal-tip {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #fffbeb;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 12px;
  font-size: 0.75rem;
  color: #92400e;
  line-height: 1.4;
}

.app-modal-tip svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: #b45309;
  margin-top: 1px;
}

/* ================================================
   TOAST
   ================================================ */
.toast {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(-200%);
  background: #7c2d12;
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 30px -8px rgba(124, 45, 18, 0.4);
  z-index: 200;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  pointer-events: none;
  max-width: 90vw;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (min-width: 640px) {
  .qr-page {
    padding: 2rem 1.5rem;
  }

  .qr-card {
    padding: 1.75rem;
  }

  .qr-header-logo {
    width: 48px;
    height: 48px;
  }

  .qr-header-title {
    font-size: 1.15rem;
  }
}

@media (max-width: 360px) {
  .amount-quick {
    grid-template-columns: repeat(3, 1fr);
  }

  .app-modal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  .qr-module {
    opacity: 1;
    transform: none;
  }

  .qr-logo {
    opacity: 1;
  }
}
