body.app-theme {
  --theme-bg: #f6f8fb;
  --theme-surface: #ffffff;
  --theme-ink: #121826;
  --theme-muted: #657083;
  --theme-line: #dfe6ee;
  --theme-soft-line: rgba(18, 24, 38, 0.08);
  --theme-accent: #16a085;
  --theme-accent-dark: #0e7c68;
  --theme-gold: #f5b942;
  --theme-danger: #d64545;
  --theme-shadow: 0 16px 40px rgba(18, 24, 38, 0.10);
  background: linear-gradient(180deg, #f6f8fb 0%, #edf4f3 52%, #f8fafb 100%);
  color: var(--theme-ink);
  letter-spacing: 0;
  min-height: 100vh;
}

body.app-theme.dark-mode {
  background: linear-gradient(180deg, #f6f8fb 0%, #edf4f3 52%, #f8fafb 100%);
  color: var(--theme-ink);
}

body.app-theme.dark-mode .card,
body.app-theme.dark-mode .listview,
body.app-theme.dark-mode .listview.inset,
body.app-theme.dark-mode .premium-panel,
body.app-theme.dark-mode .transactions .item,
body.app-theme.dark-mode .standalone-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--theme-line);
  color: var(--theme-ink);
}

body.app-theme.dark-mode .appHeader,
body.app-theme.dark-mode .appHeader .pageTitle,
body.app-theme.dark-mode .appHeader .pageTitle h2,
body.app-theme.dark-mode .appHeader .headerButton,
body.app-theme.dark-mode .section-title,
body.app-theme.dark-mode .section-heading .title,
body.app-theme.dark-mode h1,
body.app-theme.dark-mode h2,
body.app-theme.dark-mode h3,
body.app-theme.dark-mode h4,
body.app-theme.dark-mode .card .card-title,
body.app-theme.dark-mode .form-group .label,
body.app-theme.dark-mode .form-check .form-check-label,
body.app-theme.dark-mode .transactions .item .detail strong,
body.app-theme.dark-mode .transactions .item .right .price,
body.app-theme.dark-mode .listview > li strong {
  color: var(--theme-ink) !important;
}

body.app-theme.dark-mode .form-group.basic .form-control,
body.app-theme.dark-mode .form-group.basic .custom-select {
  background: transparent;
  border-bottom-color: var(--theme-line);
  color: var(--theme-ink);
}

body.app-theme.dark-mode .form-group .input-info,
body.app-theme.dark-mode .transactions .item p,
body.app-theme.dark-mode .listview > li span,
body.app-theme.dark-mode .form-control::placeholder,
body.app-theme.dark-mode.auth-page .auth-title h4,
body.app-theme.dark-mode .standalone-card p {
  color: var(--theme-muted);
}

body.app-theme.dark-mode .wallet-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 16px),
    linear-gradient(145deg, #101828 0%, #143735 58%, #0e7c68 100%);
}

body.app-theme.dark-mode .wallet-card .balance .title {
  color: rgba(255, 255, 255, 0.64) !important;
}

body.app-theme.dark-mode .wallet-card .balance .total {
  color: #ffffff !important;
}

body.app-theme.dark-mode .wallet-card .balance .right .button {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #bff7e9 !important;
}

body.app-theme.dark-mode .text-success,
.app-theme .text-success {
  color: #10a86e !important;
}

body.app-theme.dark-mode .text-danger,
.app-theme .text-danger {
  color: #ff396f !important;
}

.app-theme .appHeader,
.app-theme .appHeader.bg-primary,
.app-theme .appHeader.bg-secondary,
.app-theme .appHeader.bg-success,
.app-theme .appHeader.bg-warning,
.app-theme .appHeader.bg-danger,
.app-theme .appHeader.bg-info,
.app-theme .appHeader.bg-light,
.app-theme .appHeader.bg-dark {
  background: transparent !important;
  border-bottom: 0;
  box-shadow: none;
  color: var(--theme-ink) !important;
}

.app-theme .appHeader:before,
.app-theme .appHeader.bg-primary:before,
.app-theme .appHeader.bg-secondary:before,
.app-theme .appHeader.bg-success:before,
.app-theme .appHeader.bg-warning:before,
.app-theme .appHeader.bg-danger:before,
.app-theme .appHeader.bg-info:before,
.app-theme .appHeader.bg-light:before,
.app-theme .appHeader.bg-dark:before {
  background: transparent !important;
}

.app-theme .appHeader .headerButton,
.app-theme .appHeader.text-light .headerButton {
  color: var(--theme-ink) !important;
}

.app-theme .appHeader .pageTitle,
.app-theme .appHeader .pageTitle h2 {
  color: var(--theme-ink);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0;
}

.app-theme #appCapsule {
  padding-top: 76px;
  padding-bottom: 28px;
}

.app-theme .card,
.app-theme .listview.inset,
.app-theme .premium-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(18, 24, 38, 0.06);
}

.app-theme .card .card-body {
  padding: 16px;
}

.app-theme .section-title,
.app-theme .section-heading .title,
.app-theme h1,
.app-theme h2,
.app-theme h3,
.app-theme h4,
.app-theme .card .card-title,
.app-theme .form-group .label,
.app-theme .transactions .item .detail strong,
.app-theme .listview > li strong {
  color: var(--theme-ink);
  letter-spacing: 0;
}

.app-theme .section-title {
  padding: 10px 0 8px;
  font-size: 14px;
  font-weight: 700;
}

.app-theme .section-heading {
  align-items: center;
  margin-bottom: 12px;
}

.app-theme .section-heading .link,
.app-theme a {
  color: var(--theme-accent-dark);
}

.app-theme .btn-primary,
.app-theme .btn-danger,
.app-theme .premium-button {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #101828, #0e7c68) !important;
  color: #ffffff !important;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  box-shadow: 0 18px 34px rgba(14, 124, 104, 0.24) !important;
}

.app-theme .btn-danger {
  background: linear-gradient(135deg, #d64545, #8d2638) !important;
  box-shadow: 0 16px 30px rgba(214, 69, 69, 0.22) !important;
}

.app-theme .form-group.basic .form-control,
.app-theme .form-group.basic .custom-select {
  height: 48px;
  border-bottom-color: var(--theme-line);
  color: var(--theme-ink);
  font-size: 15px;
}

.app-theme .form-group.basic .form-control:focus,
.app-theme .form-group.basic .custom-select:focus {
  border-bottom-color: var(--theme-accent);
  box-shadow: inset 0 -1px 0 0 var(--theme-accent);
}

.app-theme .form-group .input-info,
.app-theme .transactions .item p,
.app-theme .listview > li span,
.app-theme .form-control::placeholder {
  color: var(--theme-muted);
}

.app-theme .input-list .form-check .form-check-label {
  min-height: 58px;
  padding-top: 8px;
  padding-bottom: 8px;
  color: var(--theme-ink);
  font-weight: 600;
}

.app-theme .method-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.app-theme .method-gcash {
  background: linear-gradient(135deg, #175cff, #24c6ff);
}

.app-theme .method-maya {
  background: linear-gradient(135deg, #00a86b, #9be15d);
}

.app-theme .method-gotyme {
  background: linear-gradient(135deg, #082c62, #00a9b7);
}

.app-theme .form-check-input:checked ~ .form-check-label:after {
  background-color: var(--theme-accent);
  border-color: var(--theme-accent) !important;
}

.app-theme .alert,
.app-theme .alert-outline-danger {
  border-radius: 8px;
  border: 1px solid rgba(214, 69, 69, 0.20);
  background: #fff7f2;
  color: #7d3b25;
  box-shadow: none;
  font-size: 12px;
  line-height: 1.45;
}

.app-theme .wallet-card-section {
  padding-top: 0 !important;
}

.app-theme .wallet-card-section:before {
  display: none;
}

.app-theme .wallet-card {
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 16px),
    linear-gradient(145deg, #101828 0%, #143735 58%, #0e7c68 100%);
  box-shadow: var(--theme-shadow);
}

.app-theme .wallet-card .balance {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.app-theme .wallet-card .balance .title {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.app-theme .wallet-card .balance .total {
  color: #ffffff;
  font-size: 32px;
  letter-spacing: 0;
}

.app-theme .wallet-card .balance .right .button {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #bff7e9;
}

.app-theme .wallet-card .wallet-footer {
  border-top: 0;
  background: transparent;
}

.app-theme .transactions {
  display: grid;
  gap: 10px;
}

.app-theme .transactions .item {
  margin: 0;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(18, 24, 38, 0.05);
}

.app-theme .transactions .item .detail .image-block {
  border-radius: 8px;
}

.app-theme .transactions .item .right .price {
  font-weight: 700;
}

.auth-page #appCapsule {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.auth-page .auth-shell {
  width: 100%;
}

.auth-page .auth-title {
  margin-bottom: 18px;
}

.auth-page .auth-title h1 {
  font-size: 30px;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 8px;
}

.auth-page .auth-title h4 {
  color: var(--theme-muted);
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

body.login-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(0, 110, 232, 0.12) 0%, rgba(0, 167, 167, 0.08) 44%, #f6f8fb 100%),
    #f6f8fb;
}

body.login-page:before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 280px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, #006ee8 0%, #075dc6 54%, #00a7a7 100%);
  background-size: 42px 42px, 42px 42px, auto;
  z-index: 0;
  pointer-events: none;
}

.login-page #appCapsule {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 28px 12px !important;
}

.login-shell {
  width: 100%;
  display: grid;
  gap: 14px;
}

.login-hero-card,
.login-panel {
  border-radius: 8px;
}

.login-hero-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 16px;
  min-height: 220px;
  padding: 16px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, #006ee8 0%, #075dc6 54%, #00a7a7 100%);
  box-shadow: 0 22px 42px rgba(0, 70, 150, 0.22);
}

.login-hero-card:before {
  content: "";
  position: absolute;
  top: -56px;
  right: -44px;
  width: 154px;
  height: 154px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(26deg);
  z-index: -1;
}

.login-hero-card:after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #50f2bd 0%, rgba(255, 255, 255, 0.68) 44%, rgba(255, 255, 255, 0.08) 100%);
  opacity: 0.86;
}

.login-hero-top {
  display: flex;
  align-items: center;
  min-width: 0;
}

.login-brand-logo {
  width: min(100%, 236px);
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  padding: 8px 12px 8px 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 28px rgba(0, 47, 110, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
}

.login-logo-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
}

.login-logo-name {
  width: 152px;
  max-width: calc(100% - 52px);
  height: auto;
  object-fit: contain;
}

.login-brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.login-brand-mark ion-icon {
  font-size: 23px;
}

.login-brand-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.login-brand-copy strong,
.login-access-preview strong,
.login-trust-grid strong,
.login-panel-head h1,
.login-field span,
.login-submit,
.login-secure-copy {
  letter-spacing: 0;
}

.login-brand-copy strong {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 800;
}

.login-brand-copy small,
.login-access-preview span,
.login-access-preview p,
.login-trust-grid small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
}

.login-access-preview {
  display: grid;
  gap: 5px;
  min-width: 0;
  max-width: 360px;
}

.login-access-preview span {
  font-weight: 800;
}

.login-access-preview strong {
  color: #ffffff;
  font-size: 26px;
  line-height: 1.05;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.login-access-preview p {
  max-width: 334px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  line-height: 1.32;
  font-weight: 600;
}

.login-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding-bottom: 12px;
}

.login-trust-grid span {
  min-height: 46px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon copy";
  align-items: center;
  column-gap: 6px;
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.11);
}

.login-trust-grid ion-icon {
  grid-area: icon;
  font-size: 16px;
}

.login-trust-grid strong {
  grid-area: title;
  color: #ffffff;
  font-size: 10px;
  line-height: 1.08;
  font-weight: 800;
  min-width: 0;
}

.login-trust-grid small {
  grid-area: copy;
  color: rgba(255, 255, 255, 0.72);
  font-size: 8px;
  line-height: 1.08;
  font-weight: 700;
  min-width: 0;
}

.login-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(223, 230, 238, 0.96);
  box-shadow: 0 18px 42px rgba(18, 24, 38, 0.12);
  padding: 20px;
}

.login-panel-head {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

.login-panel-head h1 {
  color: var(--theme-ink);
  font-size: 27px;
  line-height: 1.08;
  font-weight: 800;
  margin: 0;
}

.login-panel-head p,
.login-secure-copy {
  color: var(--theme-muted);
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

.login-alert {
  min-height: 42px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border-radius: 8px;
  margin-bottom: 14px;
  padding: 11px 12px;
  background: #fff2f3;
  color: #d82646;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.login-alert ion-icon {
  flex: 0 0 auto;
  font-size: 18px;
  margin-top: 1px;
}

.login-form {
  display: grid;
  gap: 13px;
}

.login-field {
  display: grid;
  gap: 7px;
  margin: 0;
}

.login-field > span {
  color: #52617a;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}

.login-field-control {
  min-height: 52px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  border-radius: 8px;
  border: 1px solid #dce5f1;
  background: #f8fbff;
  padding: 0 12px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.login-field-control:focus-within {
  border-color: #006ee8;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 110, 232, 0.11);
}

.login-field-control > ion-icon {
  color: #006ee8;
  font-size: 20px;
}

.login-field-control input {
  width: 100%;
  min-width: 0;
  height: 50px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--theme-ink);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
}

.login-field-control input::placeholder {
  color: #8b97aa;
  font-weight: 600;
}

.login-password-toggle {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #5c6f8f;
  padding: 0;
}

.login-password-toggle ion-icon {
  font-size: 20px;
}

.login-submit {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  margin-top: 3px;
  padding: 0 18px;
  background: linear-gradient(135deg, #006ee8 0%, #075dc6 52%, #00a7a7 100%);
  color: #ffffff;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(0, 110, 232, 0.28);
}

.login-submit ion-icon {
  font-size: 18px;
}

.login-secure-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  margin-top: 15px;
  color: #52617a;
  font-weight: 700;
}

.login-secure-copy ion-icon {
  color: #00a7a7;
  font-size: 15px;
  flex: 0 0 auto;
}

body.app-theme.dark-mode.login-page {
  background:
    linear-gradient(180deg, rgba(0, 110, 232, 0.12) 0%, rgba(0, 167, 167, 0.08) 44%, #f6f8fb 100%),
    #f6f8fb;
}

body.app-theme.dark-mode.login-page .login-panel,
body.app-theme.dark-mode.login-page .login-field-control {
  color: var(--theme-ink);
}

body.app-theme.dark-mode.login-page .login-panel-head h1,
body.app-theme.dark-mode.login-page .login-field > span,
body.app-theme.dark-mode.login-page .login-field-control input {
  color: var(--theme-ink) !important;
}

.details-page .listed-detail {
  padding: 20px 16px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 16px),
    linear-gradient(145deg, #101828 0%, #143735 58%, #0e7c68 100%);
  color: #ffffff;
  box-shadow: var(--theme-shadow);
}

.details-page .listed-detail h3 {
  color: #ffffff;
  overflow-wrap: anywhere;
}

body.app-theme.dark-mode.details-page .listed-detail h3 {
  color: #ffffff !important;
}

.details-page .listview {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid var(--theme-line);
  box-shadow: 0 10px 30px rgba(18, 24, 38, 0.06);
}

.details-page .listview > li {
  min-height: 52px;
  border-color: var(--theme-line) !important;
}

.details-page .receipt-frame {
  width: 100%;
  min-height: 680px;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(18, 24, 38, 0.06);
}

.qr-page,
.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 28px 16px;
}

.standalone-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  border-radius: 8px;
  border: 1px solid var(--theme-line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--theme-shadow);
  padding: 22px;
  text-align: center;
}

.standalone-card h1 {
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
  margin: 12px 0 8px;
}

.standalone-card p {
  color: var(--theme-muted);
  font-size: 13px;
  line-height: 1.45;
}

.standalone-card .success-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #edf9f6;
  color: var(--theme-accent-dark);
  font-size: 34px;
  font-weight: 700;
}

.standalone-card .details {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 14px;
  border-radius: 8px;
  background: #f8fafc;
  color: var(--theme-ink);
  font-size: 13px;
}

.qr-frame {
  width: 100%;
  height: min(74vw, 520px);
  min-height: 320px;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background: #ffffff;
}

.success-page canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.wallet-home {
  --wallet-blue: #0068ff;
  --wallet-blue-deep: #0345b6;
  --wallet-cyan: #00c2ff;
  --wallet-green: #13b981;
  position: relative;
  overflow-x: hidden;
  background: #f4f8ff;
}

.wallet-home:before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 330px;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 18px),
    linear-gradient(145deg, #0089ff 0%, #0068ff 50%, #053b9d 100%);
}

.wallet-home .appHeader.wallet-home-header {
  color: #ffffff !important;
}

.wallet-home .appHeader.wallet-home-header .pageTitle span,
.wallet-home .appHeader.wallet-home-header .headerButton {
  color: #ffffff !important;
}

.wallet-home .appHeader.wallet-home-header .pageTitle span {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.wallet-avatar {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0, 55, 151, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.wallet-home .wallet-home-capsule {
  position: relative;
  z-index: 1;
  padding-top: 70px;
  padding-bottom: 34px;
}

.wallet-hero {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border-radius: 8px;
  padding: 22px;
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    linear-gradient(145deg, rgba(0, 194, 255, 0.36), rgba(0, 104, 255, 0.20));
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 24px 50px rgba(0, 64, 172, 0.26);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.wallet-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.16) 48%, transparent 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 58%);
  opacity: 0.78;
  pointer-events: none;
}

.wallet-hero-top,
.wallet-balance-card {
  position: relative;
  z-index: 1;
}

.wallet-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.wallet-greeting {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 600;
  margin-bottom: 8px;
}

.wallet-hero h1 {
  max-width: 290px;
  color: #ffffff !important;
  font-size: 27px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
}

.wallet-verified {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.14);
  color: #dff8ff;
  font-size: 23px;
}

.wallet-balance-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
  margin-top: 30px;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 18px 38px rgba(0, 43, 120, 0.22);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.wallet-balance-copy span {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 7px;
}

.wallet-balance-copy strong {
  display: block;
  color: #ffffff;
  font-size: 34px;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.wallet-balance-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 8px;
  padding: 0 13px;
  background: #ffffff;
  color: var(--wallet-blue) !important;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0, 62, 160, 0.20);
}

.wallet-balance-action ion-icon {
  font-size: 18px;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.quick-action {
  min-width: 0;
  min-height: 94px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.76);
  color: #12305f !important;
  font-size: 11px;
  line-height: 1.15;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 14px 30px rgba(15, 70, 150, 0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.quick-action-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ffffff;
  font-size: 23px;
  background: linear-gradient(145deg, #007bff, #0049c7);
}

.quick-action.withdraw .quick-action-icon {
  background: linear-gradient(145deg, #13b981, #087f5b);
}

.quick-action.activity .quick-action-icon {
  background: linear-gradient(145deg, #23c7ef, #0577d8);
}

.quick-action.logout .quick-action-icon {
  background: linear-gradient(145deg, #7c8ea8, #344154);
}

.wallet-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.insight-tile {
  min-width: 0;
  border-radius: 8px;
  border: 1px solid rgba(222, 232, 245, 0.88);
  background: rgba(255, 255, 255, 0.82);
  padding: 13px 12px;
  box-shadow: 0 12px 26px rgba(15, 70, 150, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.insight-tile span {
  display: block;
  color: #64748b;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 6px;
}

.insight-tile strong {
  display: block;
  color: #0f172a;
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
}

.transactions-section {
  margin-top: 24px;
}

.wallet-home .section-heading .title {
  color: #0f172a !important;
  font-size: 21px;
  line-height: 1.15;
  font-weight: 800;
}

.wallet-home .section-heading .link {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.wallet-home .wallet-transactions {
  gap: 10px;
}

.wallet-home .wallet-transaction-item {
  min-height: 76px;
  padding: 12px;
  border: 1px solid rgba(222, 232, 245, 0.92);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(15, 70, 150, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.wallet-home .wallet-transaction-item .detail {
  min-width: 0;
}

.transaction-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  border-radius: 8px;
  font-size: 22px;
}

.deposit-icon {
  background: #eef8ff;
  color: var(--wallet-blue);
}

.withdraw-icon {
  background: #ecfdf5;
  color: #0f9f6e;
}

.wallet-home .wallet-transaction-item .detail strong {
  color: #111827 !important;
  font-size: 14px;
  font-weight: 800;
}

.wallet-home .wallet-transaction-item .detail p {
  color: #64748b !important;
  font-size: 11px;
}

.wallet-home .wallet-transaction-item .right {
  padding-left: 8px;
}

.wallet-home .wallet-transaction-item .right .price {
  font-size: 13px;
  line-height: 1.25;
  white-space: nowrap;
}

.wallet-home .wallet-transaction-item .right .price p {
  margin-top: 5px;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
}

.empty-transactions {
  display: grid;
  justify-items: center;
  gap: 7px;
  border-radius: 8px;
  border: 1px solid rgba(222, 232, 245, 0.92);
  background: rgba(255, 255, 255, 0.86);
  padding: 28px 18px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(15, 70, 150, 0.08);
}

.empty-transactions ion-icon {
  color: var(--wallet-blue);
  font-size: 34px;
}

.empty-transactions strong {
  color: #111827;
  font-size: 15px;
  font-weight: 800;
}

.empty-transactions p {
  max-width: 280px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

body.app-theme.dark-mode.wallet-home {
  background: #f4f8ff;
}

body.app-theme.dark-mode.wallet-home .appHeader.wallet-home-header .pageTitle span,
body.app-theme.dark-mode.wallet-home .appHeader.wallet-home-header .headerButton,
body.app-theme.dark-mode.wallet-home .wallet-hero h1 {
  color: #ffffff !important;
}

body.app-theme.dark-mode.wallet-home .wallet-transaction-item,
body.app-theme.dark-mode.wallet-home .quick-action,
body.app-theme.dark-mode.wallet-home .insight-tile,
body.app-theme.dark-mode.wallet-home .empty-transactions {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(222, 232, 245, 0.92);
}

@media (max-width: 560px) {
  .app-theme #appCapsule {
    padding-top: 72px;
  }

  .app-theme .appHeader .pageTitle,
  .app-theme .appHeader .pageTitle h2 {
    font-size: 16px;
  }

  .auth-page #appCapsule {
    align-items: flex-start;
  }

  .login-page #appCapsule {
    align-items: center;
    padding: 16px 10px 22px !important;
  }

  .login-shell {
    gap: 11px;
  }

  .login-hero-card {
    min-height: 170px;
    padding: 16px;
  }

  .login-access-preview strong {
    font-size: 25px;
  }

  .login-access-preview p {
    font-size: 11px;
  }

  .login-trust-grid {
    gap: 6px;
  }

  .login-trust-grid span {
    padding: 9px 8px;
  }

  .login-panel {
    padding: 18px;
  }

  .login-panel-head h1 {
    font-size: 24px;
  }

  .standalone-card {
    padding: 18px;
  }

  .wallet-home:before {
    height: 300px;
  }

  .wallet-home .wallet-home-capsule {
    padding-top: 70px;
  }

  .wallet-hero {
    min-height: 246px;
    padding: 19px;
  }

  .wallet-hero h1 {
    font-size: 24px;
  }

  .wallet-balance-card {
    grid-template-columns: 1fr;
    align-items: start;
    margin-top: 24px;
  }

  .wallet-balance-copy strong {
    font-size: 30px;
  }

  .wallet-balance-action {
    width: 100%;
  }

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

  .quick-action {
    min-height: 88px;
    font-size: 10px;
  }

  .quick-action-icon {
    width: 38px;
    height: 38px;
    font-size: 21px;
  }

  .wallet-insights {
    gap: 8px;
  }

  .insight-tile {
    padding: 12px 10px;
  }

  .wallet-home .wallet-transaction-item {
    align-items: flex-start;
  }

  .wallet-home .wallet-transaction-item .right .price {
    font-size: 12px;
  }
}

.gcash-home {
  --gcash-blue: #006ee8;
  --gcash-blue-dark: #0050c8;
  --gcash-line: #e4e8ef;
  --gcash-text: #172033;
  --gcash-muted: #7a8496;
  background: #f2f3f5;
  overflow-x: hidden;
}

body.app-theme.dark-mode.gcash-home {
  background: #f2f3f5;
}

.gcash-home .appHeader.gcash-header {
  width: 100%;
  max-width: 500px;
  height: 56px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  background: #ffffff !important;
  color: var(--gcash-blue) !important;
  border-bottom: 1px solid var(--gcash-line);
  box-shadow: 0 8px 22px rgba(23, 32, 51, 0.06);
}

.gcash-home .appHeader.gcash-header:before {
  background: #ffffff !important;
}

.gcash-home .appHeader.gcash-header .headerButton,
.gcash-home .appHeader.gcash-header .pageTitle {
  color: var(--gcash-blue) !important;
}

.gcash-home .appHeader.gcash-header .left ion-icon,
.gcash-home .appHeader.gcash-header .right ion-icon {
  color: var(--gcash-blue);
  font-size: 25px;
}

.gcash-home .appHeader.gcash-header .gcash-header-menu .headerButton {
  width: 36px;
  min-width: 36px;
  height: 56px;
  border: 0 !important;
  border-radius: 0;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--gcash-blue) !important;
  cursor: pointer;
  line-height: 1;
}

.gcash-header-menu .dropdown-toggle:after {
  display: none;
}

.gcash-home .appHeader.gcash-header .gcash-header-menu .headerButton:focus,
.gcash-home .appHeader.gcash-header .gcash-header-menu .headerButton:active {
  border: 0 !important;
  outline: 0;
  background: transparent !important;
  box-shadow: none !important;
}

.gcash-home .appHeader.gcash-header .gcash-header-menu .headerButton:focus-visible {
  border-radius: 8px;
  outline: 2px solid rgba(0, 110, 232, 0.26);
  outline-offset: -9px;
}

.gcash-header-menu .gcash-action-menu {
  min-width: 178px;
  margin-top: -6px !important;
  padding: 7px;
  border: 1px solid rgba(0, 110, 232, 0.10);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(23, 32, 51, 0.14);
}

.gcash-header-menu .gcash-action-menu .dropdown-item {
  min-height: 42px;
  gap: 9px;
  border-radius: 8px;
  padding: 10px 11px;
  color: #172033;
  font-size: 13px;
  font-weight: 700;
}

.gcash-header-menu .gcash-action-menu .dropdown-item ion-icon {
  width: 22px;
  height: 22px;
  margin-right: 0;
  color: var(--gcash-blue);
  font-size: 20px;
}

.gcash-header-menu .gcash-action-menu .dropdown-item:hover,
.gcash-header-menu .gcash-action-menu .dropdown-item:focus {
  background: rgba(0, 110, 232, 0.08);
  color: #172033;
}

body.app-theme.dark-mode.gcash-home .gcash-header-menu .gcash-action-menu {
  background: #ffffff;
  border-color: rgba(0, 110, 232, 0.10);
}

body.app-theme.dark-mode.gcash-home .gcash-header-menu .gcash-action-menu .dropdown-item,
body.app-theme.dark-mode.gcash-home .gcash-header-menu .gcash-action-menu .dropdown-item:hover,
body.app-theme.dark-mode.gcash-home .gcash-header-menu .gcash-action-menu .dropdown-item:focus {
  color: #172033;
}

body.app-theme.dark-mode.gcash-home .gcash-header-menu .gcash-action-menu .dropdown-item ion-icon {
  color: var(--gcash-blue) !important;
}

.gcash-link-modal .modal-dialog {
  width: min(100% - 22px, 460px);
  margin-left: auto;
  margin-right: auto;
}

.gcash-link-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 52px rgba(23, 32, 51, 0.22);
}

.gcash-link-modal-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 15px;
  border-bottom: 1px solid #e5edf7;
}

.gcash-link-modal-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(0, 110, 232, 0.10);
  color: var(--gcash-blue);
  font-size: 23px;
}

.gcash-link-modal-head h2,
.gcash-link-modal-head p {
  margin: 0;
  letter-spacing: 0;
}

.gcash-link-modal-head h2 {
  color: #172033;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 800;
}

.gcash-link-modal-head p {
  color: #64748b;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
}

.gcash-link-modal-close {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: #f3f7fb;
  color: #172033;
  font-size: 22px;
}

.gcash-link-modal-body {
  display: grid;
  gap: 9px;
  padding: 15px;
}

.gcash-generated-link-field {
  display: grid;
  gap: 7px;
  margin: 0;
}

.gcash-generated-link-field span {
  color: #172033;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
}

.gcash-generated-link-field input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #d6e2f0;
  border-radius: 8px;
  background: #f8fbff;
  color: #172033;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  padding: 10px 12px;
}

.gcash-copy-status {
  min-height: 18px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0;
}

.gcash-copy-status.is-copied {
  color: #0e9f6e;
}

.gcash-link-modal-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  padding: 0 15px 15px;
}

.gcash-copy-button,
.gcash-open-link-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
}

.gcash-copy-button {
  border: 0;
  background: linear-gradient(135deg, var(--gcash-blue), #00a7a7);
  color: #ffffff;
}

.gcash-open-link-button {
  border: 1px solid #d6e2f0;
  background: #ffffff;
  color: var(--gcash-blue);
}

.gcash-copy-button ion-icon,
.gcash-open-link-button ion-icon {
  font-size: 18px;
}

body.app-theme.dark-mode.gcash-home .gcash-link-modal .modal-content,
body.app-theme.dark-mode.gcash-home .gcash-open-link-button {
  background: #ffffff;
}

body.app-theme.dark-mode.gcash-home .gcash-link-modal-head h2,
body.app-theme.dark-mode.gcash-home .gcash-generated-link-field span,
body.app-theme.dark-mode.gcash-home .gcash-generated-link-field input,
body.app-theme.dark-mode.gcash-home .gcash-link-modal-close {
  color: #172033 !important;
}

body.app-theme.dark-mode.gcash-home .gcash-link-modal-head p,
body.app-theme.dark-mode.gcash-home .gcash-copy-status {
  color: #64748b;
}

body.app-theme.dark-mode.gcash-home .gcash-copy-status.is-copied {
  color: #0e9f6e;
}

.gcash-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  min-height: 34px;
  border-radius: 8px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  transform: translateY(4px);
}

.gcash-brand img {
  display: block;
  width: 136px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.gcash-mark {
  width: 23px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.84);
  background: #0a4ed8;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0, 28, 92, 0.22);
}

.gcash-home .gcash-capsule {
  width: 100%;
  max-width: 500px;
  padding: 56px 0 34px !important;
  background: #f2f3f5;
}

.gcash-wallet-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 12px;
  padding: 18px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, var(--gcash-blue) 0%, #075dc6 54%, #00a7a7 100%);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(0, 70, 150, 0.2);
}

.gcash-wallet-card:before {
  content: "";
  position: absolute;
  top: -72px;
  right: -58px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(26deg);
  z-index: -1;
}

.gcash-wallet-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.22;
  z-index: -2;
}

.gcash-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.gcash-card-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.gcash-card-icon ion-icon {
  font-size: 22px;
}

.gcash-card-accent {
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #50f2bd 0%, rgba(255, 255, 255, 0.72) 44%, rgba(255, 255, 255, 0.08) 100%);
  opacity: 0.86;
}

.gcash-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 420px;
  height: 38px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(0, 45, 145, 0.28);
}

.gcash-tabs span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  font-weight: 700;
}

.gcash-tabs span.active {
  color: #ffffff;
}

.gcash-tabs span.active:after {
  content: "";
  position: absolute;
  left: 28%;
  right: 28%;
  bottom: -1px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: #ffffff;
}

.gcash-balance {
  display: grid;
  justify-items: start;
  width: 100%;
  margin-top: 28px;
}

.gcash-greeting {
  display: grid;
  justify-items: start;
  gap: 4px;
  max-width: 100%;
  color: #ffffff;
  text-align: left;
  overflow-wrap: anywhere;
}

.gcash-greeting span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.1;
  font-weight: 700;
}

.gcash-greeting strong {
  color: #ffffff;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
}

.gcash-balance-amount {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  color: #ffffff;
}

.gcash-balance-amount span {
  align-self: flex-start;
  padding-top: 8px;
  font-size: 12px;
  font-weight: 800;
}

.gcash-balance-amount strong {
  color: #ffffff;
  font-size: 37px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

.gcash-balance-amount ion-icon {
  color: #ffffff;
  font-size: 23px;
}

.gcash-balance-label {
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 5px;
}

.gcash-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: #ffffff;
  padding: 12px 4px 7px;
}

.gcash-service {
  min-width: 0;
  min-height: 69px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  padding: 3px 3px 6px;
  color: #5c6676 !important;
  text-align: center;
  font-size: 10px;
  line-height: 1.15;
  font-weight: 500;
}

.gcash-service span:last-child {
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.gcash-service-icon {
  width: 31px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gcash-blue);
  font-size: 25px;
}

.gcash-service:nth-child(5) .gcash-service-icon,
.gcash-service:nth-child(6) .gcash-service-icon,
.gcash-service:nth-child(7) .gcash-service-icon {
  color: #1a86d9;
}

.gcash-service:nth-child(9) .gcash-service-icon {
  color: #0f75d9;
}

.gcash-history-row {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 9px;
  padding: 0 15px;
  background: #ffffff;
  color: #4f5868 !important;
  border-top: 1px solid #eceff4;
  border-bottom: 1px solid #eceff4;
  font-size: 13px;
  font-weight: 500;
}

.gcash-history-row span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.gcash-history-row ion-icon {
  color: #5b6473;
  font-size: 21px;
}

.gcash-promo-section {
  margin-top: 9px;
  padding: 14px 11px 12px;
  background: #f4f4f4;
}

.gcash-promo-section h2 {
  color: #262b35 !important;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 2px;
}

.gcash-promo-section > p {
  color: #6d7480;
  font-size: 9px;
  line-height: 1.25;
  margin: 0 0 12px;
}

.gcash-promo-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 126px;
  border-radius: 8px;
  border: 1px solid #dedede;
  background: #ffffff;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(16, 24, 40, 0.18);
}

.gcash-promo-art {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(0, 110, 232, 0.08), rgba(255, 198, 41, 0.16));
}

.promo-phone {
  position: relative;
  width: 70px;
  height: 88px;
  border-radius: 16px;
  background: linear-gradient(160deg, #0074ef 0 58%, #ffc629 58% 100%);
  box-shadow: inset 0 0 0 5px #ffffff, 0 8px 18px rgba(0, 89, 190, 0.22);
}

.promo-phone:before {
  content: "";
  position: absolute;
  left: 20px;
  top: 14px;
  width: 30px;
  height: 24px;
  border-radius: 6px;
  background: #ffffff;
}

.promo-phone span {
  position: absolute;
  left: 19px;
  top: 18px;
  color: #0b59b8;
  font-size: 8px;
  font-weight: 800;
}

.gcash-promo-copy h3 {
  color: #202633 !important;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 5px;
  overflow-wrap: anywhere;
}

.gcash-promo-copy p {
  color: #4c5666;
  font-size: 12px;
  line-height: 1.35;
  margin: 0 0 10px;
  overflow-wrap: anywhere;
}

.gcash-promo-button {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #064bdc;
  color: #ffffff !important;
  padding: 0 22px;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  box-shadow: 0 5px 12px rgba(0, 65, 190, 0.22);
}

.gcash-promo-ads {
  padding-bottom: 14px;
}

.gcash-ad-card {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  padding: 15px 14px;
  color: #ffffff !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), transparent 42%),
    linear-gradient(135deg, #0077ef 0%, #0053d8 52%, #00a887 100%),
    #006ee8 !important;
  box-shadow: 0 10px 22px rgba(0, 65, 190, 0.18);
}

.gcash-ad-icon {
  margin-top: 2px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 24px;
}

.gcash-ad-copy {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.gcash-ad-copy strong {
  color: #ffffff !important;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 800;
}

.gcash-ad-copy small {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  line-height: 1.35;
}

.gcash-ad-button {
  width: max-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  margin-top: 4px;
  padding: 0 15px;
  background: #ffffff;
  color: #0053d8 !important;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  box-shadow: 0 5px 12px rgba(0, 22, 96, 0.14);
}

.gcash-recent {
  padding: 4px 11px 24px;
  background: #f4f4f4;
}

.gcash-recent-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 10px;
}

.gcash-recent-heading h2 {
  color: #202633 !important;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  margin: 0;
}

.gcash-recent-heading span {
  color: #7a8496;
  font-size: 11px;
  font-weight: 700;
}

.gcash-transaction-list {
  display: grid;
  gap: 8px;
}

.gcash-transaction-item {
  min-height: 66px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-radius: 8px;
  border: 1px solid #e2e6ee;
  background: #ffffff;
  padding: 10px;
  color: #202633 !important;
  box-shadow: 0 2px 5px rgba(16, 24, 40, 0.06);
}

.gcash-transaction-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 23px;
}

.gcash-transaction-icon.is-in {
  background: #eef7ff;
  color: var(--gcash-blue);
}

.gcash-transaction-icon.is-out {
  background: #eefaf5;
  color: #0aa56d;
}

.gcash-transaction-main,
.gcash-transaction-side {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.gcash-transaction-main strong {
  color: #202633 !important;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
}

.gcash-transaction-main small {
  color: #6d7480;
  font-size: 10px;
  line-height: 1.2;
}

.gcash-transaction-side {
  justify-items: end;
  text-align: right;
}

.gcash-transaction-side strong {
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  white-space: nowrap;
}

.gcash-transaction-side small {
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
}

.gcash-empty {
  display: grid;
  justify-items: center;
  gap: 6px;
  border-radius: 8px;
  border: 1px solid #e2e6ee;
  background: #ffffff;
  padding: 24px 14px;
  text-align: center;
}

.gcash-empty ion-icon {
  color: var(--gcash-blue);
  font-size: 30px;
}

.gcash-empty strong {
  color: #202633;
  font-size: 13px;
  font-weight: 800;
}

.gcash-empty p {
  color: #6d7480;
  font-size: 11px;
  line-height: 1.35;
  margin: 0;
}

body.app-theme.dark-mode.gcash-home .appHeader.gcash-header,
body.app-theme.dark-mode.gcash-home .appHeader.gcash-header:before {
  background: #ffffff !important;
}

body.app-theme.dark-mode.gcash-home .appHeader.gcash-header .headerButton,
body.app-theme.dark-mode.gcash-home .appHeader.gcash-header .pageTitle,
body.app-theme.dark-mode.gcash-home .gcash-header ion-icon {
  color: var(--gcash-blue) !important;
}

body.app-theme.dark-mode.gcash-home .gcash-wallet-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, var(--gcash-blue) 0%, #075dc6 54%, #00a7a7 100%) !important;
}

body.app-theme.dark-mode.gcash-home .gcash-brand,
body.app-theme.dark-mode.gcash-home .gcash-brand strong,
body.app-theme.dark-mode.gcash-home .gcash-greeting,
body.app-theme.dark-mode.gcash-home .gcash-card-icon,
body.app-theme.dark-mode.gcash-home .gcash-balance-amount strong,
body.app-theme.dark-mode.gcash-home .gcash-balance-amount span,
body.app-theme.dark-mode.gcash-home .gcash-balance-label {
  color: #ffffff !important;
}

body.app-theme.dark-mode.gcash-home .gcash-services,
body.app-theme.dark-mode.gcash-home .gcash-history-row,
body.app-theme.dark-mode.gcash-home .gcash-promo-card,
body.app-theme.dark-mode.gcash-home .gcash-transaction-item,
body.app-theme.dark-mode.gcash-home .gcash-empty {
  background: #ffffff;
  color: #202633;
}

@media (max-width: 420px) {
  .gcash-home .gcash-capsule {
    max-width: 100%;
    padding-top: 56px !important;
  }

  .gcash-wallet-card {
    margin: 10px;
    padding: 16px;
  }

  .gcash-balance-amount strong {
    font-size: 32px;
  }

  .gcash-services {
    padding-left: 1px;
    padding-right: 1px;
  }

  .gcash-service {
    min-height: 66px;
    padding-left: 1px;
    padding-right: 1px;
    font-size: 8.5px;
  }

  .gcash-service-icon {
    width: 28px;
    height: 28px;
    font-size: 22px;
  }

  .gcash-promo-card {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
  }

  .gcash-promo-art {
    min-height: 88px;
  }

  .promo-phone {
    transform: scale(0.82);
  }

  .gcash-promo-copy h3 {
    font-size: 13px;
  }

  .gcash-promo-copy p {
    font-size: 10px;
  }

  .gcash-promo-button {
    min-height: 30px;
    padding: 0 18px;
    font-size: 12px;
  }

  .gcash-transaction-item {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px;
  }

  .gcash-transaction-side {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }

  .gcash-transaction-side strong {
    white-space: normal;
  }
}

.mja-flow-page {
  --mja-blue: #006ee8;
  --mja-blue-deep: #0053d8;
  --mja-teal: #00a887;
  --mja-bg: #f2f3f5;
  --mja-surface: #ffffff;
  --mja-ink: #202633;
  --mja-muted: #6d7480;
  --mja-line: #e2e6ee;
  --mja-soft: #f8fafc;
  --mja-danger: #ff396f;
  --mja-success: #10a86e;
  background: var(--mja-bg);
  color: var(--mja-ink);
  overflow-x: hidden;
}

body.app-theme.dark-mode.mja-flow-page {
  background: var(--mja-bg);
  color: var(--mja-ink);
}

.mja-flow-page .appHeader.mja-flow-header {
  width: 100%;
  max-width: 500px;
  height: 56px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  background: var(--mja-blue) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
  color: #ffffff !important;
}

.mja-flow-page .appHeader.mja-flow-header:before {
  background: var(--mja-blue) !important;
}

.mja-flow-page .appHeader.mja-flow-header .headerButton,
.mja-flow-page .appHeader.mja-flow-header .pageTitle {
  color: #ffffff !important;
}

.mja-flow-page .appHeader.mja-flow-header ion-icon {
  color: #ffffff;
  font-size: 25px;
}

.mja-flow-header-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff;
  font-size: 17px;
  line-height: 1;
  font-weight: 800;
}

.mja-flow-mark {
  width: 23px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.84);
  background: #0a4ed8;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0, 28, 92, 0.22);
}

.mja-flow-page .mja-flow-capsule {
  width: 100%;
  max-width: 500px;
  padding: 56px 0 34px !important;
  background: var(--mja-bg);
}

.mja-flow-hero {
  background: var(--mja-blue);
  color: #ffffff;
  padding: 18px 16px 20px;
}

.mja-flow-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.mja-flow-hero h1 {
  color: #ffffff !important;
  font-size: 24px;
  line-height: 1.12;
  font-weight: 800;
  margin: 0 0 6px;
}

.mja-flow-hero p {
  max-width: 300px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.35;
  margin: 0;
}

.mja-flow-hero-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 25px;
}

.mja-flow-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.mja-summary-tile {
  min-width: 0;
  display: grid;
  gap: 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 12px;
}

.mja-summary-tile span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
}

.mja-summary-tile strong {
  min-width: 0;
  color: #ffffff !important;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.mja-flow-shell {
  display: grid;
  gap: 10px;
  padding: 10px 11px 24px;
  background: var(--mja-bg);
}

.mja-flow-form {
  display: grid;
  gap: 10px;
}

.mja-step-content {
  display: grid;
  gap: 10px;
  animation: mjaStepReveal 0.2s ease;
}

.mja-step-content[hidden] {
  display: none !important;
}

.mja-flow-section[hidden] {
  display: none !important;
}

.mja-flow-section {
  display: grid;
  gap: 10px;
  border-radius: 8px;
  border: 1px solid var(--mja-line);
  background: var(--mja-surface);
  padding: 14px;
  box-shadow: 0 2px 6px rgba(16, 24, 40, 0.08);
}

.mja-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mja-flow-page .mja-section-head h2 {
  color: var(--mja-ink) !important;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  margin: 0;
}

.mja-section-head span {
  color: var(--mja-muted);
  font-size: 10px;
  line-height: 1.25;
  font-weight: 700;
  text-align: right;
}

.mja-gateway-search {
  min-height: 48px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  border: 1px solid var(--mja-line);
  background: var(--mja-soft);
  padding: 0 13px;
}

.mja-gateway-search ion-icon {
  color: var(--mja-blue);
  font-size: 20px;
}

.mja-gateway-search input {
  width: 100%;
  min-width: 0;
  height: 46px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--mja-ink);
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

.mja-gateway-search input::placeholder {
  color: #8a96a8;
  font-weight: 600;
}

.mja-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mja-method-grid.is-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mja-method-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mja-method-option {
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid var(--mja-line);
  background: #ffffff;
  padding: 13px 42px 13px 12px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.mja-method-option:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 110, 232, 0.38);
}

.mja-method-input:focus-visible + .mja-method-option {
  outline: 2px solid rgba(0, 110, 232, 0.3);
  outline-offset: 3px;
}

.mja-method-input:checked + .mja-method-option {
  border-color: rgba(0, 110, 232, 0.72);
  background: linear-gradient(180deg, #ffffff 0%, #eef7ff 100%);
  box-shadow: 0 8px 18px rgba(0, 65, 190, 0.12);
}

.mja-method-top {
  position: absolute;
  top: 12px;
  right: 12px;
}

.mja-method-mark {
  width: 62px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.mja-method-mark.has-logo {
  overflow: visible;
  border: 0;
  background: transparent;
  padding: 0;
}

.mja-method-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: scale(1.34);
}

.mja-mark-gcash {
  background: linear-gradient(135deg, #0077ef, #0053d8);
}

.mja-mark-maya {
  background: linear-gradient(135deg, #00a887, #0aa56d);
}

.mja-mark-qrph {
  background: linear-gradient(135deg, #00a887, #006ee8);
}

.mja-mark-gotyme {
  background: linear-gradient(135deg, #0a4ed8, #00a0b8);
}

.mja-mark-bank {
  background: linear-gradient(135deg, #0a4ed8, #5b7cfa);
}

.mja-method-check {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--mja-line);
  color: transparent;
  font-size: 15px;
}

.mja-method-input:checked + .mja-method-option .mja-method-check {
  border-color: var(--mja-blue);
  background: var(--mja-blue);
  color: #ffffff;
}

.mja-method-name {
  display: block;
  color: var(--mja-ink);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 3px;
}

.mja-method-meta {
  display: block;
  color: var(--mja-muted);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 500;
}

.mja-method-item[hidden],
.mja-empty-methods[hidden] {
  display: none !important;
}

.mja-empty-methods {
  grid-column: 1 / -1;
  min-height: 78px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  border-radius: 8px;
  border: 1px dashed var(--mja-line);
  background: #f8fafc;
  color: var(--mja-muted);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.mja-empty-methods ion-icon {
  color: var(--mja-blue);
  font-size: 22px;
}

.mja-selected-gateway {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-radius: 8px;
  border: 1px solid rgba(0, 110, 232, 0.16);
  background: #eef7ff;
  padding: 10px;
}

.mja-selected-gateway small {
  display: block;
  color: var(--mja-muted);
  font-size: 9.5px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 2px;
}

.mja-selected-gateway strong {
  display: block;
  color: var(--mja-ink);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.mja-selected-gateway button {
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--mja-blue-deep);
  padding: 0 13px;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0, 65, 190, 0.08);
}

.mja-confirm-page {
  display: grid;
  gap: 10px;
  animation: mjaStepReveal 0.2s ease;
}

.mja-confirm-page[hidden] {
  display: none !important;
}

.mja-confirm-list {
  display: grid;
  gap: 8px;
}

.mja-confirm-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 12px;
  align-items: center;
  min-height: 46px;
  border-radius: 8px;
  background: var(--mja-soft);
  padding: 10px 12px;
}

.mja-confirm-row span {
  color: var(--mja-muted);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
}

.mja-confirm-row strong {
  color: var(--mja-ink);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  text-align: right;
  overflow-wrap: anywhere;
}

.mja-confirm-row.is-amount {
  background: #eef7ff;
}

.mja-confirm-row.is-amount strong {
  color: var(--mja-blue-deep);
  font-size: 15px;
}

.mja-confirm-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 10px;
}

.mja-secondary-button {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(0, 110, 232, 0.24);
  border-radius: 8px;
  background: #ffffff;
  color: var(--mja-blue-deep);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.06);
}

.mja-input-grid {
  display: grid;
  gap: 10px;
}

.mja-field {
  display: grid;
  gap: 7px;
}

.mja-field label {
  color: var(--mja-muted);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 800;
}

.mja-field-control {
  min-height: 52px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  border: 1px solid var(--mja-line);
  background: var(--mja-soft);
  padding: 0 13px;
}

.mja-field-control.is-plain {
  grid-template-columns: minmax(0, 1fr);
}

.mja-field-prefix {
  color: var(--mja-blue-deep);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.mja-flow-page .mja-field-control .form-control {
  min-width: 0;
  height: 50px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--mja-ink);
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  padding: 0;
}

.mja-flow-page .mja-field-control.is-plain .form-control {
  font-size: 14px;
  font-weight: 700;
}

.mja-flow-page .mja-field-control .form-control:focus {
  border: 0;
  box-shadow: none;
}

.mja-flow-page .mja-field-control .form-control::placeholder {
  color: #a9b4c3;
  font-weight: 600;
}

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

.mja-quick-amount {
  min-height: 36px;
  border: 1px solid var(--mja-line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--mja-ink);
  font-size: 11px;
  line-height: 1.1;
  font-weight: 800;
  transition: all 0.18s ease;
}

.mja-quick-amount:hover,
.mja-quick-amount.is-active {
  border-color: rgba(0, 110, 232, 0.62);
  background: #eef7ff;
  color: var(--mja-blue-deep);
}

.mja-helper {
  color: var(--mja-muted);
  font-size: 10.5px;
  line-height: 1.45;
  margin: 0;
}

.mja-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border-radius: 8px;
  border: 1px solid rgba(0, 110, 232, 0.12);
  background: #eef7ff;
  padding: 12px;
  color: #33506f;
}

.mja-notice ion-icon {
  color: var(--mja-blue);
  font-size: 20px;
  margin-top: 1px;
}

.mja-notice-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.mja-notice strong {
  color: #17416f;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 800;
}

.mja-notice p {
  margin: 0;
  font-size: 11px;
  line-height: 1.42;
}

.mja-success-page .mja-flow-capsule {
  max-width: min(500px, 100vw);
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: 10px !important;
}

.mja-success-page .appHeader.mja-flow-header {
  max-width: min(500px, 100vw);
}

.mja-success-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), transparent 38%),
    linear-gradient(135deg, var(--mja-blue) 0%, var(--mja-blue-deep) 58%, var(--mja-teal) 100%) !important;
}

.mja-success-hero:after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.mja-success-hero > * {
  position: relative;
  z-index: 1;
}

.mja-success-hero-icon {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.mja-success-shell {
  gap: 10px;
}

.mja-success-card {
  justify-items: center;
  gap: 14px;
  padding: 22px 16px;
  text-align: center;
}

.mja-success-emblem {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(135deg, var(--mja-success), var(--mja-teal));
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(16, 168, 110, 0.26);
  animation: mjaSuccessPop 0.32s ease both;
}

.mja-success-emblem.is-processing {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(135deg, var(--mja-blue), var(--mja-blue-deep));
  box-shadow: 0 16px 34px rgba(0, 65, 190, 0.24);
}

.mja-success-emblem ion-icon {
  font-size: 44px;
}

.mja-success-copy {
  display: grid;
  gap: 6px;
  max-width: 340px;
}

.mja-success-copy h1,
.mja-success-copy h2 {
  color: var(--mja-ink) !important;
  font-size: 20px;
  line-height: 1.16;
  font-weight: 800;
  margin: 0;
}

.mja-success-copy p {
  color: var(--mja-muted);
  font-size: 12px;
  line-height: 1.46;
  margin: 0;
}

.mja-success-status {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 999px;
  background: #e9fbf4;
  color: #087c55;
  padding: 0 12px;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}

.mja-success-status.is-processing {
  background: #eef7ff;
  color: var(--mja-blue-deep);
}

.mja-success-status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: currentColor;
}

.mja-success-status.is-processing .mja-success-status-dot {
  box-shadow: 0 0 0 0 rgba(0, 110, 232, 0.28);
  animation: mjaQrPulse 1.6s infinite;
}

.mja-success-redirect {
  align-items: center;
}

.mja-success-redirect strong {
  color: var(--mja-blue-deep);
  font-size: 12px;
}

.mja-success-actions {
  display: grid;
  gap: 10px;
}

.mja-success-actions .mja-flow-submit,
.mja-success-secondary {
  text-decoration: none;
}

.mja-success-secondary {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid rgba(0, 110, 232, 0.18);
  background: #ffffff;
  color: var(--mja-blue-deep) !important;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.06);
}

.mja-success-secondary ion-icon {
  font-size: 19px;
}

.mja-flow-submit {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), transparent 42%),
    linear-gradient(135deg, var(--mja-blue) 0%, var(--mja-blue-deep) 62%, var(--mja-teal) 100%) !important;
  color: #ffffff !important;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(0, 65, 190, 0.2) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.mja-flow-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0, 65, 190, 0.24) !important;
}

.mja-flow-submit:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.1) !important;
}

.mja-flow-submit ion-icon {
  font-size: 20px;
}

.mja-qr-section {
  text-align: center;
}

.mja-qr-card {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.mja-qr-frame {
  width: min(100%, 296px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--mja-line);
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 14px;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.1);
}

.mja-qr-frame img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
  object-fit: contain;
}

.mja-qr-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px;
  color: var(--mja-muted);
}

.mja-qr-empty ion-icon {
  color: var(--mja-danger);
  font-size: 34px;
}

.mja-qr-empty strong {
  color: var(--mja-ink);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
}

.mja-qr-empty span {
  font-size: 12px;
  line-height: 1.42;
}

.mja-qr-status {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  background: #eef7ff;
  color: #17416f;
  padding: 10px 12px;
}

.mja-qr-status strong {
  min-width: 0;
  color: #17416f;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 800;
}

.mja-qr-status-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--mja-blue);
  box-shadow: 0 0 0 0 rgba(0, 110, 232, 0.28);
  animation: mjaQrPulse 1.6s infinite;
}

@keyframes mjaQrPulse {
  70% {
    box-shadow: 0 0 0 9px rgba(0, 110, 232, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 110, 232, 0);
  }
}

.mja-qr-details {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--mja-line);
  background: #ffffff;
}

.mja-qr-detail-row {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--mja-line);
}

.mja-qr-detail-row:last-child {
  border-bottom: 0;
}

.mja-qr-detail-row span {
  color: var(--mja-muted);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 800;
}

.mja-qr-detail-row strong {
  min-width: 0;
  color: var(--mja-ink);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  text-align: right;
  overflow-wrap: anywhere;
}

.mja-qr-actions {
  display: grid;
  gap: 10px;
}

.mja-qr-actions .mja-flow-submit,
.mja-qr-secondary {
  text-decoration: none;
}

.mja-qr-secondary {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid var(--mja-line);
  background: #ffffff;
  color: var(--mja-blue) !important;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.06);
}

.mja-qr-secondary ion-icon {
  font-size: 19px;
}

.mja-qr-page .appHeader.mja-flow-header,
.mja-qr-page .appHeader.mja-flow-header:before {
  background: var(--mja-blue) !important;
}

.mja-qr-page .appHeader.mja-flow-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
  color: #ffffff !important;
}

.mja-qr-page .appHeader.mja-flow-header .headerButton,
.mja-qr-page .appHeader.mja-flow-header .pageTitle,
.mja-qr-page .appHeader.mja-flow-header ion-icon,
.mja-qr-page .mja-flow-header-title,
.mja-qr-page .mja-flow-header-title strong {
  color: #ffffff !important;
}

.mja-qr-page .mja-qr-capsule {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  padding-top: 56px !important;
  padding-bottom: 0 !important;
  background: var(--mja-bg);
}

.mja-qr-iframe-shell {
  width: 100%;
  min-height: calc(100vh - 56px);
  min-height: calc(100dvh - 56px);
  display: flex;
}

.mja-qr-iframe {
  width: 100%;
  height: calc(100vh - 56px);
  min-height: calc(100vh - 56px);
  height: calc(100dvh - 56px);
  min-height: calc(100dvh - 56px);
  display: block;
  border: 0;
  background: #ffffff;
}

.mja-flow-page .alert {
  border-radius: 8px;
  border: 0;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.08);
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

.mja-flow-page input::-webkit-outer-spin-button,
.mja-flow-page input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.mja-flow-page input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

body.app-theme.dark-mode.mja-flow-page .appHeader.mja-flow-header,
body.app-theme.dark-mode.mja-flow-page .appHeader.mja-flow-header:before,
body.app-theme.dark-mode.mja-flow-page .mja-flow-hero {
  background: var(--mja-blue) !important;
}

body.app-theme.dark-mode.mja-flow-page .mja-flow-hero h1,
body.app-theme.dark-mode.mja-flow-page .mja-flow-hero p,
body.app-theme.dark-mode.mja-flow-page .mja-summary-tile span,
body.app-theme.dark-mode.mja-flow-page .mja-summary-tile strong {
  color: #ffffff !important;
}

body.app-theme.dark-mode.mja-flow-page .mja-flow-section,
body.app-theme.dark-mode.mja-flow-page .mja-method-option,
body.app-theme.dark-mode.mja-flow-page .mja-field-control,
body.app-theme.dark-mode.mja-flow-page .mja-quick-amount {
  color: var(--mja-ink);
}

@media (max-width: 420px) {
  .mja-flow-page .mja-flow-capsule {
    max-width: 100%;
  }

  .mja-flow-hero h1 {
    font-size: 22px;
  }

  .mja-flow-summary {
    grid-template-columns: 1fr;
  }

  .mja-method-grid,
  .mja-method-grid.is-two {
    grid-template-columns: 1fr;
  }

  .mja-method-option {
    min-height: 86px;
  }

  .mja-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mja-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .mja-section-head span {
    text-align: left;
  }

  .mja-confirm-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mja-method-option,
  .mja-quick-amount,
  .mja-flow-submit {
    transition: none;
  }

  .mja-step-content {
    animation: none;
  }

  .mja-success-emblem,
  .mja-success-status.is-processing .mja-success-status-dot {
    animation: none;
  }
}

@keyframes mjaStepReveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mjaSuccessPop {
  from {
    opacity: 0;
    transform: scale(0.88);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.transaction-page {
  --transaction-bg: #f2f3f5;
  --transaction-surface: #ffffff;
  --transaction-ink: #202633;
  --transaction-muted: #667085;
  --transaction-line: #e2e6ee;
  --transaction-danger: #ff396f;
  --transaction-success: #00a887;
  --transaction-blue: #1683ff;
  background: var(--transaction-bg);
  color: var(--transaction-ink);
}

body.app-theme.dark-mode.transaction-page {
  background: var(--transaction-bg);
  color: var(--transaction-ink);
}

.transaction-page .transaction-header,
.gcash-home.transaction-page .appHeader.gcash-header.transaction-header {
  width: 100%;
  max-width: 500px;
  height: 56px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  background: var(--gcash-blue, #006ee8) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff !important;
  box-shadow: none;
}

.transaction-page .transaction-header:before,
.gcash-home.transaction-page .appHeader.gcash-header.transaction-header:before {
  background: var(--gcash-blue, #006ee8) !important;
}

.transaction-page .transaction-header .headerButton,
.transaction-page .transaction-header .pageTitle,
.gcash-home.transaction-page .appHeader.gcash-header.transaction-header .headerButton,
.gcash-home.transaction-page .appHeader.gcash-header.transaction-header .pageTitle {
  color: #ffffff !important;
}

.transaction-page .transaction-header .pageTitle {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
}

.transaction-page .transaction-header ion-icon,
.gcash-home.transaction-page .appHeader.gcash-header.transaction-header ion-icon {
  color: #ffffff !important;
  font-size: 25px;
}

.transaction-page .transaction-capsule {
  width: 100%;
  max-width: 500px;
  padding: 68px 11px 28px !important;
}

.transaction-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px auto;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--transaction-line);
  border-radius: 8px;
  background: var(--transaction-surface);
  padding: 10px;
  margin-bottom: 14px;
  box-shadow: 0 2px 6px rgba(16, 24, 40, 0.08);
}

.transaction-filter label {
  color: var(--transaction-muted);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.transaction-date-control {
  position: relative;
  min-width: 0;
}

.transaction-date-button {
  width: 100%;
  min-width: 0;
  height: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--transaction-line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--transaction-ink);
  padding: 0 12px;
  text-align: left;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
}

.transaction-date-button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transaction-date-button ion-icon {
  color: var(--gcash-blue, #006ee8);
  font-size: 19px;
}

.transaction-date-button[aria-expanded="true"] {
  border-color: rgba(0, 110, 232, 0.42);
  background: #eef7ff;
  box-shadow: 0 0 0 3px rgba(0, 110, 232, 0.10);
}

.transaction-calendar {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  min-width: min(320px, calc(100vw - 42px));
  border: 1px solid var(--transaction-line);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 18px 38px rgba(16, 24, 40, 0.18);
}

.transaction-calendar[hidden] {
  display: none !important;
}

.transaction-calendar-head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.transaction-calendar-head strong {
  color: var(--transaction-ink);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
}

.transaction-calendar-head button,
.transaction-calendar-actions button {
  min-width: 0;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--transaction-line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--transaction-ink);
  padding: 0;
  font-size: 17px;
  font-weight: 800;
}

.transaction-calendar-head button:hover,
.transaction-calendar-actions button:hover {
  border-color: rgba(0, 110, 232, 0.34);
  background: #eef7ff;
  color: var(--gcash-blue, #006ee8);
}

.transaction-calendar-weekdays,
.transaction-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.transaction-calendar-weekdays {
  margin-bottom: 5px;
}

.transaction-calendar-weekdays span {
  color: var(--transaction-muted);
  font-size: 9px;
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
}

.transaction-calendar-empty {
  min-height: 34px;
}

.transaction-calendar-day {
  min-width: 0;
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--transaction-ink);
  padding: 0;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.transaction-calendar-day:hover {
  background: #eef7ff;
  color: var(--gcash-blue, #006ee8);
}

.transaction-calendar-day.is-today {
  border-color: rgba(0, 110, 232, 0.34);
  color: var(--gcash-blue, #006ee8);
}

.transaction-calendar-day.is-selected {
  border-color: var(--gcash-blue, #006ee8);
  background: var(--gcash-blue, #006ee8);
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(0, 110, 232, 0.22);
}

.transaction-calendar-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.transaction-calendar-actions button {
  height: 36px;
  font-size: 11px;
}

.transaction-filter input {
  min-width: 0;
  height: 42px;
  border: 1px solid var(--transaction-line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--transaction-ink);
  padding: 0 11px;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.transaction-filter-submit,
.transaction-clear-filter {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--gcash-blue, #006ee8);
  color: #ffffff !important;
  font-size: 20px;
}

.transaction-filter-submit {
  padding: 0;
}

.transaction-clear-filter {
  border: 1px solid rgba(255, 57, 111, 0.18);
  background: #fff2f6;
  color: var(--transaction-danger) !important;
}

.transaction-clear-filter[hidden] {
  display: none !important;
}

.transaction-results {
  position: relative;
  transition: opacity 0.16s ease;
}

.transaction-results.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.transaction-group-list,
.transaction-card-list {
  display: grid;
  gap: 10px;
}

.transaction-day-group {
  display: grid;
  gap: 8px;
}

.transaction-day-group h2 {
  color: var(--transaction-ink) !important;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  margin: 5px 2px 0;
}

.transaction-card {
  width: 100%;
  min-height: 66px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--transaction-line);
  border-radius: 8px;
  background: var(--transaction-surface);
  padding: 10px;
  color: var(--transaction-ink) !important;
  font-family: inherit;
  text-align: left;
  box-shadow: 0 2px 6px rgba(16, 24, 40, 0.08);
  appearance: none;
  -webkit-appearance: none;
}

button.transaction-card {
  cursor: pointer;
}

button.transaction-card:focus-visible {
  outline: 2px solid rgba(22, 131, 255, 0.36);
  outline-offset: 2px;
}

.transaction-card-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 24px;
}

.transaction-card-icon.is-send {
  background: #eefaf5;
  color: var(--transaction-success);
}

.transaction-card-icon.is-cashin {
  background: #eef7ff;
  color: var(--transaction-blue);
}

.transaction-card-main,
.transaction-card-side {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.transaction-card-main strong {
  color: var(--transaction-ink) !important;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
}

.transaction-card-main small {
  color: var(--transaction-muted);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 500;
}

.transaction-card-side {
  justify-items: end;
  text-align: right;
}

.transaction-card-side strong {
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  white-space: nowrap;
}

.transaction-card-side small,
.transaction-modal-summary small,
.transaction-detail-list .is-pending,
.transaction-detail-list .is-complete {
  font-size: 10px;
  line-height: 1.2;
  font-weight: 800;
}

.transaction-amount.is-send,
.transaction-card-side .is-pending,
.transaction-modal-summary .is-pending,
.transaction-detail-list .is-pending,
.transaction-detail-list .is-amount dd {
  color: var(--transaction-danger) !important;
}

.transaction-amount.is-cashin,
.transaction-card-side .is-complete,
.transaction-modal-summary .is-complete,
.transaction-detail-list .is-complete {
  color: var(--transaction-success) !important;
}

.transaction-empty {
  display: grid;
  justify-items: center;
  gap: 7px;
  border: 1px solid var(--transaction-line);
  border-radius: 8px;
  background: var(--transaction-surface);
  padding: 28px 16px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(16, 24, 40, 0.08);
}

.transaction-empty ion-icon {
  color: var(--transaction-blue);
  font-size: 32px;
}

.transaction-empty strong {
  color: var(--transaction-ink);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
}

.transaction-empty p {
  color: var(--transaction-muted);
  font-size: 11px;
  line-height: 1.35;
  margin: 0;
}

.transaction-modal-open {
  overflow: hidden;
}

.transaction-full-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow-y: auto;
  background: var(--transaction-bg);
  color: var(--transaction-ink);
}

.transaction-full-modal[hidden] {
  display: none !important;
}

.transaction-modal-header {
  height: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--gcash-blue, #006ee8);
}

.transaction-full-modal .transaction-modal-body {
  padding-top: 68px;
}

.transaction-modal-close {
  width: auto;
  height: 56px;
  border: 0;
  background: transparent;
}

.transaction-modal-body {
  width: 100%;
  max-width: 500px;
  display: grid;
  gap: 10px;
  margin: 0 auto;
  padding: 12px 10px 28px;
}

.transaction-modal-summary {
  min-height: 66px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--transaction-line);
  border-radius: 8px;
  background: var(--transaction-surface);
  padding: 10px;
  box-shadow: 0 2px 6px rgba(16, 24, 40, 0.08);
}

.transaction-modal-summary-main,
.transaction-modal-summary-side {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.transaction-modal-summary-main small {
  color: var(--transaction-muted);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 800;
}

.transaction-modal-summary strong {
  color: var(--transaction-danger) !important;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.transaction-modal-summary-side {
  justify-items: end;
  text-align: right;
}

.transaction-detail-list {
  overflow: hidden;
  display: block;
  border: 1px solid var(--transaction-line);
  border-radius: 8px;
  background: var(--transaction-surface);
  box-shadow: 0 2px 6px rgba(16, 24, 40, 0.08);
  margin: 0;
}

.transaction-detail-list div {
  min-height: 52px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--transaction-line);
  background: transparent;
  padding: 11px 12px;
  box-shadow: none;
}

.transaction-detail-list div:last-child {
  border-bottom: 0;
}

.transaction-detail-list dt {
  color: var(--transaction-muted);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
}

.transaction-detail-list dd {
  min-width: 0;
  color: var(--transaction-ink);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
}

body.app-theme.dark-mode.transaction-page .transaction-header,
body.app-theme.dark-mode.transaction-page .transaction-header:before,
body.app-theme.dark-mode.transaction-page .transaction-modal-header,
body.app-theme.dark-mode.gcash-home.transaction-page .appHeader.gcash-header.transaction-header,
body.app-theme.dark-mode.gcash-home.transaction-page .appHeader.gcash-header.transaction-header:before {
  background: var(--gcash-blue, #006ee8) !important;
}

body.app-theme.dark-mode.transaction-page .transaction-header .headerButton,
body.app-theme.dark-mode.transaction-page .transaction-header .pageTitle,
body.app-theme.dark-mode.transaction-page .transaction-header ion-icon,
body.app-theme.dark-mode.gcash-home.transaction-page .appHeader.gcash-header.transaction-header .headerButton,
body.app-theme.dark-mode.gcash-home.transaction-page .appHeader.gcash-header.transaction-header .pageTitle,
body.app-theme.dark-mode.gcash-home.transaction-page .appHeader.gcash-header.transaction-header ion-icon,
body.app-theme.dark-mode.transaction-page .transaction-modal-header .pageTitle,
body.app-theme.dark-mode.transaction-page .transaction-modal-close,
body.app-theme.dark-mode.transaction-page .transaction-modal-close ion-icon {
  color: #ffffff !important;
}

body.app-theme.dark-mode.transaction-page .transaction-filter-submit {
  background: var(--gcash-blue, #006ee8);
  color: #ffffff !important;
}

body.app-theme.dark-mode.transaction-page .transaction-clear-filter {
  border: 1px solid rgba(255, 57, 111, 0.18);
  background: #fff2f6;
  color: var(--transaction-danger) !important;
}

body.app-theme.dark-mode.transaction-page .transaction-full-modal {
  background: var(--transaction-bg) !important;
}

body.app-theme.dark-mode.transaction-page .transaction-card,
body.app-theme.dark-mode.transaction-page .transaction-filter input,
body.app-theme.dark-mode.transaction-page .transaction-date-button,
body.app-theme.dark-mode.transaction-page .transaction-calendar,
body.app-theme.dark-mode.transaction-page .transaction-empty,
body.app-theme.dark-mode.transaction-page .transaction-modal-summary,
body.app-theme.dark-mode.transaction-page .transaction-detail-list {
  background: var(--transaction-surface);
  color: var(--transaction-ink);
}

body.app-theme.dark-mode.transaction-page .transaction-calendar-head button,
body.app-theme.dark-mode.transaction-page .transaction-calendar-actions button {
  background: #f8fafc;
  color: var(--transaction-ink);
}

body.app-theme.dark-mode.transaction-page .transaction-date-button[aria-expanded="true"] {
  border-color: rgba(0, 110, 232, 0.42);
  background: #eef7ff;
  box-shadow: 0 0 0 3px rgba(0, 110, 232, 0.10);
}

body.app-theme.dark-mode.transaction-page .transaction-detail-list div {
  background: transparent;
}

.settings-page {
  background: var(--theme-bg);
  color: var(--theme-ink);
}

.settings-page .settings-header {
  width: 100%;
  max-width: 500px;
  height: 56px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  background: var(--gcash-blue, #006ee8) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff !important;
}

.settings-page .settings-header:before {
  background: var(--gcash-blue, #006ee8) !important;
}

.settings-page .settings-header .headerButton,
.settings-page .settings-header .pageTitle {
  color: #ffffff !important;
}

.settings-page .settings-header ion-icon {
  color: #ffffff !important;
  font-size: 25px;
}

.settings-capsule {
  width: 100%;
  max-width: 500px;
  padding: 76px 12px 28px !important;
}

.settings-panel {
  display: grid;
  gap: 14px;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background: var(--theme-surface);
  padding: 14px;
  box-shadow: 0 10px 30px rgba(18, 24, 38, 0.06);
}

.settings-section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.settings-section-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e9f7f3;
  color: var(--theme-accent-dark);
  font-size: 22px;
}

.settings-section-head h1 {
  color: var(--theme-ink);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  margin: 0;
}

.settings-form {
  display: grid;
  gap: 12px;
}

.settings-field {
  display: grid;
  gap: 7px;
  margin: 0;
}

.settings-field span {
  color: var(--theme-muted);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
}

.settings-field input {
  width: 100%;
  min-width: 0;
  height: 48px;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--theme-ink);
  padding: 0 12px;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

.settings-field input:focus {
  border-color: rgba(14, 124, 104, 0.45);
  box-shadow: 0 0 0 3px rgba(14, 124, 104, 0.10);
  outline: 0;
}

.username-status {
  min-height: 15px;
  color: var(--theme-muted);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
}

.username-status.is-checking {
  color: var(--theme-muted);
}

.username-status.is-available {
  color: #10a86e;
}

.username-status.is-used {
  color: #ff396f;
}

.settings-submit {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #101828, #0e7c68);
  color: #ffffff !important;
  padding: 0 14px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(14, 124, 104, 0.24);
}

.settings-submit:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.10);
}

.settings-submit ion-icon {
  font-size: 20px;
}

.settings-page .alert {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.08);
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

body.app-theme.dark-mode.settings-page {
  background: var(--theme-bg);
  color: var(--theme-ink);
}

body.app-theme.dark-mode.settings-page .settings-header,
body.app-theme.dark-mode.settings-page .settings-header:before {
  background: var(--gcash-blue, #006ee8) !important;
}

body.app-theme.dark-mode.settings-page .settings-header .headerButton,
body.app-theme.dark-mode.settings-page .settings-header .pageTitle,
body.app-theme.dark-mode.settings-page .settings-header ion-icon {
  color: #ffffff !important;
}

body.app-theme.dark-mode.settings-page .settings-panel,
body.app-theme.dark-mode.settings-page .settings-field input {
  background: var(--theme-surface);
  color: var(--theme-ink);
}

@media (max-width: 420px) {
  .settings-capsule {
    max-width: 100%;
  }

  .transaction-page .transaction-capsule {
    max-width: 100%;
  }

  .transaction-filter {
    grid-template-columns: minmax(0, 1fr) 42px auto;
  }
}
