/* VdBT — inloggen, klant worden, wachtwoord vergeten, account (20-10-2026).
   Alleen geladen door templates/customer/*.tpl. Niet in custom.css zetten. */

.vdbt-account { max-width: 1040px; margin: 0 auto 2rem; }

.vdbt-account .page-header { text-align: left; margin-bottom: 1.5rem; }
.vdbt-account .page-header .page-title { margin-bottom: .25rem; }
.vdbt-account .page-header .vdbt-sub { color: #6c757d; font-size: 1.05rem; margin: 0; }

.vdbt-account .vdbt-topline {
  display: flex; justify-content: flex-end; font-size: .85rem; color: #6c757d; margin-bottom: .5rem;
}
.vdbt-account .vdbt-topline a { margin-left: .5rem; text-decoration: underline; }

.vdbt-cards { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: stretch; }
.vdbt-card {
  flex: 1 1 380px; min-width: 0;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 8px;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  display: flex; flex-direction: column;
}
.vdbt-card h2 { font-size: 1.25rem; margin: 0 0 1rem; }
.vdbt-card.vdbt-card-info { background: #f7f9fb; }
.vdbt-card .vdbt-grow { flex: 1 1 auto; }

/* Formulieren: label boven veld, volle breedte */
.vdbt-account .form-group.row { margin-left: 0; margin-right: 0; display: block; }
.vdbt-account .form-group.row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; padding-left: 0; padding-right: 0; }
.vdbt-account .form-group.row > .col-md-2.form-control-comment { display: none; }
.vdbt-account .col-form-label { padding-top: 0; padding-bottom: .25rem; font-weight: 600; }
.vdbt-account .form-control { width: 100%; }
.vdbt-account .form-control-comment { font-size: .8rem; color: #6c757d; }
.vdbt-account label { display: block; margin-bottom: .25rem; font-weight: 600; }
.vdbt-account .form-group { margin-bottom: 1rem; }
.vdbt-account .vdbt-row2 { display: flex; gap: 1rem; }
.vdbt-account .vdbt-row2 > .form-group { flex: 1 1 0; min-width: 0; }
@media (max-width: 480px) { .vdbt-account .vdbt-row2 { display: block; } }

.vdbt-account .input-group { display: flex; flex-wrap: nowrap; width: 100%; }
.vdbt-account .input-group .form-control { flex: 1 1 auto; width: 1%; min-width: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.vdbt-account .input-group-append { display: flex; }
.vdbt-account .input-group .btn-outline-secondary { white-space: nowrap; }

.vdbt-account .form-footer { text-align: left; margin-top: .5rem; }
.vdbt-account .btn-block { display: block; width: 100%; }
.vdbt-account .forgot-password, .vdbt-account #login-form .forgot-password { margin: -.5rem 0 1rem; font-size: .9rem; text-align: left; }
.vdbt-account .vdbt-card, .vdbt-account .vdbt-card h2 { text-align: left; }
.vdbt-account .forgot-password a { text-decoration: underline; }

.vdbt-account .vdbt-check { display: flex; align-items: flex-start; gap: .5rem; font-weight: normal; }
.vdbt-account .vdbt-check input { margin-top: .3rem; flex: 0 0 auto; }
.vdbt-account .vdbt-check a { text-decoration: underline; }

.vdbt-account ul.vdbt-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.vdbt-account ul.vdbt-list li { padding-left: 1.4rem; position: relative; margin-bottom: .5rem; line-height: 1.5; }
.vdbt-account ul.vdbt-list li::before { content: "\2022"; position: absolute; left: .25rem; color: #0a58ca; font-weight: bold; }
.vdbt-account ol.vdbt-steps { padding-left: 0; margin: 0 0 1.25rem; counter-reset: s; list-style: none; }
.vdbt-account ol.vdbt-steps li { counter-increment: s; position: relative; padding-left: 2.2rem; margin-bottom: .75rem; line-height: 1.5; }
.vdbt-account ol.vdbt-steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #0a58ca; color: #fff;
  font-size: .85rem; font-weight: bold; text-align: center; line-height: 1.6rem;
}
.vdbt-account .vdbt-note { font-size: .9rem; color: #6c757d; margin: .75rem 0 0; }
.vdbt-account .vdbt-after { margin-top: 1.25rem; font-size: .9rem; }

/* Bestelgeschiedenis */
.vdbt-history { width: 100%; overflow-x: auto; }
.vdbt-history table { width: 100%; table-layout: auto; margin-bottom: 0; }
.vdbt-history th, .vdbt-history td { vertical-align: middle; white-space: nowrap; }
.vdbt-history td.vdbt-actions { text-align: right; }
.vdbt-history td.vdbt-actions .btn { margin-left: .25rem; margin-bottom: .25rem; }
.vdbt-history .btn-sm { padding: .3rem .7rem; font-size: .85rem; }
