/* Premium customer account page */

.acct-body {
  background:
    radial-gradient(at 0% 0%, rgba(80, 112, 56, 0.08) 0, transparent 45%),
    radial-gradient(at 100% 100%, rgba(200, 155, 60, 0.07) 0, transparent 45%),
    var(--cream);
  min-height: 100vh;
}

/* Loading */
.acct-loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: var(--text-muted);
}
.acct-spinner {
  width: 42px; height: 42px;
  border: 4px solid rgba(80, 112, 56, 0.18);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.acct-wrap {
  max-width: 620px;
  margin: 0 auto;
  padding: 16px 18px 80px;
  animation: fadeUp 0.5s var(--transition);
}

/* Top bar */
.acct-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.acct-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cream-light);
  border: 1px solid rgba(80, 112, 56, 0.15);
  color: var(--brown);
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s var(--transition);
}
.acct-chip:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

/* Profile */
.acct-profile {
  text-align: center;
  padding: 18px 0 24px;
}
.acct-avatar {
  width: 92px;
  height: 92px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--cream-light);
  display: grid;
  place-items: center;
  font-size: 40px;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(80, 112, 56, 0.35), 0 0 0 5px var(--cream-light), 0 0 0 7px rgba(200,155,60,0.4);
}
.acct-greeting {
  font-size: 26px;
  font-weight: 900;
  color: var(--brown);
  margin: 0 0 4px;
}
.acct-phone {
  font-size: 15px;
  color: var(--green-dark);
  font-weight: 800;
  direction: ltr;
}
.acct-member {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 4px;
}

/* Points showcase */
.acct-points {
  position: relative;
  background: linear-gradient(135deg, #3d5728 0%, #507038 55%, #5e8348 100%);
  color: var(--cream-light);
  border-radius: 26px;
  padding: 28px 26px 24px;
  margin-bottom: 28px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 18px 44px rgba(61, 87, 40, 0.35);
  border: 1px solid rgba(200, 155, 60, 0.3);
  text-align: center;
}
.acct-points::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 0%, rgba(230, 201, 122, 0.35) 0, transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(230, 201, 122, 0.18) 0, transparent 45%);
  z-index: -1;
}
.acct-points-deco {
  position: absolute;
  top: -14px;
  left: 14px;
  font-size: 110px;
  opacity: 0.12;
  z-index: -1;
}
.acct-points-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.92;
}
.acct-points-value {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.05;
  margin: 6px 0;
  text-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.acct-points-value small { font-size: 20px; font-weight: 700; opacity: 0.8; }
.acct-points-redeem {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  border: 1.5px solid var(--gold-soft);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}
.acct-points-redeem b { color: var(--gold-soft); font-size: 17px; }
.acct-points-hint {
  font-size: 12.5px;
  line-height: 1.7;
  opacity: 0.9;
  max-width: 90%;
  margin: 0 auto;
}
.acct-points-hint b { color: var(--gold-soft); }

/* Section title */
.acct-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 900;
  color: var(--brown);
  margin: 0 4px 16px;
}

/* Reuse .order-list / .order-card from pages.css */
@media (max-width: 480px) {
  .acct-avatar { width: 80px; height: 80px; font-size: 34px; }
  .acct-greeting { font-size: 22px; }
  .acct-points-value { font-size: 52px; }
  .acct-points { padding: 24px 20px 22px; }
}
