/* ===== Account Tab ===== */

.account-layout {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 760px;
  margin: 1.25rem auto 0;
}

.account-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  flex: 1;
  min-width: 280px;
  box-shadow: 0 1px 4px var(--shadow-sm);
}

.account-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-light);
}

.account-info-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border-light);
}
.account-info-row:last-child { border-bottom: none; }

.account-info-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  width: 70px;
  flex-shrink: 0;
}
.account-info-value {
  font-size: 0.875rem;
  color: var(--text);
  font-weight: 500;
}

.account-field { margin-bottom: 0.9rem; }
.account-field-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.account-field-input {
  width: 100%;
  padding: 0.45rem 0.65rem;
}
.account-field-input:focus { outline: none; border-color: var(--primary); }

.account-pw-error   { font-size: 0.82rem; color: var(--danger);  min-height: 1.1rem; }
.account-pw-success { font-size: 0.82rem; color: var(--success); min-height: 1.1rem; }

/* Notification preferences grid */
.notif-prefs-header,
.notif-prefs-row {
  display: grid;
  grid-template-columns: 1fr 60px 60px;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.notif-prefs-header {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--border-light);
}
.notif-prefs-header span:not(:first-child) {
  text-align: center;
}

.notif-prefs-row {
  border-bottom: 1px solid var(--border-light);
}
.notif-prefs-row:last-child { border-bottom: none; }

.notif-prefs-row-label {
  font-size: 0.875rem;
  color: var(--text);
}

.notif-prefs-row input[type="checkbox"] {
  justify-self: center;
  cursor: pointer;
}

.notif-prefs-empty {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
}
