/* =====================
   BLOOM ATELIER – PROFILE & MEMBERSHIP
   Profile, Edit Profile, Membership/Wallet pages
   ===================== */

/* ===================== PROFILE PAGE ===================== */
.profile-page {
  max-width: 860px;
  margin: 3rem auto;
  padding: 0 1.5rem 4rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 640px) { .profile-grid { grid-template-columns: 1fr; } }

.profile-card {
  background: white;
  border: 1px solid #f0e6e4;
  border-radius: 16px;
  padding: 1.8rem;
}

.profile-card h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--dark-text);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #f0e6e4;
}

.profile-field { margin-bottom: 0; }
.profile-field label { display: block; font-size: 0.7rem; color: var(--mid-gray); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.15rem; }
.profile-field span { font-size: 0.95rem; color: var(--dark-text); display: block; }

.profile-fields-list { display: flex; flex-direction: column; gap: 0; }

.profile-field-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f8f0ee;
}

.profile-field-row:last-child { border-bottom: none; }
.profile-field-icon { font-size: 1.1rem; width: 1.5rem; text-align: center; flex-shrink: 0; }
.profile-field-content { flex: 1; min-width: 0; }
.profile-field-content label { display: block; font-size: 0.7rem; color: var(--mid-gray); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.1rem; }
.profile-field-content span { font-size: 0.92rem; color: var(--dark-text); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-field-content span.empty { color: #767676; font-style: italic; }

.edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  padding: 0.65rem 1.6rem;
  background: #8a4f47;
  color: #ffffff;
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(201,132,124,0.35);
}

.edit-btn:hover { background: #6f3d36; transform: translateY(-1px); }

.quick-link-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--dark-text);
  transition: background 0.15s;
}

.quick-link-item:hover { background: #fdf5f3; }
.quick-link-item .ql-icon { font-size: 1.1rem; width: 1.5rem; text-align: center; }
.quick-link-item.logout { color: #555555; }
.quick-link-divider { height: 1px; background: #f5eeec; margin: 0.3rem 0; }

/* Loyalty card on profile */
.loyalty-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #fce4e1, #e8d0f0);
  border: none;
}

.loyalty-top { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }

.tier-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.tier-badge .tier-emoji { font-size: 2rem; line-height: 1; }
.tier-badge .tier-name { font-size: 0.72rem; color: #555555; margin-top: 0.2rem; letter-spacing: 0.04em; }

.loyalty-stats h2 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; color: var(--dark-text); margin: 0 0 0.3rem; }
.loyalty-stats p { font-size: 0.88rem; color: #4f4f4f; margin: 0; }

.tier-progress { margin-top: 0.5rem; }
.tier-progress-bar-wrap { background: rgba(255,255,255,0.6); border-radius: 99px; height: 10px; margin: 0.6rem 0 0.4rem; overflow: hidden; }
.tier-progress-bar { height: 100%; border-radius: 99px; background: linear-gradient(90deg, #c9847c, #9b6bb5); transition: width 0.6s ease; }
.tier-progress-labels { display: flex; justify-content: space-between; font-size: 0.78rem; color: #4f4f4f; }
.tier-perks { margin-top: 1.2rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }

.perk-chip {
  background: white;
  border-radius: 99px;
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  color: var(--dark-text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.perk-chip.locked {
  opacity: 1;
  color: #666666;
  background: #edf1f5;
}

/* Transaction history table */
.txn-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.txn-table th { text-align: left; padding: 0.6rem 1rem; color: var(--mid-gray); font-weight: 500; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 2px solid #f0e6e4; }
.txn-table td { padding: 0.85rem 1rem; border-bottom: 1px solid #faf5f4; color: var(--dark-text); vertical-align: middle; }
.txn-table tr:last-child td { border-bottom: none; }
.txn-table tr:hover td { background: #fdf8f7; }
.txn-date { font-size: 0.82rem; color: var(--mid-gray); white-space: nowrap; }
.txn-order { font-size: 0.78rem; color: var(--mid-gray); font-family: monospace; }
.txn-badge { display: inline-flex; align-items: center; padding: 0.3rem 0.75rem; border-radius: 99px; font-weight: 700; font-size: 0.88rem; white-space: nowrap; }
.txn-badge.earn   { background: #e8f5ec; color: #25643f; }
.txn-badge.redeem { background: #fdecea; color: #c0392b; }
.txn-type-chip { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 99px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.txn-type-chip.earn   { background: #e8f5ec; color: #25643f; }
.txn-type-chip.redeem { background: #fdecea; color: #c0392b; }
.txn-empty { text-align: center; padding: 3rem; color: var(--mid-gray); font-size: 0.92rem; }

/* Mobile card layout for Points History */
.txn-card-list { display: none; flex-direction: column; gap: 0.75rem; }
.txn-card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: #fdf8f7;
  border-radius: 12px;
  border: 1px solid #f0e6e4;
}
.txn-card-left { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.txn-card-dot {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; flex-shrink: 0;
}
.txn-card-dot.earn   { background: #e8f5ec; color: #25643f; }
.txn-card-dot.redeem { background: #fdecea; color: #c0392b; }
.txn-card-info { min-width: 0; }
.txn-card-desc { font-size: 0.82rem; color: var(--dark-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.txn-card-date { font-size: 0.72rem; color: var(--mid-gray); margin-top: 0.15rem; }
.txn-card-pts { font-weight: 700; font-size: 0.95rem; white-space: nowrap; flex-shrink: 0; }
.txn-card-pts.earn   { color: #25643f; }
.txn-card-pts.redeem { color: #c0392b; }

@media (max-width: 600px) {
  .txn-table { display: none; }
  .txn-card-list { display: flex; }
}

/* Mobile card layout for Wallet History */
.wt-card-list { display: none; flex-direction: column; gap: 0.75rem; }
.wt-card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: #fdf8f7;
  border-radius: 12px;
  border: 1px solid #f0e6e4;
}
.wt-card-left { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.wt-card-dot {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; flex-shrink: 0;
}
.wt-card-dot.topup { background: #e8f5ec; color: #25643f; }
.wt-card-dot.spend { background: #fdecea; color: #c0392b; }
.wt-card-info { min-width: 0; }
.wt-card-desc { font-size: 0.82rem; color: var(--dark-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.wt-card-date { font-size: 0.72rem; color: var(--mid-gray); margin-top: 0.15rem; }
.wt-card-amt { font-weight: 700; font-size: 0.95rem; white-space: nowrap; flex-shrink: 0; }
.wt-card-amt.topup { color: #25643f; }
.wt-card-amt.spend { color: #c0392b; }
.wt-card-bonus { display: block; font-size: 0.7rem; color: #25643f; font-weight: 500; text-align: right; }

@media (max-width: 600px) {
  .wt-table { display: none; }
  .wt-card-list { display: flex; }
  .profile-page { padding: 0 1rem 4rem; }
  .profile-card { padding: 1.2rem; }
  .delete-zone { padding: 1.2rem; }
  .loyalty-top { gap: 1rem; }
  .loyalty-stats h2 { font-size: 1.6rem; }
  .tier-badge { width: 72px; height: 72px; }
  .tier-badge .tier-emoji { font-size: 1.6rem; }
}

/* Delete account zone */
.delete-zone {
  margin-top: 2rem;
  border: 1.5px solid #f5c6cb;
  border-radius: 16px;
  padding: 1.8rem;
  background: #fff8f8;
}

.delete-zone h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; color: #c0392b; margin-bottom: 0.5rem; }
.delete-zone p { font-size: 0.88rem; color: #555555; margin-bottom: 1.2rem; line-height: 1.6; }

.btn-delete-account {
  background: #dc3545;
  color: white;
  border: none;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition);
}

.btn-delete-account:hover { background: #c0392b; }

/* Profile delete modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.show { display: flex; }

.modal-box {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  animation: fadeInUp 0.3s ease both;
}

.modal-box h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; color: #c0392b; margin-bottom: 0.8rem; }
.modal-box p { font-size: 0.88rem; color: var(--mid-gray); line-height: 1.7; margin-bottom: 1.5rem; }

.modal-actions { display: flex; gap: 0.8rem; justify-content: flex-end; }

.btn-modal-cancel {
  padding: 0.7rem 1.4rem;
  border: 1.5px solid var(--light-gray);
  border-radius: 50px;
  background: white;
  font-family: var(--font-body);
  font-size: 0.88rem;
  cursor: pointer;
  color: #555555;
  transition: all var(--transition);
}

.btn-modal-cancel:hover { border-color: var(--charcoal); color: var(--charcoal); }

.btn-modal-confirm {
  padding: 0.7rem 1.4rem;
  border: none;
  border-radius: 50px;
  background: #dc3545;
  color: white;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition);
}

.btn-modal-confirm:hover { background: #c0392b; }

/* ===================== EDIT PROFILE PAGE ===================== */
.edit-page {
  max-width: 600px;
  margin: 3rem auto;
  padding: 0 1.5rem 4rem;
}

.edit-page h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 300; margin-bottom: 0.4rem; }
.edit-page .subtitle { color: #555555; font-size: 0.9rem; margin-bottom: 2rem; }

.edit-card {
  background: white;
  border: 1px solid #f0e6e4;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.edit-card h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #f0e6e4;
}

.edit-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

@media (max-width: 480px) { .edit-row { grid-template-columns: 1fr; } }

.edit-field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.2rem; }

.edit-field label { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em; color: var(--charcoal); }

.edit-field input {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--light-gray);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--cream);
  outline: none;
  transition: border-color var(--transition);
  color: var(--charcoal);
}

.edit-field input:focus {
  border-color: var(--dusty-rose);
  box-shadow: 0 0 0 3px rgba(201,132,124,0.1);
}

.edit-actions { display: flex; gap: 1rem; margin-top: 0.5rem; }

.btn-cancel-edit {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border: 1.5px solid var(--light-gray);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--mid-gray);
  cursor: pointer;
  background: white;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-cancel-edit:hover { border-color: var(--charcoal); color: var(--charcoal); }

/* ===================== MEMBERSHIP PAGE ===================== */
.membership-page { max-width: 900px; margin: 3rem auto; padding: 0 1.5rem 5rem; }

.wallet-hero {
  background: linear-gradient(135deg, #f5e6f0, #e8d5f5, #d5e8f5);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.wallet-hero-left h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--dark-text); margin: 0 0 0.3rem; }
.wallet-hero-left p { font-size: 0.9rem; color: var(--mid-gray); margin: 0; }

.wallet-balance-display {
  background: white;
  border-radius: 16px;
  padding: 1.2rem 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  min-width: 160px;
}

.wallet-balance-display .bal-label { font-size: 0.75rem; color: var(--mid-gray); text-transform: uppercase; letter-spacing: 0.06em; }
.wallet-balance-display .bal-amount { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; color: var(--dark-text); line-height: 1.1; }
.wallet-balance-display .bal-currency { font-size: 1rem; color: var(--mid-gray); }

.section-title { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; color: var(--dark-text); margin-bottom: 1.2rem; }

/* Package cards */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.package-card {
  background: white;
  border: 2px solid #f0e6e4;
  border-radius: 18px;
  padding: 1.6rem 1.4rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.package-card:hover { border-color: var(--dusty-rose); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(201,132,124,0.15); }
.package-card.popular { border-color: #c9847c; }

.popular-badge {
  position: absolute; top: 12px; right: -8px;
  background: #8a4f48; color: white;
  font-size: 0.68rem; font-weight: 700;
  padding: 0.2rem 0.9rem 0.2rem 0.7rem;
  border-radius: 99px 0 0 99px;
  text-transform: uppercase; letter-spacing: 0.05em;
}

.package-emoji { font-size: 2rem; margin-bottom: 0.6rem; display: block; }
.package-name { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mid-gray); margin-bottom: 0.5rem; }
.package-pay { font-size: 1rem; color: var(--mid-gray); margin-bottom: 0.2rem; }
.package-get { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: var(--dark-text); line-height: 1; margin-bottom: 0.3rem; }
.package-bonus { display: inline-block; background: #e8f5ec; color: #25643f; font-size: 0.78rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 99px; margin-bottom: 1rem; }

.package-btn {
  width: 100%;
  background: #8a4f48;
  color: white;
  border: none;
  border-radius: 99px;
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.package-btn:hover { background: #b87068; }
.package-btn:disabled { background: #ccc; cursor: not-allowed; }

/* Membership modal (2-step) */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open { display: flex; }

.modal-box {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes popIn { from { transform: scale(0.93); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.modal-box h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; margin-bottom: 1.2rem; }

.modal-summary { background: #fdf5f3; border-radius: 12px; padding: 1rem; margin-bottom: 1.2rem; }
.modal-summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 0.3rem 0; }
.modal-summary-row.highlight { font-weight: 700; font-size: 1rem; color: var(--dark-text); border-top: 1px solid #f0e6e4; margin-top: 0.4rem; padding-top: 0.6rem; }

.modal-step { display: none; }
.modal-step.active { display: block; }

.modal-btns { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.modal-btns button { flex: 1; padding: 0.7rem; border-radius: 99px; border: none; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.modal-cancel { background: #f5f0ee; color: var(--mid-gray); }
.modal-cancel:hover { background: #ede8e6; }
.modal-next { background: #8a4f48; color: white; }
.modal-next:hover { background: #6f3f39; }
.modal-confirm { background: #3f6f4e; color: white; }
.modal-confirm:hover { background: #355d41; }

.m-payment-methods { display: flex; gap: 0.8rem; margin-bottom: 1rem; }

.m-pm-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem;
  border: 2px solid #f0e6e4;
  border-radius: 10px;
  background: white;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark-text);
  transition: border-color 0.2s;
}

.m-pm-btn.active { border-color: #c9847c; background: #fdf5f3; }

.m-paynow-panel, .m-card-panel { display: none; }
.m-paynow-panel.show { display: flex; flex-direction: column; align-items: center; width: 100%; }
.m-card-panel.show { display: block; }

.m-qr-wrap { display: flex; justify-content: center; align-items: center; margin: 0.8rem 0; }
.m-paynow-amt { text-align: center; font-family: var(--font-display); font-size: 1.8rem; color: var(--dark-text); margin-bottom: 0.5rem; }
.m-paynow-note { font-size: 0.82rem; color: var(--mid-gray); text-align: center; background: #fdf5f3; border-radius: 8px; padding: 0.6rem; margin-top: 0.6rem; }

.m-card-preview {
  background: linear-gradient(135deg, #c9847c, #9b6bb5);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  color: white;
  margin-bottom: 1rem;
  position: relative;
}

.m-card-chip { width: 32px; height: 24px; background: rgba(255,255,255,0.4); border-radius: 4px; margin-bottom: 0.8rem; }
.m-card-num { font-size: 1rem; letter-spacing: 0.15em; margin-bottom: 0.8rem; font-family: monospace; }
.m-card-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.m-card-label { font-size: 0.6rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.06em; }
.m-card-value { font-size: 0.82rem; font-weight: 600; }
.m-card-brand { font-family: var(--font-display); font-size: 1rem; opacity: 0.9; }

.m-field { margin-bottom: 0.8rem; }
.m-field label { display: block; font-size: 0.78rem; color: var(--mid-gray); margin-bottom: 0.3rem; }

.m-field input {
  width: 100%;
  padding: 0.55rem 0.8rem;
  border: 1px solid #e8ddd8;
  border-radius: 8px;
  font-size: 0.9rem;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
}

.m-field input:focus { border-color: #c9847c; }
.m-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }

/* Wallet transaction history */
.wallet-history-card { background: white; border: 1px solid #f0e6e4; border-radius: 16px; padding: 1.8rem; }

.wallet-history-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; color: var(--dark-text); margin-bottom: 1.2rem; padding-bottom: 0.6rem; border-bottom: 1px solid #f0e6e4; }

.wt-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.wt-table th { text-align: left; padding: 0.6rem 1rem; color: var(--mid-gray); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 2px solid #f0e6e4; }
.wt-table td { padding: 0.85rem 1rem; border-bottom: 1px solid #faf5f4; vertical-align: middle; }
.wt-table tr:last-child td { border-bottom: none; }
.wt-table tr:hover td { background: #fdf8f7; }
.wt-badge { display: inline-flex; align-items: center; padding: 0.3rem 0.75rem; border-radius: 99px; font-weight: 700; font-size: 0.85rem; white-space: nowrap; }
.wt-badge.topup { background: #e8f5ec; color: #25643f; }
.wt-badge.spend { background: #fdecea; color: #c0392b; }
.wt-chip { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 99px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; }
.wt-chip.topup { background: #e8f5ec; color: #25643f; }
.wt-chip.spend { background: #fdecea; color: #c0392b; }
.wt-date { font-size: 0.82rem; color: var(--mid-gray); white-space: nowrap; }
.wt-empty { text-align: center; padding: 3rem; color: var(--mid-gray); }

@media (max-width: 600px) {
  .wallet-history-card { padding: 1.2rem; }
  .membership-page { padding: 0 1rem 5rem; }
  .wallet-hero { padding: 1.5rem; }
  .wallet-hero-left h2 { font-size: 1.3rem; }
  .packages-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .package-card { padding: 1.2rem 1rem; }
  .package-get { font-size: 1.6rem; }
}