/* Angry B2B Hub — front end (registration form, My Account). Inherits the theme's fonts and colours. */
.ab2b-reg { max-width: 760px; }
.ab2b-reg__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ab2b-reg__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.ab2b-reg__section { grid-column: 1 / -1; margin: 12px 0 0; font-size: 1.15em; }
.ab2b-reg__section:first-child { margin-top: 0; }
.ab2b-reg__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ab2b-reg__field[hidden] { display: none; }
.ab2b-reg__field--full, .ab2b-reg__field--textarea, .ab2b-reg__field--checkbox { grid-column: 1 / -1; }
.ab2b-reg__field label { font-weight: 600; }
.ab2b-reg__field input:not([type=checkbox]):not([type=file]), .ab2b-reg__field select, .ab2b-reg__field textarea { width: 100%; box-sizing: border-box; }
.ab2b-reg__optional { font-weight: 400; opacity: .65; font-size: .9em; }
.ab2b-reg__help { opacity: .75; font-size: .9em; }
.ab2b-reg__check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400 !important; }
.ab2b-reg__check input { margin-top: .3em; }
.ab2b-reg__error { color: #c0263d; font-size: .9em; }
.ab2b-reg__error:empty { display: none; }
.ab2b-reg__field.has-error input, .ab2b-reg__field.has-error select, .ab2b-reg__field.has-error textarea { border-color: #c0263d !important; }
.ab2b-reg__vat { font-size: .9em; min-height: 1em; opacity: .8; }
.ab2b-reg__vat.is-ok { color: #157a3c; opacity: 1; }
.ab2b-reg__vat:empty { display: none; }
.ab2b-reg__actions { margin-top: 20px; }
.ab2b-reg__submit.is-busy { opacity: .6; cursor: progress; }
.ab2b-reg__message { margin-top: 18px; padding: 12px 16px; border-radius: 6px; }
.ab2b-reg__message.is-error { background: #fdecef; color: #9d1c33; }
.ab2b-reg__message.is-success { background: #e7f6ec; color: #145c2f; }
.ab2b-reg.is-done .ab2b-reg__grid, .ab2b-reg.is-done .ab2b-reg__actions { display: none; }
.ab2b-reg-notice { padding: 12px 16px; margin-bottom: 18px; border-radius: 6px; background: rgba(0,0,0,.04); }
@media (max-width: 600px) { .ab2b-reg__grid { grid-template-columns: minmax(0, 1fr); } .ab2b-reg__field { grid-column: 1 / -1; } }

/* My Account → Business */
.ab2b-account__status { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: .85em; font-weight: 600; background: rgba(0,0,0,.06); }
.ab2b-account__status--approved { background: #e7f6ec; color: #145c2f; }
.ab2b-account__status--pending { background: #fdf3e2; color: #8a4b08; }
.ab2b-account__status--rejected, .ab2b-account__status--suspended { background: #fdecef; color: #9d1c33; }
.ab2b-account__note { padding: 12px 16px; margin: 12px 0 20px; border-radius: 6px; background: rgba(0,0,0,.04); }
.ab2b-account table { width: 100%; }
