/* BlankChem Account Page Plugin — Styles */
:root {
  --bc-navy:   #01020A;
  --bc-card:   #04070F;
  --bc-blue:   #2952C8;
  --bc-bl:     #5B8FE8;
  --bc-white:  #F8F7FF;
  --bc-text:   #D6E2F5;
  --bc-dim:    #5A7098;
  --bc-green:  #2ECC8A;
  --bc-red:    #E05A5A;
  --bc-border: rgba(91,143,232,.14);
  --bc-border2:rgba(91,143,232,.26);
  --bc-r:      8px;
  --bc-rl:     12px;
}

/* ── PAGE WRAPPER ── */
.bc-account {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px 80px;
  font-family: 'Inter', sans-serif;
  color: var(--bc-text);
}

/* ── HERO ── */
.bc-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 0 22px;
  border-bottom: 1px solid var(--bc-border);
  margin-bottom: 0;
  animation: bc-up .35s ease .05s both;
}
.bc-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bc-blue), var(--bc-bl));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  border: 2px solid rgba(91,143,232,.3);
}
.bc-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bc-dim);
  margin-bottom: 4px;
}
.bc-name {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--bc-white);
  letter-spacing: .03em;
  line-height: 1;
}
.bc-email {
  font-size: 12px;
  color: var(--bc-dim);
  margin-top: 5px;
}

/* ── STATS ── */
.bc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--bc-border);
  margin-bottom: 16px;
  animation: bc-up .35s ease .1s both;
}
.bc-stat {
  padding: 16px 0;
  text-align: center;
  border-right: 1px solid var(--bc-border);
}
.bc-stat:last-child { border-right: none; }
.bc-stat-num {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--bc-white);
  line-height: 1;
}
/* Fix WC price tag inside stat */
.bc-stat-num .woocommerce-Price-amount { font-size: inherit; font-family: inherit; font-weight: inherit; color: inherit; }
.bc-stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bc-dim);
  margin-top: 5px;
}

/* ── NAV TILES ── */
.bc-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
  animation: bc-up .35s ease .15s both;
}
.bc-nav-tile {
  background: var(--bc-card);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-rl);
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  transition: border-color .15s;
}
.bc-nav-tile:hover { border-color: var(--bc-border2); }
.bc-nav-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(91,143,232,.08);
  border: 1px solid rgba(91,143,232,.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bc-bl);
  flex-shrink: 0;
}
.bc-nav-icon svg { width: 16px; height: 16px; }
.bc-nav-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--bc-text);
}
.bc-nav-sub { font-size: 10.5px; color: var(--bc-dim); margin-top: 2px; }

/* ── CARDS ── */
.bc-card {
  background: var(--bc-card);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-rl);
  overflow: hidden;
  margin-bottom: 14px;
  animation: bc-up .35s ease .2s both;
}
.bc-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid var(--bc-border);
}
.bc-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bc-white);
}
.bc-card-title svg { width: 13px; height: 13px; color: var(--bc-bl); }
.bc-card-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bc-bl);
  text-decoration: none;
}

/* ── ORDER ROWS ── */
.bc-order-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--bc-border);
  text-decoration: none;
  transition: background .15s;
}
.bc-order-row:last-child { border-bottom: none; }
.bc-order-row:hover { background: rgba(91,143,232,.04); }
.bc-order-left { flex: 1; min-width: 0; }
.bc-order-id {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  color: var(--bc-bl);
  letter-spacing: .06em;
  margin-bottom: 3px;
}
.bc-order-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--bc-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bc-order-date { font-size: 11px; color: var(--bc-dim); margin-top: 2px; }
.bc-order-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}
.bc-order-total { font-size: 13px; font-weight: 700; color: var(--bc-white); }
.bc-order-total .woocommerce-Price-amount { font-size: inherit; color: inherit; }

/* ── PILLS ── */
.bc-pill {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: 20px;
}
.bc-pill-green { background: rgba(46,204,138,.1);  color: var(--bc-green); border: 1px solid rgba(46,204,138,.22); }
.bc-pill-blue  { background: rgba(91,143,232,.1);  color: var(--bc-bl);    border: 1px solid rgba(91,143,232,.22); }
.bc-pill-grey  { background: rgba(255,255,255,.04);color: var(--bc-dim);   border: 1px solid var(--bc-border); }

/* ── EMPTY STATE ── */
.bc-empty { padding: 32px 18px; text-align: center; }
.bc-empty-text { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--bc-dim); margin-bottom: 16px; }
.bc-btn {
  display: inline-flex;
  background: var(--bc-bl);
  color: #fff;
  padding: 11px 22px;
  border-radius: var(--bc-r);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .04em;
}

/* ── ACCOUNT DETAIL ROWS ── */
.bc-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--bc-border);
}
.bc-detail-row:last-child { border-bottom: none; }
.bc-detail-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bc-dim);
  margin-bottom: 4px;
}
.bc-detail-val { font-size: 13px; font-weight: 600; color: var(--bc-text); line-height: 1.6; }
.bc-edit-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bc-bl);
  text-decoration: none;
  flex-shrink: 0;
  margin-left: 12px;
}

/* ── LOGOUT ── */
.bc-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: rgba(224,90,90,.06);
  border: 1px solid rgba(224,90,90,.18);
  border-radius: var(--bc-rl);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bc-red);
  text-decoration: none;
  animation: bc-up .35s ease .3s both;
}
.bc-logout:hover { background: rgba(224,90,90,.1); color: var(--bc-red); }

/* ── ANIMATION ── */
@keyframes bc-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (min-width: 768px) {
  .bc-account { max-width: 620px; padding: 0 0 80px; }
}
