/* Accountcentrum en kleine productie-overrides */
button:disabled { cursor: default; opacity: .62; }
.brand-button { padding: 0; border: 0; background: transparent; }
.status-line { min-height: 20px; margin: 7px 0 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.status-line.error, .account-message.error { color: var(--error); }
.status-line.success, .account-message.success { color: var(--success); }
.account-button { max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Rustigere home: geen dubbele uitleg boven de oefeningen */
.compact-hero { padding: 26px 4px 18px; }
.compact-hero h1 {
  margin-bottom: 0;
  max-width: 560px;
  font-size: clamp(32px, 8vw, 50px);
  line-height: 1.02;
}

#account { padding-top: 12px; }
.account-page { width: min(100%, 760px); margin: 0 auto; padding-bottom: 30px; }
.back-button {
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid #d9e5f6;
  border-radius: 999px;
  color: var(--blue-900);
  background: white;
  font-weight: 800;
}

.account-overview {
  margin: 18px 0 16px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border-radius: var(--radius-xl);
  color: white;
  background: linear-gradient(135deg, var(--blue-950), #0d4bc0);
  box-shadow: var(--shadow);
}
.account-main { min-width: 0; flex: 1 1 auto; }
.account-kicker {
  display: block;
  margin-bottom: 5px;
  color: #afcaff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.inline-name-form {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.inline-name-form input {
  min-width: 0;
  width: 100%;
  max-width: 360px;
  padding: 2px 4px 3px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  outline: none;
  border-radius: 0;
  background: transparent;
  color: white;
  font-size: clamp(25px, 7vw, 34px);
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: -0.035em;
}
.inline-name-form input:focus {
  border-bottom-color: rgba(255,255,255,.55);
  box-shadow: none;
}
.pencil-button {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: white;
  background: rgba(255,255,255,.1);
  font-size: 17px;
  font-weight: 800;
}
.pencil-button:active { transform: scale(.96); }
.account-email {
  display: block;
  margin-top: 6px;
  color: #d2e1ff;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-message {
  min-height: 18px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.account-message-light { color: #d2e1ff; }
.account-message-light.success { color: #d8ffe8; }
.account-message-light.error { color: #ffd9d4; }

.account-bits {
  flex: 0 0 auto;
  min-width: 92px;
  padding: 12px 14px;
  display: grid;
  gap: 2px;
  text-align: right;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px;
  background: rgba(255,255,255,.09);
}
.account-bits span { color: #c9dafa; font-size: 11px; font-weight: 700; }
.account-bits strong { font-size: 27px; }

.account-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
.account-panel {
  padding: 22px;
  border: 1px solid rgba(11,92,255,.11);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}
.account-panel h2 { margin-bottom: 18px; font-size: 25px; letter-spacing: -0.035em; }
.panel-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-heading-row h2 { margin-bottom: 0; }
.accuracy-pill {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--blue-700);
  background: var(--blue-100);
  font-weight: 900;
  font-size: 13px;
}
.stats-total { margin: 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stats-total div { padding: 15px; display: grid; gap: 3px; border-radius: 18px; background: var(--blue-050); }
.stats-total span { color: var(--muted); font-size: 12px; font-weight: 700; }
.stats-total strong { color: var(--blue-950); font-size: 26px; }
.progress-cards { display: grid; gap: 10px; }
.progress-card { padding: 15px; border: 1px solid #e2eaf6; border-radius: 18px; background: white; }
.progress-card > div:first-child { display: grid; gap: 4px; }
.progress-card strong { color: var(--blue-950); font-size: 14px; }
.progress-card span { color: var(--muted); font-size: 12px; }
.mini-progress { height: 8px; margin-top: 12px; overflow: hidden; border-radius: 999px; background: #e1ebf8; }
.mini-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-700), #56a1ff);
  transition: width .3s ease;
}
.danger-button {
  width: 100%;
  min-height: 52px;
  border: 1px solid #f0c7c3;
  border-radius: 17px;
  color: var(--error);
  background: white;
  font-weight: 850;
}

@media (max-width: 560px) {
  .account-button { max-width: 102px; }
  .account-overview { padding: 18px; gap: 10px; }
  .account-bits { min-width: 82px; padding: 11px 12px; }
  .account-bits strong { font-size: 24px; }
  .pencil-button { width: 32px; height: 32px; }
}
