/* ============================================================
   business-registration.css
   Path: your-theme/assets/css/business-registration.css
   ============================================================ */

.pbr-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1a1a1a;
    background: #f0f2f5;
    min-height: 100vh;
    padding: 40px 16px 60px;
    box-sizing: border-box;
}
.pbr-already-logged-in { text-align: center; padding: 40px; color: #6b7280; }

/* Header */
.pbr-header    { text-align: center; margin-bottom: 24px; }
.pbr-main-title { font-size: 26px; font-weight: 700; margin: 0 0 6px; color: #111; }
.pbr-main-sub   { font-size: 15px; color: #666; margin: 0; }

/* Card */
.pbr-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e6ea;
    padding: 32px 36px;
    max-width: 520px;
    margin: 0 auto;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
@media (max-width: 560px) { .pbr-card { padding: 24px 20px; } }

/* Step Indicator */
.pbr-steps { display: flex; align-items: flex-start; justify-content: center; margin-bottom: 28px; }
.pbr-step-item { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 0 0 auto; }
.pbr-step-bubble {
    width: 36px; height: 36px; border-radius: 50%;
    background: #e5e7eb; color: #9ca3af;
    font-size: 14px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    transition: background .3s, color .3s;
}
.pbr-step-item.active .pbr-step-bubble,
.pbr-step-item.complete .pbr-step-bubble { background: #b5d400; color: #1a2400; }
.pbr-step-label { font-size: 11px; font-weight: 500; color: #9ca3af; white-space: nowrap; }
.pbr-step-item.active .pbr-step-label,
.pbr-step-item.complete .pbr-step-label { color: #1a1a1a; }
.pbr-step-line { flex: 1; height: 2px; background: #e5e7eb; margin-top: 17px; min-width: 40px; transition: background .3s; }
.pbr-step-line.active { background: #b5d400; }

/* Panel */
.pbr-panel-title { font-size: 20px; font-weight: 700; margin: 0 0 4px; }
.pbr-panel-sub   { font-size: 14px; color: #6b7280; margin: 0 0 24px; }
.pbr-step-panel  { animation: pbr-fadein .25s ease; }
@keyframes pbr-fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Fields */
.pbr-field { margin-bottom: 18px; }
.pbr-field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: #374151; }
.pbr-req { color: #ef4444; margin-left: 2px; }
.pbr-field input,
.pbr-field select {
    width: 100%; border: 1.5px solid #d1d5db; border-radius: 8px;
    padding: 10px 14px; font-size: 14px; color: #111; background: #fff;
    box-sizing: border-box; outline: none; transition: border-color .2s, box-shadow .2s;
    appearance: none; -webkit-appearance: none;
}
.pbr-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer;
}
.pbr-field input::placeholder { color: #9ca3af; }
.pbr-field input:focus,
.pbr-field select:focus { border-color: #b5d400; box-shadow: 0 0 0 3px rgba(181,212,0,.15); }
.pbr-field input.pbr-has-error,
.pbr-field select.pbr-has-error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.1); }

.pbr-field-row  { display: flex; gap: 14px; }
.pbr-field-half { flex: 1; margin-bottom: 18px; }

/* Terms */
.pbr-field-terms { margin-bottom: 20px; }
.pbr-checkbox-label {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 13px; color: #374151; cursor: pointer;
    padding: 12px; border: 1.5px solid #e5e7eb; border-radius: 8px; background: #fafafa;
}
.pbr-checkbox-label input[type="checkbox"] { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; accent-color: #b5d400; cursor: pointer; }
.pbr-checkbox-label a { color: #1a1a1a; font-weight: 600; text-decoration: none; }
.pbr-checkbox-label a:hover { text-decoration: underline; }

/* Errors */
.pbr-error        { display: block; font-size: 12px; color: #ef4444; margin-top: 4px; min-height: 16px; }
.pbr-global-error { background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; padding: 12px 14px; font-size: 13px; color: #dc2626; margin-bottom: 18px; }

/* Nav */
.pbr-nav       { display: flex; margin-top: 24px; }
.pbr-nav-right { justify-content: flex-end; }
.pbr-nav-split { justify-content: space-between; }
.pbr-btn {
    padding: 11px 28px; border-radius: 100px; font-size: 14px; font-weight: 600;
    cursor: pointer; border: none; transition: opacity .2s, transform .1s;
    display: inline-flex; align-items: center; gap: 8px;
}
.pbr-btn:active   { transform: scale(.97); }
.pbr-btn:disabled { opacity: .55; cursor: not-allowed; }
.pbr-btn-primary  { background: #1f2b1f; color: #fff; }
.pbr-btn-primary:hover { background: #2e3f2e; }
.pbr-btn-outline  { background: transparent; color: #1a1a1a; border: 1.5px solid #d1d5db; }
.pbr-btn-outline:hover { background: #f3f4f6; }
.pbr-spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: pbr-spin .7s linear infinite; }
@keyframes pbr-spin { to { transform: rotate(360deg); } }

/* Footer */
.pbr-signin-footer { text-align: center; font-size: 13px; color: #6b7280; margin-top: 16px; }
.pbr-signin-footer a { color: #1a1a1a; font-weight: 600; text-decoration: none; }
.pbr-signin-footer a:hover { text-decoration: underline; }

/* Success */
.pbr-success { text-align: center; padding: 80px 20px; max-width: 480px; margin: 0 auto; }
.pbr-success-icon { width: 68px; height: 68px; border-radius: 18px; background: #b5d400; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; color: #1a2400; }
.pbr-success-icon svg { width: 34px; height: 34px; }
.pbr-success-title { font-size: 24px; font-weight: 700; margin: 0 0 14px; color: #111; }
.pbr-success-msg   { font-size: 15px; color: #4b5563; line-height: 1.6; margin: 0 0 10px; }
.pbr-success-sub   { font-size: 14px; color: #6b7280; margin: 0 0 28px; }
