/* ═══════════════════════════════════════════════════════════════
   KOB Custom Registration Form — Complete Styling
   Loaded only on pages with [kob_register] shortcode.
   ═══════════════════════════════════════════════════════════════ */

.kob-register-wrap {
    max-width: 720px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1a1a1a;
}

.kob-register-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.kob-header {
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid #f0eef2;
}

.kob-header h1 {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.kob-header p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.kob-tabs {
    display: flex;
    gap: 4px;
    padding: 1.25rem 2rem 0;
    border-bottom: 1px solid #f0eef2;
}

.kob-tab {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    border-radius: 8px 8px 0 0;
    transition: all 0.15s ease;
}

.kob-tab.active {
    background: #594a66;
    color: #fff;
}

.kob-form {
    padding: 1.5rem 2rem 2rem;
}

/* Sections */
.kob-section-label {
    margin: 1.5rem 0 0.75rem;
    padding: 0.75rem 0 0;
    border-top: 1px solid #f0eef2;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #594a66;
}

.kob-section-label:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* Rows / fields */
.kob-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.kob-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.kob-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.kob-field.kob-full {
    grid-column: 1 / -1;
    margin-bottom: 1rem;
}

/* Labels */
.kob-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

.kob-req {
    color: #d9466b;
    font-weight: 600;
    margin-left: 2px;
}

/* Inputs */
.kob-field input[type="text"],
.kob-field input[type="email"],
.kob-field input[type="password"],
.kob-field input[type="tel"],
.kob-field input[type="date"],
.kob-field select {
    display: block;
    width: 100%;
    height: 46px;
    padding: 0 14px;
    font-size: 15px;
    line-height: 46px;
    color: #0f172a;
    background: #fafafa;
    border: 1.5px solid #e0dfe3;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
}

.kob-field select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23594a66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='4 6 8 10 12 6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 2.5rem;
    cursor: pointer;
}

.kob-field input:focus,
.kob-field select:focus {
    background: #fff;
    border-color: #594a66;
    box-shadow: 0 0 0 4px rgba(89, 74, 102, 0.12);
}

.kob-field input::placeholder {
    color: #999;
    opacity: 1;
}

/* Password toggle */
.kob-pw-wrap {
    position: relative;
}

.kob-pw-wrap input {
    padding-right: 2.75rem !important;
}

.kob-pw-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 6px;
    border: 0;
    background: transparent;
    color: #666;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kob-pw-toggle:hover {
    background: #f1f5f9;
}

.kob-pw-toggle svg {
    width: 18px;
    height: 18px;
}

/* Gender radio group */
.kob-radio-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.kob-radio {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 12px;
    background: #fafafa;
    border: 1.5px solid #e0dfe3;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: all 0.15s ease;
}

.kob-radio input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.kob-radio:hover {
    background: #f6f4f8;
    border-color: #c8c6cd;
}

.kob-radio:has(input:checked) {
    background: #f6f4f8;
    border-color: #594a66;
    color: #594a66;
    font-weight: 600;
}

.kob-radio input:focus-visible + span,
.kob-radio:focus-within {
    box-shadow: 0 0 0 3px rgba(89, 74, 102, 0.15);
}

/* Payer autocomplete */
.kob-payer-wrap {
    position: relative;
}

.kob-payer-wrap input[type="text"] {
    width: 100%;
}

#kob-payer-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: #fff;
    border: 1.5px solid #e0dfe3;
    border-radius: 10px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: none;
}

.kob-result-item {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #111;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.1s ease;
}

.kob-result-item:last-child {
    border-bottom: 0;
}

.kob-result-item:hover,
.kob-result-item.kob-highlighted {
    background: #f6f4f8;
}

.kob-result-empty {
    padding: 14px 16px;
    color: #888;
    font-size: 14px;
}

.kob-result-loading {
    padding: 14px 16px;
    color: #666;
    font-size: 14px;
    font-style: italic;
}

/* Subscriber fields */
.kob-subscriber-fields {
    display: none;
}

/* Consent */
.kob-consent {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f0eef2;
}

.kob-consent label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.kob-consent input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #594a66;
    flex-shrink: 0;
}

.kob-consent a {
    color: #594a66;
    text-decoration: underline;
}

/* Error box */
.kob-error {
    margin: 1rem 0;
    padding: 12px 16px;
    background: #fef2f2;
    border-left: 4px solid #dc2626;
    border-radius: 6px;
    color: #991b1b;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Submit */
.kob-submit {
    display: block;
    width: 100%;
    height: 52px;
    margin-top: 1.5rem;
    padding: 0 24px;
    background: #594a66;
    color: #fff;
    border: 0;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.15s ease;
}

.kob-submit:hover:not(:disabled) {
    background: #4367b9;
}

.kob-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Already logged in */
.kob-already-logged-in {
    max-width: 720px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: #f6f4f8;
    border-radius: 12px;
    text-align: center;
    color: #333;
}

/* Field validation states */
.kob-field input.kob-invalid,
.kob-field select.kob-invalid {
    border-color: #dc2626 !important;
}

.kob-field input.kob-valid,
.kob-field select.kob-valid {
    border-color: #16a34a !important;
}

.kob-field-error {
    margin-top: 4px;
    color: #dc2626;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Mobile */
@media (max-width: 640px) {
    .kob-register-wrap {
        padding: 0 0.75rem;
        margin: 1rem auto;
    }
    .kob-header {
        padding: 1.5rem 1.25rem 1.25rem;
    }
    .kob-header h1 {
        font-size: 1.4rem;
    }
    .kob-tabs {
        padding: 1rem 1.25rem 0;
    }
    .kob-form {
        padding: 1.25rem 1.25rem 1.5rem;
    }
    .kob-row,
    .kob-row-3 {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
    .kob-field input,
    .kob-field select {
        height: 48px;
        font-size: 16px;
    }
    .kob-radio-group {
        grid-template-columns: repeat(3, 1fr);
    }
    .kob-radio {
        height: 48px;
        font-size: 13px;
    }
    .kob-submit {
        height: 54px;
        font-size: 17px;
    }
}

@media (max-width: 400px) {
    .kob-radio-group {
        grid-template-columns: 1fr;
    }
    .kob-radio {
        height: 44px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   Payment Chooser — Step 4
   ═══════════════════════════════════════════════════════════════ */

.kob-chooser {
    max-width: 640px;
    margin: 0 auto;
    padding: 1rem;
}

.kob-chooser-title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    line-height: 1.4;
}

.kob-chooser-subtitle {
    margin: 0 0 1.5rem;
    text-align: center;
    color: #666;
    font-size: 0.95rem;
}

.kob-chooser-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}


.kob-chooser-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1.5rem;
    background: #fff;
    border: 2px solid #e0dfe3;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    font-family: inherit;
    min-height: 180px;
}

.kob-chooser-btn:hover {
    border-color: #594a66;
    background: #f9f7fb;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(89, 74, 102, 0.15);
}

.kob-chooser-btn:active {
    transform: translateY(0);
}

.kob-chooser-emoji {
    font-size: 2rem;
    line-height: 1;
}

.kob-chooser-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.kob-chooser-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.kob-chooser-insurance:hover .kob-chooser-label {
    color: #594a66;
}

.kob-chooser-selfpay:hover .kob-chooser-label {
    color: #16a34a;
}

/* Back button */
.kob-back-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    background: transparent;
    border: 1px solid #e0dfe3;
    border-radius: 8px;
    color: #666;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.kob-back-btn:hover {
    background: #f6f4f8;
    border-color: #c8c6cd;
    color: #333;
}

/* Self-pay notice */
.kob-selfpay-notice {
    max-width: 480px;
    margin: 2rem auto;
    padding: 2rem;
    text-align: center;
    background: #f0fdf4;
    border: 2px solid #16a34a;
    border-radius: 12px;
}

.kob-selfpay-notice h3 {
    margin: 0 0 0.75rem;
    color: #15803d;
    font-size: 1.15rem;
    font-weight: 700;
}

.kob-selfpay-notice p {
    margin: 0 0 0.5rem;
    color: #166534;
    font-size: 0.95rem;
    line-height: 1.5;
}

.kob-selfpay-hint {
    margin-top: 1rem !important;
    font-size: 0.85rem !important;
    color: #16a34a !important;
    font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════
   Wizard mode — hide redundant header/tabs inside the wizard panel
   ═══════════════════════════════════════════════════════════════ */

.kob-wizard-mode .kob-header,
.kob-wizard-mode .kob-tabs {
    display: none !important;
}

/* Hide any KiviCare-inherited register/login tabs at the top of step 4 */
.kc-register-login-container .nav-tabs {
    display: none !important;
}

.kc-register-login-container ul.nav-tabs {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   Hide KiviCare's register/login tabs + Register button at Step 4
   Only hides when OUR chooser or form is active in the panel
   ═══════════════════════════════════════════════════════════════ */

/* Hide the tabs when our chooser is showing */
.login-register-panel[data-kob-stage] ~ * ,
.login-register-panel[data-kob-stage] .nav-tabs,
#wizard-tab:has(.login-register-panel[data-kob-stage]) ul.nav-tabs,
#wizard-tab:has(.login-register-panel[data-kob-stage]) .nav-tabs {
    display: none !important;
}

/* Hide KiviCare's redundant "Register" button in the footer when our form is active */
#wizard-tab:has(.login-register-panel[data-kob-stage]) .card-widget-footer .iq-button-primary,
#wizard-tab:has(.login-register-panel[data-kob-stage]) .card-widget-footer button:not([data-step="prev"]) {
    display: none !important;
}

/* Hide "Enter Details" heading too — our chooser has its own heading */
#wizard-tab:has(.login-register-panel[data-kob-stage]) .iq-kivi-tab-panel-title-animation {
    display: none !important;
}

#wizard-tab:has(.login-register-panel[data-kob-stage]) hr:first-of-type {
    display: none !important;
}

/* Rewire "Back" button label when on our chooser/form */
#wizard-tab:has(.login-register-panel[data-kob-stage]) .card-widget-footer button[data-step="prev"] {
    font-size: 0 !important;
    position: relative;
}

#wizard-tab:has(.login-register-panel[data-kob-stage]) .card-widget-footer button[data-step="prev"]::after {
    content: "← Back to select new date and time";
    font-size: 15px;
    font-weight: 600;
    display: inline-block;
}

/* ═══════════════════════════════════════════════════════════════
   Modern transparent buttons — black border, subtle hover
   ═══════════════════════════════════════════════════════════════ */

/* Chooser cards — transparent with black outline */
.kob-chooser-btn {
    background: transparent !important;
    border: 1.5px solid #111 !important;
    color: #111 !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
}

.kob-chooser-btn:hover {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
}

.kob-chooser-btn:active {
    transform: translateY(0) !important;
}

.kob-chooser-btn:hover .kob-chooser-label,
.kob-chooser-btn:hover .kob-chooser-desc,
.kob-chooser-btn:hover .kob-chooser-emoji {
    color: #fff !important;
}

/* Emoji inversion on hover (so it looks good on black bg) */
.kob-chooser-btn:hover .kob-chooser-emoji img {
    filter: brightness(0) invert(1) !important;
}

.kob-chooser-label {
    color: #111 !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    transition: color 0.2s ease !important;
}

.kob-chooser-desc {
    color: #555 !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    transition: color 0.2s ease !important;
}

/* Back button — transparent, black border */
.kob-back-btn {
    background: transparent !important;
    border: 1.5px solid #111 !important;
    color: #111 !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    transition: all 0.15s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.kob-back-btn:hover {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
}

.kob-back-btn:hover svg {
    stroke: #fff !important;
}

/* Submit button — solid black (or you can make transparent) */
.kob-submit {
    background: #111 !important;
    color: #fff !important;
    border: 1.5px solid #111 !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    transition: all 0.15s ease !important;
}

.kob-submit:hover:not(:disabled) {
    background: transparent !important;
    color: #111 !important;
}

.kob-submit:disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}

/* ═══════════════════════════════════════════════════════════════
   OVERRIDE KiviCare's green buttons — transparent with black border
   Applies to .iq-button-primary, .iq-button-secondary, and any
   KiviCare buttons inside the wizard's Step 4.
   ═══════════════════════════════════════════════════════════════ */

/* Force override KiviCare's button styles — including inline overrides */
#wizard-tab .iq-button,
#wizard-tab .iq-button-primary,
#wizard-tab .iq-button-secondary,
#wizard-tab .card-widget-footer button,
#wizard-tab .kc-register-login-container button:not([class*="kob"]),
#widgetOrders .iq-button,
#widgetOrders .iq-button-primary,
#widgetOrders .iq-button-secondary,
#widgetOrders .card-widget-footer button,
#widgetOrders button.iq-button,
.kc-register-login-container .iq-button,
.kc-register-login-container .iq-button-primary,
.kc-register-login-container .iq-button-secondary {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #111 !important;
    border: 1.5px solid #111 !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    text-shadow: none !important;
    --iq-primary: transparent !important;
    --iq-secondary: transparent !important;
    --iq-primary-hover: #111 !important;
}

/* Hover — invert to black */
#wizard-tab .iq-button:hover,
#wizard-tab .iq-button-primary:hover,
#wizard-tab .iq-button-secondary:hover,
#wizard-tab .card-widget-footer button:hover,
#widgetOrders .iq-button:hover,
#widgetOrders .iq-button-primary:hover,
#widgetOrders .iq-button-secondary:hover,
#widgetOrders .card-widget-footer button:hover,
.kc-register-login-container .iq-button:hover,
.kc-register-login-container .iq-button-primary:hover,
.kc-register-login-container .iq-button-secondary:hover {
    background: #111 !important;
    background-color: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
}

/* If KiviCare uses ::before/::after for background — hide them */
#wizard-tab .iq-button::before,
#wizard-tab .iq-button::after,
#wizard-tab .iq-button-primary::before,
#wizard-tab .iq-button-primary::after,
#wizard-tab .iq-button-secondary::before,
#wizard-tab .iq-button-secondary::after,
#widgetOrders .iq-button::before,
#widgetOrders .iq-button::after,
.kc-register-login-container .iq-button::before,
.kc-register-login-container .iq-button::after {
    display: none !important;
    background: transparent !important;
}

/* Kill KiviCare green gradient on hover */
#wizard-tab .iq-button-primary:hover,
#wizard-tab .iq-button-primary:focus,
#wizard-tab .iq-button-primary:active {
    background: #111 !important;
    background-image: none !important;
}

/* Ensure the Back button (secondary) has SAME treatment */
#wizard-tab .iq-button-secondary:hover,
#wizard-tab .iq-button-secondary:focus,
#wizard-tab .iq-button-secondary:active {
    background: #111 !important;
    background-image: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   Nuclear option — override ANY button style in our form/chooser
   ═══════════════════════════════════════════════════════════════ */

/* Our chooser cards — most specific selectors */
.kob-chooser .kob-chooser-btn,
.kob-chooser .kob-chooser-btn.kob-chooser-insurance,
.kob-chooser .kob-chooser-btn.kob-chooser-selfpay,
div.kob-chooser > button.kob-chooser-btn,
.login-register-panel .kob-chooser-btn,
.widget-content.login-register-panel .kob-chooser-btn {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #111 !important;
    border: 1.5px solid #111 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

.kob-chooser .kob-chooser-btn:hover {
    background: #111 !important;
    background-color: #111 !important;
    background-image: none !important;
    color: #fff !important;
}

/* Our back button */
.kob-back-btn,
.kob-form .kob-back-btn,
.login-register-panel .kob-back-btn,
#kob-back-to-chooser {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #111 !important;
    border: 1.5px solid #111 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

.kob-back-btn:hover,
.login-register-panel .kob-back-btn:hover,
#kob-back-to-chooser:hover {
    background: #111 !important;
    color: #fff !important;
}

/* Our submit button */
.kob-submit,
#kob-submit,
.kob-form .kob-submit {
    background: #111 !important;
    background-color: #111 !important;
    background-image: none !important;
    color: #fff !important;
    border: 1.5px solid #111 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}

.kob-submit:hover:not(:disabled),
#kob-submit:hover:not(:disabled) {
    background: transparent !important;
    background-color: transparent !important;
    color: #111 !important;
}

.kob-submit:disabled,
#kob-submit:disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}

/* ═══════════════════════════════════════════════════════════════
   DARK GREY INPUT STYLING — form fields
   Matches the "black with simple line boundary" aesthetic
   ═══════════════════════════════════════════════════════════════ */

/* All text inputs, emails, passwords, phones, dates, selects, textareas */
.kob-form input[type="text"],
.kob-form input[type="email"],
.kob-form input[type="password"],
.kob-form input[type="tel"],
.kob-form input[type="date"],
.kob-form input[type="number"],
.kob-form input[type="search"],
.kob-form select,
.kob-form textarea,
.kob-wizard-mode input[type="text"],
.kob-wizard-mode input[type="email"],
.kob-wizard-mode input[type="password"],
.kob-wizard-mode input[type="tel"],
.kob-wizard-mode input[type="date"],
.kob-wizard-mode input[type="number"],
.kob-wizard-mode select,
.kob-wizard-mode textarea,
#kob-register-form input[type="text"],
#kob-register-form input[type="email"],
#kob-register-form input[type="password"],
#kob-register-form input[type="tel"],
#kob-register-form input[type="date"],
#kob-register-form select {
    background: #2b2b2b !important;
    background-color: #2b2b2b !important;
    background-image: none !important;
    color: #f0f0f0 !important;
    border: 1.5px solid #444 !important;
    border-radius: 8px !important;
    padding: 0 14px !important;
    height: 46px !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    box-shadow: none !important;
    outline: none !important;
    transition: all 0.15s ease !important;
    caret-color: #f0f0f0 !important;
    -webkit-text-fill-color: #f0f0f0 !important;
    -webkit-box-shadow: 0 0 0 1000px #2b2b2b inset !important;
}

/* Focus state — slightly lighter grey + accent line */
.kob-form input[type="text"]:focus,
.kob-form input[type="email"]:focus,
.kob-form input[type="password"]:focus,
.kob-form input[type="tel"]:focus,
.kob-form input[type="date"]:focus,
.kob-form input[type="number"]:focus,
.kob-form select:focus,
.kob-form textarea:focus,
.kob-wizard-mode input[type="text"]:focus,
.kob-wizard-mode input[type="email"]:focus,
.kob-wizard-mode input[type="password"]:focus,
.kob-wizard-mode input[type="tel"]:focus,
.kob-wizard-mode input[type="date"]:focus,
.kob-wizard-mode input[type="number"]:focus,
.kob-wizard-mode select:focus,
.kob-wizard-mode textarea:focus,
#kob-register-form input:focus,
#kob-register-form select:focus {
    background: #333 !important;
    background-color: #333 !important;
    border-color: #777 !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08) !important;
    -webkit-box-shadow: 0 0 0 1000px #333 inset, 0 0 0 3px rgba(255, 255, 255, 0.08) !important;
}

/* Placeholder — muted grey on dark bg */
.kob-form input::placeholder,
.kob-form textarea::placeholder,
.kob-wizard-mode input::placeholder,
.kob-wizard-mode textarea::placeholder,
#kob-register-form input::placeholder {
    color: #999 !important;
    opacity: 1 !important;
}

/* Date picker calendar icon — invert so it's visible on dark bg */
.kob-form input[type="date"]::-webkit-calendar-picker-indicator,
.kob-wizard-mode input[type="date"]::-webkit-calendar-picker-indicator,
#kob-register-form input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(0.8) !important;
    cursor: pointer !important;
}

/* Select dropdown — dark bg with light text */
.kob-form select,
.kob-wizard-mode select,
#kob-register-form select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='4 6 8 10 12 6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px !important;
    padding-right: 2.5rem !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer !important;
}

/* Ensure selected option shows light text on dark bg */
.kob-form select option,
.kob-wizard-mode select option,
#kob-register-form select option {
    background: #2b2b2b !important;
    color: #f0f0f0 !important;
}

/* Radio buttons — invert so they show on dark bg */
.kob-form input[type="radio"],
.kob-wizard-mode input[type="radio"],
#kob-register-form input[type="radio"] {
    accent-color: #fff !important;
    filter: invert(1) hue-rotate(180deg) !important;
}

/* Checkbox — same treatment */
.kob-form input[type="checkbox"],
.kob-wizard-mode input[type="checkbox"],
#kob-register-form input[type="checkbox"] {
    accent-color: #fff !important;
    filter: invert(1) hue-rotate(180deg) !important;
}

/* Radio card label — dark grey when selected */
.kob-radio {
    background: #2b2b2b !important;
    background-color: #2b2b2b !important;
    border: 1.5px solid #444 !important;
    color: #f0f0f0 !important;
    border-radius: 10px !important;
    height: 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.kob-radio:hover {
    background: #333 !important;
    border-color: #666 !important;
}

.kob-radio:has(input:checked) {
    background: #3a3a3a !important;
    border-color: #fff !important;
    color: #fff !important;
    font-weight: 600 !important;
}

/* Payer autocomplete — dark grey */
.kob-payer-wrap input[type="text"],
#kob-payer-search {
    background: #2b2b2b !important;
    background-color: #2b2b2b !important;
    color: #f0f0f0 !important;
    border: 1.5px solid #444 !important;
}

#kob-payer-search:focus {
    background: #333 !important;
    border-color: #777 !important;
}

/* Payer results dropdown — dark */
#kob-payer-results {
    background: #2b2b2b !important;
    border: 1.5px solid #444 !important;
    color: #f0f0f0 !important;
}

.kob-result-item {
    background: #2b2b2b !important;
    color: #f0f0f0 !important;
    border-bottom: 1px solid #3a3a3a !important;
}

.kob-result-item:hover,
.kob-result-item.kob-highlighted {
    background: #3a3a3a !important;
    color: #fff !important;
}

.kob-result-loading,
.kob-result-empty {
    color: #999 !important;
    background: #2b2b2b !important;
}

/* Subscriber sub-fields — same dark treatment */
#kob-subscriber-fields input[type="text"],
#kob-subscriber-fields input[type="date"] {
    background: #2b2b2b !important;
    color: #f0f0f0 !important;
    border: 1.5px solid #444 !important;
}

/* Password toggle icon — light on dark */
.kob-pw-toggle {
    color: #ccc !important;
    background: transparent !important;
}

.kob-pw-toggle:hover {
    background: #3a3a3a !important;
    color: #fff !important;
}

/* Labels — light on dark form context */
.kob-form .kob-field label,
.kob-form label,
.kob-wizard-mode label,
#kob-register-form label {
    color: #e0e0e0 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    margin-bottom: 0.4rem !important;
    display: block !important;
}

.kob-req {
    color: #ff6b6b !important;
}

/* Section labels — light on dark */
.kob-section-label {
    color: #bbb !important;
    border-top-color: #3a3a3a !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    margin: 1.5rem 0 0.75rem !important;
    padding: 0.75rem 0 0 !important;
    border-top: 1px solid #3a3a3a !important;
}

.kob-section-label:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
}
/* ═══════════════════════════════════════════════════════════════
   Wizard footer buttons — Next should look identical to Back
   Transparent bg, black border, black text (not green)
   Applies ONLY to the wizard footer, not to our custom form buttons.
   ═══════════════════════════════════════════════════════════════ */

/* Base style for ALL wizard footer buttons */
#wizard-tab .card-widget-footer .iq-button,
#wizard-tab .card-widget-footer .iq-button-primary,
#wizard-tab .card-widget-footer .iq-button-secondary,
.card-widget-footer .iq-button,
.card-widget-footer .iq-button-primary,
.card-widget-footer .iq-button-secondary {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #111 !important;
    border: 1.5px solid #111 !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

/* Hover — invert to solid black */
#wizard-tab .card-widget-footer .iq-button:hover:not(:disabled),
#wizard-tab .card-widget-footer .iq-button-primary:hover:not(:disabled),
#wizard-tab .card-widget-footer .iq-button-secondary:hover:not(:disabled),
.card-widget-footer .iq-button:hover:not(:disabled),
.card-widget-footer .iq-button-primary:hover:not(:disabled),
.card-widget-footer .iq-button-secondary:hover:not(:disabled) {
    background: #111 !important;
    background-color: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
}

/* Disabled state — Next is disabled until form is valid.
   Show reduced opacity but keep transparent + black border look.
   This is the KEY rule that overrides KiviCare's disabled green state. */
#wizard-tab .card-widget-footer .iq-button:disabled,
#wizard-tab .card-widget-footer .iq-button-primary:disabled,
#wizard-tab .card-widget-footer .iq-button-secondary:disabled,
#wizard-tab .card-widget-footer .iq-button.disabled,
#wizard-tab .card-widget-footer .iq-button-primary.disabled,
#wizard-tab .card-widget-footer .iq-button-secondary.disabled,
.card-widget-footer .iq-button:disabled,
.card-widget-footer .iq-button-primary:disabled,
.card-widget-footer .iq-button-secondary:disabled,
.card-widget-footer .iq-button.disabled,
.card-widget-footer .iq-button-primary.disabled,
.card-widget-footer .iq-button-secondary.disabled {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #111 !important;
    border: 1.5px solid #111 !important;
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

/* Kill any KiviCare ::before / ::after backgrounds on wizard buttons */
#wizard-tab .card-widget-footer .iq-button::before,
#wizard-tab .card-widget-footer .iq-button::after,
#wizard-tab .card-widget-footer .iq-button-primary::before,
#wizard-tab .card-widget-footer .iq-button-primary::after,
#wizard-tab .card-widget-footer .iq-button-secondary::before,
#wizard-tab .card-widget-footer .iq-button-secondary::after {
    display: none !important;
    background: transparent !important;
}

/* Any remaining inline-style background override — force transparent */
#wizard-tab .card-widget-footer button[style*="background"] {
    background: transparent !important;
    background-color: transparent !important;
}

/* ═══════════════════════════════════════════════════════════════
   WIZARD FOOTER — Force all states to obey our design
   Base: transparent + black border + black text
   Hover: company color #566286 bg + white text
   Focus: same as hover
   Active: company color
   Disabled: transparent (faded)
   ═══════════════════════════════════════════════════════════════ */

/* Every possible selector for the wizard footer buttons */
#wizard-tab .card-widget-footer button,
#wizard-tab .card-widget-footer .iq-button,
#wizard-tab .card-widget-footer .iq-button-primary,
#wizard-tab .card-widget-footer .iq-button-secondary,
#wizard-tab .card-widget-footer [data-step="next"],
#wizard-tab .card-widget-footer [data-step="prev"],
.card-widget-footer button,
.card-widget-footer .iq-button,
.card-widget-footer .iq-button-primary,
.card-widget-footer .iq-button-secondary,
.card-widget-footer [data-step="next"],
.card-widget-footer [data-step="prev"] {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #111 !important;
    border: 1.5px solid #111 !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    outline: none !important;
    text-shadow: none !important;
    transition: all 0.2s ease !important;
}

/* HOVER — company color #566286 */
#wizard-tab .card-widget-footer button:hover,
#wizard-tab .card-widget-footer .iq-button:hover,
#wizard-tab .card-widget-footer .iq-button-primary:hover,
#wizard-tab .card-widget-footer .iq-button-secondary:hover,
#wizard-tab .card-widget-footer [data-step="next"]:hover:not(:disabled),
#wizard-tab .card-widget-footer [data-step="prev"]:hover:not(:disabled),
.card-widget-footer button:hover,
.card-widget-footer .iq-button:hover,
.card-widget-footer .iq-button-primary:hover,
.card-widget-footer .iq-button-secondary:hover,
.card-widget-footer [data-step="next"]:hover:not(:disabled),
.card-widget-footer [data-step="prev"]:hover:not(:disabled) {
    background: #566286 !important;
    background-color: #566286 !important;
    background-image: none !important;
    color: #ffffff !important;
    border-color: #566286 !important;
    box-shadow: 0 4px 12px rgba(86, 98, 134, 0.25) !important;
}

/* FOCUS — same as hover */
#wizard-tab .card-widget-footer button:focus,
#wizard-tab .card-widget-footer .iq-button:focus,
#wizard-tab .card-widget-footer .iq-button-primary:focus,
#wizard-tab .card-widget-footer .iq-button-secondary:focus,
.card-widget-footer button:focus,
.card-widget-footer .iq-button:focus,
.card-widget-footer .iq-button-primary:focus,
.card-widget-footer .iq-button-secondary:focus {
    background: #566286 !important;
    color: #ffffff !important;
    border-color: #566286 !important;
    box-shadow: 0 0 0 3px rgba(86, 98, 134, 0.2) !important;
    outline: none !important;
}

/* ACTIVE (pressed) */
#wizard-tab .card-widget-footer button:active:not(:disabled),
#wizard-tab .card-widget-footer .iq-button:active:not(:disabled),
#wizard-tab .card-widget-footer .iq-button-primary:active:not(:disabled),
#wizard-tab .card-widget-footer .iq-button-secondary:active:not(:disabled),
.card-widget-footer button:active:not(:disabled),
.card-widget-footer .iq-button:active:not(:disabled),
.card-widget-footer .iq-button-primary:active:not(:disabled),
.card-widget-footer .iq-button-secondary:active:not(:disabled) {
    background: #454e68 !important;
    color: #ffffff !important;
    border-color: #454e68 !important;
    transform: scale(0.98) !important;
}

/* DISABLED — transparent + faded */
#wizard-tab .card-widget-footer button:disabled,
#wizard-tab .card-widget-footer .iq-button:disabled,
#wizard-tab .card-widget-footer .iq-button-primary:disabled,
#wizard-tab .card-widget-footer .iq-button-secondary:disabled,
#wizard-tab .card-widget-footer button.disabled,
#wizard-tab .card-widget-footer .iq-button.disabled,
#wizard-tab .card-widget-footer .iq-button-primary.disabled,
#wizard-tab .card-widget-footer .iq-button-secondary.disabled,
.card-widget-footer button:disabled,
.card-widget-footer .iq-button:disabled,
.card-widget-footer .iq-button-primary:disabled,
.card-widget-footer .iq-button-secondary:disabled,
.card-widget-footer button.disabled,
.card-widget-footer .iq-button.disabled,
.card-widget-footer .iq-button-primary.disabled,
.card-widget-footer .iq-button-secondary.disabled {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #111 !important;
    border: 1.5px solid #111 !important;
    opacity: 0.45 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
}

/* Kill any ::before/::after that KiviCare may use to render green */
#wizard-tab .card-widget-footer button::before,
#wizard-tab .card-widget-footer button::after,
#wizard-tab .card-widget-footer .iq-button::before,
#wizard-tab .card-widget-footer .iq-button::after,
#wizard-tab .card-widget-footer .iq-button-primary::before,
#wizard-tab .card-widget-footer .iq-button-primary::after,
.card-widget-footer button::before,
.card-widget-footer button::after,
.card-widget-footer .iq-button::before,
.card-widget-footer .iq-button::after,
.card-widget-footer .iq-button-primary::before,
.card-widget-footer .iq-button-primary::after {
    content: none !important;
    display: none !important;
    background: transparent !important;
}

/* Force any inline background override to be transparent (for :hover we use JS) */
#wizard-tab .card-widget-footer button[style*="background"],
.card-widget-footer button[style*="background"] {
    background-color: transparent !important;
}



/* Or if you don't want height limit, just ensure it scrolls with a min */
@media (max-width: 768px) {
    .widget-content,
    #kivicare-widget-main-content .widget-content {
        max-height: calc(100vh - 200px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}

/* ═══════════════════════════════════════════════════════════════
   TIME SLOTS — Style the SELECTED state (black filled)
   Uses :checked + label to catch the actual selection
   ═══════════════════════════════════════════════════════════════ */

/* Base time slot label — transparent with black border */
.iq-time-slot label.iq-button,
.iq-time-slot .iq-button-white,
.appointments-slot-select label {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #111 !important;
    border: 1.5px solid #111 !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    font-weight: 500 !important;
    transition: all 0.15s ease !important;
    display: inline-block !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

/* Hover on time slot — invert to black */
.iq-time-slot:hover label.iq-button,
.iq-time-slot label.iq-button:hover,
.appointments-slot-select label:hover {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
}

/* ⭐ SELECTED state — the KEY rule
   Uses :checked + label — the radio input is a preceding sibling of the label */
.iq-time-slot input[type="radio"]:checked + label,
.iq-time-slot input[type="radio"]:checked ~ label,
.iq-time-slot label.iq-button-primary,
.iq-time-slot label.active,
.iq-time-slot label.selected,
.iq-time-slot.selected label,
.iq-time-slot.active label,
.appointments-slot-select input[type="radio"]:checked + label,
.appointments-slot-select label.iq-button-primary,
.appointments-slot-select label.active,
.appointments-slot-select label.selected {
    background: #111 !important;
    background-color: #111 !important;
    background-image: none !important;
    color: #fff !important;
    border-color: #111 !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(17, 17, 17, 0.25) !important;
}

/* Also handle the checked state directly on the label if KiviCare changes structure */
input[type="radio"]:checked + .iq-button-white {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
}

/* Hide the default radio button appearance (so only our styled label shows) */
.iq-time-slot input[type="radio"],
.appointments-slot-select input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 1px !important;
    height: 1px !important;
}

/* ═══════════════════════════════════════════════════════════════
   TIME SLOTS — Force selected state visible with specificity
   ═══════════════════════════════════════════════════════════════ */

/* Base: transparent with black border */
#timeSlotLists label.iq-button,
#timeSlotLists label.iq-button-white,
.appointments-slot-select label {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #111 !important;
    border: 1.5px solid #111 !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    font-weight: 500 !important;
    display: inline-block !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: all 0.15s ease !important;
    opacity: 1 !important;
}

/* Hover */
#timeSlotLists label.iq-button:hover,
#timeSlotLists label.iq-button-white:hover {
    background: #333 !important;
    color: #fff !important;
    border-color: #333 !important;
}

/* ⭐ SELECTED — check multiple selector patterns */
#timeSlotLists input[type="radio"]:checked + label,
#timeSlotLists input[type="radio"]:checked ~ label,
#timeSlotLists .iq-time-slot input[type="radio"]:checked + label,
#timeSlotLists .iq-time-slot.selected label,
#timeSlotLists .iq-time-slot.active label,
#timeSlotLists .selected label.iq-button,
#timeSlotLists .active label.iq-button,
#timeSlotLists label.selected,
#timeSlotLists label.active,
#timeSlotLists label.iq-button-primary,
.appointments-slot-select input[type="radio"]:checked + label.iq-button,
.appointments-slot-select input[type="radio"]:checked + label.iq-button-white {
    background: #111 !important;
    background-color: #111 !important;
    background-image: none !important;
    color: #ffffff !important;
    border: 1.5px solid #111 !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(17, 17, 17, 0.3) !important;
    opacity: 1 !important;
}

/* Hide the raw radio input — only the label matters visually */
#timeSlotLists input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    pointer-events: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   ULTIMATE BACK BUTTON FIX — kill font-size:0 hiding
   ═══════════════════════════════════════════════════════════════ */
#wizard-tab .card-widget-footer button[data-step="prev"],
#wizard-tab .card-widget-footer .iq-button-secondary,
#widgetOrders .card-widget-footer button[data-step="prev"],
#widgetOrders .card-widget-footer .iq-button-secondary,
.card-widget-footer button[data-step="prev"],
.card-widget-footer .iq-button-secondary,
.card-widget-footer button.iq-button[data-step="prev"] {
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    text-indent: 0 !important;
    color: #111 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 1.5px solid #111 !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    height: auto !important;
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    white-space: nowrap !important;
    text-transform: none !important;
    font-family: inherit !important;
    box-shadow: none !important;
}

/* Kill any ::before/::after that might be used for the label */
#wizard-tab .card-widget-footer button[data-step="prev"]::before,
#wizard-tab .card-widget-footer button[data-step="prev"]::after,
#wizard-tab .card-widget-footer .iq-button-secondary::before,
#wizard-tab .card-widget-footer .iq-button-secondary::after,
.card-widget-footer button[data-step="prev"]::before,
.card-widget-footer button[data-step="prev"]::after,
.card-widget-footer .iq-button-secondary::before,
.card-widget-footer .iq-button-secondary::after {
    content: none !important;
    display: none !important;
}

/* Ensure inner spans/text aren't hidden */
#wizard-tab .card-widget-footer button[data-step="prev"] span,
#wizard-tab .card-widget-footer button[data-step="prev"] *,
.card-widget-footer button[data-step="prev"] span,
.card-widget-footer button[data-step="prev"] * {
    font-size: 15px !important;
    color: #111 !important;
    visibility: visible !important;
    display: inline !important;
    opacity: 1 !important;
}

/* ═══════════════════════════════════════════════════════════════
   INSURANCE FORM — Force light background on all wrappers
   So the grey input borders and black text are visible
   ═══════════════════════════════════════════════════════════════ */

/* Every ancestor of our form → white background */
.kob-register-wrap.kob-wizard-mode,
.kob-register-wrap.kob-wizard-mode .kob-form,
.kob-form,
#kob-register,
#kob-register-form {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #111 !important;
}

/* The panel inside the wizard — force light too */
.login-register-panel[data-kob-stage="insurance"],
.login-register-panel[data-kob-stage="insurance"] > div,
.login-register-panel[data-kob-stage="insurance"] .kob-register-wrap {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #111 !important;
}

/* The wizard tab panel — inherit light */
#wizard-tab .iq-fade.iq-tab-pannel.active,
#wizard-tab .iq-tab-pannel,
#wizard-tab .widget-content,
#wizard-tab .widget-content[data-kob-stage] {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
}

/* Section labels — light grey, readable on white */
.kob-form .kob-section-label,
#kob-register-form .kob-section-label,
.kob-wizard-mode .kob-section-label {
    color: #594a66 !important;
    background: transparent !important;
    border-top-color: #e5e7eb !important;
    font-weight: 700 !important;
}

/* Form labels — dark, readable */
.kob-form .kob-field label,
.kob-form label,
#kob-register-form label,
.kob-wizard-mode label {
    color: #111 !important;
    background: transparent !important;
    font-weight: 500 !important;
}

/* Required asterisk */
.kob-form .kob-req,
#kob-register-form .kob-req {
    color: #dc2626 !important;
    font-weight: 700 !important;
}

/* Inputs — light grey background, dark text, grey border */
.kob-form input[type="text"],
.kob-form input[type="email"],
.kob-form input[type="password"],
.kob-form input[type="tel"],
.kob-form input[type="date"],
.kob-form input[type="number"],
.kob-form select,
.kob-form textarea,
#kob-register-form input[type="text"],
#kob-register-form input[type="email"],
#kob-register-form input[type="password"],
#kob-register-form input[type="tel"],
#kob-register-form input[type="date"],
#kob-register-form select {
    background: #f8f8f8 !important;
    background-color: #f8f8f8 !important;
    background-image: none !important;
    color: #111 !important;
    border: 1.5px solid #ccc !important;
    border-radius: 8px !important;
    height: 44px !important;
    padding: 0 14px !important;
    font-size: 15px !important;
    -webkit-text-fill-color: #111 !important;
    caret-color: #111 !important;
}

.kob-form input:focus,
.kob-form select:focus,
#kob-register-form input:focus,
#kob-register-form select:focus {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-color: #594a66 !important;
    box-shadow: 0 0 0 3px rgba(89, 74, 102, 0.12) !important;
    outline: none !important;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset, 0 0 0 3px rgba(89, 74, 102, 0.12) !important;
}

.kob-form input::placeholder,
#kob-register-form input::placeholder {
    color: #999 !important;
    opacity: 1 !important;
}

/* Select dropdown */
.kob-form select,
#kob-register-form select {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23594a66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='4 6 8 10 12 6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px !important;
    padding-right: 2.5rem !important;
    cursor: pointer !important;
}

/* Payer search input */
#kob-payer-search {
    background: #f8f8f8 !important;
    background-color: #f8f8f8 !important;
    color: #111 !important;
    border: 1.5px solid #ccc !important;
}

#kob-payer-search:focus {
    background: #ffffff !important;
    border-color: #594a66 !important;
}

/* Payer results dropdown — light with dark text */
#kob-payer-results {
    background: #ffffff !important;
    border: 1.5px solid #ccc !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
    color: #111 !important;
}

.kob-result-item {
    background: #ffffff !important;
    color: #111 !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.kob-result-item:hover {
    background: #f6f4f8 !important;
    color: #594a66 !important;
}

.kob-result-loading,
.kob-result-empty {
    background: #ffffff !important;
    color: #666 !important;
}

/* Radio gender cards — light background */
.kob-form .kob-radio,
#kob-register-form .kob-radio {
    background: #f8f8f8 !important;
    background-color: #f8f8f8 !important;
    border: 1.5px solid #ccc !important;
    color: #111 !important;
    border-radius: 8px !important;
}

.kob-form .kob-radio:hover,
#kob-register-form .kob-radio:hover {
    background: #f0f0f0 !important;
    border-color: #999 !important;
}

.kob-form .kob-radio:has(input:checked),
#kob-register-form .kob-radio:has(input:checked) {
    background: #f0eef2 !important;
    border-color: #594a66 !important;
    color: #594a66 !important;
    font-weight: 600 !important;
}

/* Consent checkbox area */
.kob-form .kob-consent label,
#kob-register-form .kob-consent label {
    color: #444 !important;
    background: transparent !important;
}

.kob-form .kob-consent a,
#kob-register-form .kob-consent a {
    color: #594a66 !important;
    text-decoration: underline !important;
}

/* Password toggle */
.kob-pw-toggle {
    color: #666 !important;
    background: transparent !important;
}

.kob-pw-toggle:hover {
    background: #f0f0f0 !important;
    color: #111 !important;
}

/* Submit button — black on white */
.kob-form .kob-submit,
#kob-register-form .kob-submit {
    background: #111 !important;
    background-color: #111 !important;
    background-image: none !important;
    color: #ffffff !important;
    border: 1.5px solid #111 !important;
    border-radius: 10px !important;
    padding: 12px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    height: 50px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.kob-form .kob-submit:hover,
#kob-register-form .kob-submit:hover {
    background: #566286 !important;
    border-color: #566286 !important;
    color: #ffffff !important;
}

/* Change payment method back button — dark on light */
.kob-back-btn,
#kob-back-to-chooser {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #111 !important;
    border: 1.5px solid #111 !important;
}

.kob-back-btn:hover,
#kob-back-to-chooser:hover {
    background: #111 !important;
    color: #ffffff !important;
}

/* Error box — red visible on light */
#kob-error {
    background: #fef2f2 !important;
    color: #991b1b !important;
    border-left: 4px solid #dc2626 !important;
}

/* ═══════════════════════════════════════════════════════════════
   HIDE KiviCare's duplicate password toggle (KOB has its own)
   ═══════════════════════════════════════════════════════════════ */
.coviapath-pw-wrap .coviapath-pw-toggle {
    display: none !important;
}

/* But keep the wrapper positioning correct */
.coviapath-pw-wrap {
    position: relative !important;
}

.coviapath-pw-wrap input {
    padding-right: 44px !important;
}

/* Position OUR toggle over the field */
.kob-pw-wrap {
    position: relative !important;
}

.kob-pw-toggle {
    position: absolute !important;
    top: 50% !important;
    right: 8px !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px !important;
    border: none !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #666 !important;
    cursor: pointer !important;
    z-index: 2 !important;
}

/* ═══════════════════════════════════════════════════════════════
   FORCE WHITE on our form + wrapper — maximum specificity
   (matches the specificity of the removed dark rule, plus more)
   ═══════════════════════════════════════════════════════════════ */

/* Match every possible path to our form element */
.login-register-panel .kob-register-wrap.kob-wizard-mode .kob-form,
.login-register-panel .kob-register-wrap.kob-wizard-mode .kob-form form,
.login-register-panel .kob-register-wrap.kob-wizard-mode #kob-register-form,
.widget-content .kob-register-wrap.kob-wizard-mode .kob-form,
.widget-content .kob-register-wrap.kob-wizard-mode #kob-register-form,
#wizard-tab .kob-register-wrap.kob-wizard-mode .kob-form,
#wizard-tab .kob-register-wrap.kob-wizard-mode #kob-register-form,
#wizard-tab .login-register-panel .kob-form,
#wizard-tab .login-register-panel #kob-register-form,
#widgetOrders .kob-register-wrap .kob-form,
#widgetOrders .kob-register-wrap #kob-register-form,
.kob-register-wrap.kob-wizard-mode .kob-form,
.kob-register-wrap.kob-wizard-mode #kob-register-form,
#kob-register .kob-form,
#kob-register #kob-register-form,
#kob-register-form.kob-form,
.kob-wizard-mode .kob-form,
.kob-wizard-mode #kob-register-form,
form#kob-register-form,
.kob-form#kob-register-form {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #111 !important;
    padding: 1.5rem !important;
    border-radius: 12px !important;
}

/* Ensure text nodes inside also inherit light */
#kob-register-form *,
.kob-form * {
    background-color: transparent;
}

/* ═══════════════════════════════════════════════════════════════
   INSURANCE FORM — Final color cleanup
   Fixes: submit button, placeholder brightness, select options,
          consent checkbox
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. CREATE ACCOUNT BUTTON — white base, purple hover ─── */
#kob-register-form .kob-submit,
#kob-register-form #kob-submit,
#kob-submit,
form#kob-register-form button[type="submit"] {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #111 !important;
    border: 1.5px solid #111 !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
}

#kob-register-form .kob-submit:hover:not(:disabled),
#kob-register-form #kob-submit:hover:not(:disabled),
#kob-submit:hover:not(:disabled),
form#kob-register-form button[type="submit"]:hover:not(:disabled) {
    background: #566286 !important;
    background-color: #566286 !important;
    color: #ffffff !important;
    border-color: #566286 !important;
    box-shadow: 0 4px 12px rgba(86, 98, 134, 0.25) !important;
}

#kob-register-form .kob-submit:active:not(:disabled),
#kob-submit:active:not(:disabled) {
    background: #454e68 !important;
    border-color: #454e68 !important;
}

#kob-register-form .kob-submit:disabled,
#kob-submit:disabled {
    background: #e5e5e5 !important;
    color: #999 !important;
    border-color: #e5e5e5 !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
}

/* ── 2. PLACEHOLDER — dimmer, less bright ───────────────── */
#kob-register-form input::placeholder,
#kob-register-form textarea::placeholder,
#kob-register-form select::placeholder,
#kob-payer-search::placeholder,
.kob-form input::placeholder,
.kob-form textarea::placeholder {
    color: #b8b8b8 !important;
    opacity: 1 !important;
    font-weight: 400 !important;
}

/* Browser-specific placeholder */
#kob-register-form input::-webkit-input-placeholder,
.kob-form input::-webkit-input-placeholder {
    color: #b8b8b8 !important;
    opacity: 1 !important;
}

#kob-register-form input::-moz-placeholder,
.kob-form input::-moz-placeholder {
    color: #b8b8b8 !important;
    opacity: 1 !important;
}

/* ── 3. RELATIONSHIP SELECT — light bg for options ──────── */
#kob-relationship,
#kob-register-form select[name="insurance_relationship"],
.kob-form select[name="insurance_relationship"] {
    background-color: #f8f8f8 !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23594a66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='4 6 8 10 12 6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px !important;
    color: #111 !important;
    border: 1.5px solid #ccc !important;
    padding-right: 2.5rem !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer !important;
}

/* Options — force light background when dropdown opens */
#kob-relationship option,
#kob-register-form select[name="insurance_relationship"] option,
.kob-form select[name="insurance_relationship"] option,
#kob-relationship optgroup,
#kob-register-form select option {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #111 !important;
    padding: 8px !important;
}

#kob-relationship option:checked,
#kob-register-form select[name="insurance_relationship"] option:checked,
.kob-form select[name="insurance_relationship"] option:checked {
    background-color: #f0eef2 !important;
    color: #594a66 !important;
    font-weight: 600 !important;
}

#kob-relationship option:hover,
#kob-register-form select[name="insurance_relationship"] option:hover {
    background-color: #f6f4f8 !important;
    color: #594a66 !important;
}

/* ── 4. CONSENT CHECKBOX — remove invert, white bg ──────── */
#kob-register-form input[name="consent"],
#kob-register-form .kob-consent input[type="checkbox"],
.kob-form .kob-consent input[type="checkbox"],
.kob-consent input[type="checkbox"] {
    filter: none !important;
    -webkit-filter: none !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1.5px solid #111 !important;
    accent-color: #566286 !important;
    width: 18px !important;
    height: 18px !important;
    cursor: pointer !important;
    appearance: auto !important;
    -webkit-appearance: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

#kob-register-form input[name="consent"]:checked,
.kob-consent input[type="checkbox"]:checked {
    background-color: #566286 !important;
    border-color: #566286 !important;
    accent-color: #566286 !important;
}

/* Consent label text */
.kob-consent label,
.kob-consent span {
    color: #333 !important;
    background: transparent !important;
}

/* ── Also kill any leftover invert filters from earlier CSS ── */
#kob-register-form input[type="radio"],
#kob-register-form input[type="checkbox"],
.kob-form input[type="radio"],
.kob-form input[type="checkbox"] {
    filter: none !important;
    -webkit-filter: none !important;
}


/* ═══════════════════════════════════════════════════════════════
   DATE INPUT — Force light theme (override native browser dark mode)
   ═══════════════════════════════════════════════════════════════ */

#kob-register-form input[type="date"],
.kob-form input[type="date"],
#kob-register-form input[name="dob"],
#kob-register-form input[name="insurance_sub_dob"] {
    background: #f8f8f8 !important;
    background-color: #f8f8f8 !important;
    color: #111 !important;
    border: 1.5px solid #ccc !important;
    border-radius: 8px !important;
    color-scheme: light !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    filter: none !important;
    -webkit-text-fill-color: #111 !important;
    padding: 0 14px !important;
    height: 46px !important;
    font-size: 15px !important;
}

#kob-register-form input[type="date"]:focus,
.kob-form input[type="date"]:focus {
    background: #ffffff !important;
    border-color: #594a66 !important;
    box-shadow: 0 0 0 3px rgba(89, 74, 102, 0.12) !important;
}

/* Calendar icon — visible on light bg */
#kob-register-form input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0) !important;
    cursor: pointer !important;
    opacity: 0.7 !important;
}

/* Inner date fields (WebKit) */
#kob-register-form input[type="date"]::-webkit-datetime-edit,
#kob-register-form input[type="date"]::-webkit-datetime-edit-text,
#kob-register-form input[type="date"]::-webkit-datetime-edit-month-field,
#kob-register-form input[type="date"]::-webkit-datetime-edit-day-field,
#kob-register-form input[type="date"]::-webkit-datetime-edit-year-field {
    color: #111 !important;
    background: transparent !important;
}

/* ═══════════════════════════════════════════════════════════════
   RELATIONSHIP SELECT — Force light
   ═══════════════════════════════════════════════════════════════ */

#kob-relationship,
#kob-register-form select[name="insurance_relationship"] {
    background: #f8f8f8 !important;
    background-color: #f8f8f8 !important;
    color: #111 !important;
    border: 1.5px solid #ccc !important;
    border-radius: 8px !important;
    color-scheme: light !important;
    filter: none !important;
}

#kob-relationship:focus,
#kob-register-form select[name="insurance_relationship"]:focus {
    background: #ffffff !important;
    border-color: #594a66 !important;
    box-shadow: 0 0 0 3px rgba(89, 74, 102, 0.12) !important;
}

/* Force white background on options */
#kob-relationship option,
#kob-register-form select[name="insurance_relationship"] option {
    background-color: #ffffff !important;
    color: #111 !important;
    color-scheme: light !important;
}

/* ═══════════════════════════════════════════════════════════════
   STATE DROPDOWN — light theme, USPS codes enforced
   ═══════════════════════════════════════════════════════════════ */

#kob-register-form select[name="state"],
#kob-state,
.kob-form select[name="state"] {
    background: #f8f8f8 !important;
    background-color: #f8f8f8 !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23594a66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='4 6 8 10 12 6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px !important;
    color: #111 !important;
    border: 1.5px solid #ccc !important;
    border-radius: 8px !important;
    padding: 0 2.5rem 0 14px !important;
    height: 46px !important;
    font-size: 15px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    color-scheme: light !important;
    cursor: pointer !important;
}

#kob-register-form select[name="state"]:focus,
#kob-state:focus {
    background-color: #ffffff !important;
    border-color: #594a66 !important;
    box-shadow: 0 0 0 3px rgba(89, 74, 102, 0.12) !important;
    outline: none !important;
}

/* Options */
#kob-register-form select[name="state"] option,
#kob-state option {
    background-color: #ffffff !important;
    color: #111 !important;
    padding: 8px !important;
}

#kob-register-form select[name="state"] option:checked,
#kob-state option:checked {
    background-color: #f0eef2 !important;
    color: #594a66 !important;
}

/* ═══════════════════════════════════════════════════════════════
   GOOGLE PLACES AUTOCOMPLETE — style to match our form
   ═══════════════════════════════════════════════════════════════ */

.kob-address-wrap {
    position: relative;
}

.kob-address-wrap input#kob-address-search {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    font-size: 15px;
    color: #111;
    background: #f8f8f8;
    border: 1.5px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: all 0.15s ease;
}

.kob-address-wrap input#kob-address-search:focus {
    background: #fff;
    border-color: #594a66;
    box-shadow: 0 0 0 3px rgba(89, 74, 102, 0.12);
}

/* Google PlaceAutocompleteElement styling */
#kob-register-form gmp-place-autocomplete,
.kob-address-wrap gmp-place-autocomplete {
    width: 100% !important;
    display: block !important;
    --gmp-mat-color-surface: #f8f8f8;
    --gmp-mat-color-on-surface: #111;
    --gmp-mat-color-primary: #594a66;
    font-family: inherit;
}

/* Legacy pac-container (Google's dropdown) */
.pac-container {
    background: #ffffff !important;
    border: 1.5px solid #ccc !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    font-family: inherit !important;
    margin-top: 4px !important;
    z-index: 99999 !important;
}

.pac-item {
    padding: 10px 14px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    background: #ffffff !important;
    color: #111 !important;
    cursor: pointer !important;
    font-size: 14px !important;
}

.pac-item:hover,
.pac-item-selected {
    background: #f6f4f8 !important;
    color: #594a66 !important;
}

.pac-item-query {
    color: #111 !important;
    font-weight: 500 !important;
}

.pac-matched {
    color: #594a66 !important;
    font-weight: 700 !important;
}

.pac-icon {
    filter: invert(0) !important;
}

/* Address hint below input */
.kob-address-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: #16a34a;
    min-height: 1.2em;
}

/* Manual address toggle button */
.kob-toggle-manual {
    background: transparent;
    border: none;
    color: #594a66;
    font-size: 0.85rem;
    text-decoration: underline;
    cursor: pointer;
    padding: 4px 0;
    font-family: inherit;
}

.kob-toggle-manual:hover {
    color: #4367b9;
}

/* Manual address section */
.kob-manual-address {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #e0dfe3;
}

/* ═══════════════════════════════════════════════════════════════
   ADDRESS SECTION — Polished toggle link + meta row
   ═══════════════════════════════════════════════════════════════ */

/* Meta row — small, aligned below the address input */
.kob-address-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
    min-height: 20px;
}

/* Status hint — green when valid, muted when empty */
.kob-address-hint {
    font-size: 0.82rem;
    color: #16a34a;
    line-height: 1.4;
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

.kob-address-hint:empty {
    display: none;
}

/* Toggle button — subtle blue link, right-aligned */
.kob-toggle-manual {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 2px 0 !important;
    margin: 0 !important;
    font-family: inherit !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    color: #4367b9 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    cursor: pointer !important;
    transition: color 0.15s ease !important;
    box-shadow: none !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
}

.kob-toggle-manual::before {
    content: '✎';
    display: inline-block;
    font-size: 0.85em;
    opacity: 0.8;
}

.kob-toggle-manual:hover {
    color: #594a66 !important;
    text-decoration: underline !important;
}

.kob-toggle-manual:hover::before {
    opacity: 1;
}

.kob-toggle-manual:active {
    color: #454e68 !important;
    transform: translateY(1px);
}

/* When manual mode active — hide the toggle, show "using manual" */
.kob-manual-address:not([style*="display:none"]) ~ .kob-address-meta .kob-toggle-manual {
    display: none !important;
}

/* Manual address section — slight indent + top divider */
.kob-manual-address {
    margin-top: 12px !important;
    padding-top: 14px !important;
    border-top: 1px dashed #d0d0d0 !important;
    animation: kobSlideDown 0.2s ease;
}

@keyframes kobSlideDown {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile: stack the meta row */
@media (max-width: 480px) {
    .kob-address-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .kob-toggle-manual {
        white-space: normal;
        align-self: flex-start;
    }
}

/* ═══════════════════════════════════════════════════════════════
   UNIFORM FORM — Every control matches the back-button style
   Consistent: height 46px, radius 10px, 1.5px border, 15px font
   ═══════════════════════════════════════════════════════════════ */

/* ── Baseline for every form control ──────────────────────── */
#kob-register-form input[type="text"],
#kob-register-form input[type="email"],
#kob-register-form input[type="password"],
#kob-register-form input[type="tel"],
#kob-register-form input[type="date"],
#kob-register-form input[type="number"],
#kob-register-form select,
#kob-register-form textarea,
#kob-register-form .kob-submit,
#kob-register-form .kob-back-btn,
#kob-register-form #kob-back-to-chooser,
#kob-address-search,
#kob-relationship,
#kob-state,
#kob-state-manual {
    height: 46px !important;
    min-height: 46px !important;
    line-height: 44px !important;
    padding: 0 16px !important;
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    font-family: inherit !important;
    border: 1.5px solid #111 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #111 !important;
    box-shadow: none !important;
    transition: all 0.15s ease !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* Select needs the arrow */
#kob-register-form select,
#kob-relationship,
#kob-state,
#kob-state-manual {
    padding-right: 40px !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='4 6 8 10 12 6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px !important;
    cursor: pointer !important;
}

/* Date input — remove extra padding adjustments */
#kob-register-form input[type="date"] {
    line-height: 42px !important;
}

/* ── Focus state — subtle company accent ──────────────────── */
#kob-register-form input:focus,
#kob-register-form select:focus,
#kob-address-search:focus,
#kob-relationship:focus,
#kob-state:focus {
    border-color: #566286 !important;
    box-shadow: 0 0 0 3px rgba(86, 98, 134, 0.12) !important;
}

/* ── Submit button — match back button structure exactly ──── */
#kob-register-form .kob-submit,
#kob-register-form #kob-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 0 24px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    height: 46px !important;
    min-height: 46px !important;
    line-height: 44px !important;
    border-radius: 10px !important;
    border: 1.5px solid #111 !important;
    background: #ffffff !important;
    color: #111 !important;
    cursor: pointer !important;
    width: 100% !important;
    margin-top: 1rem !important;
    transition: all 0.2s ease !important;
}

#kob-register-form .kob-submit:hover:not(:disabled) {
    background: #566286 !important;
    color: #ffffff !important;
    border-color: #566286 !important;
}

#kob-register-form .kob-submit:disabled {
    background: #f0f0f0 !important;
    color: #999 !important;
    border-color: #ccc !important;
    cursor: not-allowed !important;
}

/* ── Back to chooser — match submit styling exactly ───────── */
.kob-back-btn,
#kob-back-to-chooser {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 20px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 44px !important;
    border: 1.5px solid #111 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #111 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    margin: 0 0 1.25rem 0 !important;
    width: auto !important;
}

.kob-back-btn:hover,
#kob-back-to-chooser:hover {
    background: #566286 !important;
    color: #ffffff !important;
    border-color: #566286 !important;
}

.kob-back-btn svg,
#kob-back-to-chooser svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
}

.kob-back-btn span,
#kob-back-to-chooser span {
    display: inline-block !important;
    line-height: 1 !important;
}

/* ── Address hint row — tight below input, no gap ────────── */
.kob-address-hint-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-top: 6px !important;      /* tight to input */
    padding: 0 !important;
    min-height: 0 !important;
    flex-wrap: wrap !important;
}

/* Address status — small, unobtrusive */
.kob-address-hint {
    font-size: 0.8rem !important;
    color: #16a34a !important;
    line-height: 1.3 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.kob-address-hint:empty {
    display: none !important;
}

/* Manual entry — small plain text link, tight to input */
.kob-manual-link,
#kob-toggle-manual {
    display: inline !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: inherit !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    color: #566286 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
    text-decoration-thickness: 1px !important;
    cursor: pointer !important;
    box-shadow: none !important;
    line-height: 1.3 !important;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    transition: color 0.15s ease !important;
}

.kob-manual-link:hover,
#kob-toggle-manual:hover {
    color: #4367b9 !important;
    text-decoration: underline !important;
}

.kob-manual-link:active {
    color: #454e68 !important;
}

/* ── Manual address fields — slide down, dashed top ───────── */
.kob-manual-address {
    margin-top: 12px !important;
    padding-top: 14px !important;
    border-top: 1px dashed #d0d0d0 !important;
    animation: kobSlideDown 0.2s ease !important;
}

@keyframes kobSlideDown {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Rows align naturally ─────────────────────────────────── */
.kob-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 16px !important;
    margin-bottom: 14px !important;
    align-items: start !important;
}

.kob-row-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.kob-row.kob-full,
.kob-field.kob-full {
    grid-column: 1 / -1 !important;
}

/* Field wrapper — consistent spacing */
.kob-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    min-width: 0 !important;
    width: 100% !important;
}

.kob-field > label {
    display: block !important;
    margin: 0 !important;
    padding: 0 0 2px 0 !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    color: #111 !important;
    line-height: 1.3 !important;
}

/* ── Gender radio group — match input style ──────────────── */
.kob-radio-group {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
}

.kob-radio {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 14px !important;
    border: 1.5px solid #111 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #111 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    margin: 0 !important;
}

.kob-radio:hover {
    background: #f0f0f0 !important;
}

.kob-radio:has(input:checked),
.kob-radio input:checked + span {
    background: #111 !important;
    color: #ffffff !important;
}

/* Hide radio input but keep it accessible */
.kob-radio input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    pointer-events: none !important;
}

/* ── Section labels — clean, minimal ─────────────────────── */
.kob-section-label {
    grid-column: 1 / -1 !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #594a66 !important;
    margin: 1.5rem 0 0.75rem !important;
    padding: 0.75rem 0 0 !important;
    border-top: 1px solid #e5e7eb !important;
}

.kob-section-label:first-of-type {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
}

/* ── Payer autocomplete — match input style ──────────────── */
#kob-payer-search {
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    border: 1.5px solid #111 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #111 !important;
    width: 100% !important;
}

#kob-payer-search:focus {
    border-color: #566286 !important;
    box-shadow: 0 0 0 3px rgba(86, 98, 134, 0.12) !important;
}

#kob-payer-results {
    background: #ffffff !important;
    border: 1.5px solid #111 !important;
    border-radius: 10px !important;
    margin-top: 4px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important;
}

.kob-result-item {
    padding: 10px 16px !important;
    color: #111 !important;
    font-size: 14px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    cursor: pointer !important;
}

.kob-result-item:hover {
    background: #f6f4f8 !important;
    color: #594a66 !important;
}

/* ── Consent checkbox — plain row ────────────────────────── */
.kob-consent {
    grid-column: 1 / -1 !important;
    margin: 1rem 0 0 !important;
    padding: 0 !important;
}

.kob-consent label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    font-size: 0.88rem !important;
    color: #333 !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
}

.kob-consent input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    border: 1.5px solid #111 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    accent-color: #566286 !important;
    filter: none !important;
    -webkit-filter: none !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    appearance: auto !important;
    -webkit-appearance: auto !important;
}

.kob-consent a {
    color: #566286 !important;
    text-decoration: underline !important;
}

/* ── Mobile — single column, everything stays aligned ───── */
@media (max-width: 640px) {
    .kob-row,
    .kob-row-3 {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .kob-radio-group {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    #kob-register-form input,
    #kob-register-form select,
    #kob-register-form .kob-submit,
    .kob-back-btn {
        font-size: 16px !important; /* prevent iOS zoom */
        height: 48px !important;
    }
    .kob-submit,
    .kob-back-btn {
        width: 100% !important;
    }
    .kob-address-hint-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   ADDRESS SECTION — Simplified, clean, minimal
   ═══════════════════════════════════════════════════════════════ */

/* Address input — faint placeholder, matches all other inputs */
#kob-address-search {
    width: 100% !important;
    height: 46px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    color: #111 !important;
    background: #ffffff !important;
    border: 1.5px solid #111 !important;
    border-radius: 10px !important;
    outline: none !important;
    transition: all 0.15s ease !important;
}

#kob-address-search:focus {
    border-color: #566286 !important;
    box-shadow: 0 0 0 3px rgba(86, 98, 134, 0.12) !important;
}

/* Faint placeholder */
#kob-address-search::placeholder {
    color: #d0d0d0 !important;
    opacity: 1 !important;
    font-weight: 400 !important;
}

#kob-address-search::-webkit-input-placeholder {
    color: #d0d0d0 !important;
    opacity: 1 !important;
}

#kob-address-search::-moz-placeholder {
    color: #d0d0d0 !important;
    opacity: 1 !important;
}

/* Address hint row — tight below input, no gap */
.kob-address-hint-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-top: 4px !important;
    padding: 0 !important;
    min-height: 0 !important;
    flex-wrap: wrap !important;
}

/* Status hint — small green text */
.kob-address-hint {
    font-size: 0.72rem !important;
    color: #16a34a !important;
    line-height: 1.3 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.kob-address-hint:empty {
    display: none !important;
}

/* Manual link — TINY, subtle, blue */
.kob-manual-link,
#kob-toggle-manual {
    display: inline !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: inherit !important;
    font-size: 0.68rem !important;      /* SMALL — this was requested */
    font-weight: 400 !important;         /* not bold */
    color: #8a8a8a !important;          /* subtle grey, not too bright */
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
    cursor: pointer !important;
    box-shadow: none !important;
    line-height: 1.3 !important;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    transition: color 0.15s ease !important;
}

.kob-manual-link:hover,
#kob-toggle-manual:hover {
    color: #566286 !important;
    text-decoration: underline !important;
}

/* Manual form — hidden until triggered, animated slide down */
.kob-manual-address {
    margin-top: 12px !important;
    padding-top: 14px !important;
    border-top: 1px dashed #d0d0d0 !important;
    animation: kobSlideDown 0.2s ease !important;
}

.kob-manual-address[style*="display:none"],
.kob-manual-address[style*="display: none"] {
    display: none !important;
    animation: none !important;
}

@keyframes kobSlideDown {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Kill the standalone row that used to contain the toggle button */
.kob-address-meta {
    display: none !important;
}

/* Any leftover "Start typing..." or duplicate prompts */
.kob-form .kob-address-wrap + small:empty {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   FINAL UNIFORM FORM — matches back button exactly
   REF: h=46px pad=0 20px fs=15px fw=500 radius=10px border=1px solid #111
   ═══════════════════════════════════════════════════════════════════════ */

/* ── ALL text inputs, selects, textareas match back button ──────────── */
#kob-register-form input[type="text"]:not([type="hidden"]):not(.kob-address-search),
#kob-register-form input[type="email"],
#kob-register-form input[type="password"],
#kob-register-form input[type="tel"],
#kob-register-form input[type="date"],
#kob-register-form input[type="number"],
#kob-register-form select,
#kob-register-form textarea {
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    line-height: 44px !important;
    padding: 0 20px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    font-family: inherit !important;
    border: 1px solid #111 !important;
    border-radius: 10px !important;
    background-color: #fff !important;
    color: #111 !important;
    box-shadow: none !important;
    outline: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* Date input needs special line-height treatment */
#kob-register-form input[type="date"] {
    line-height: 42px !important;
}

/* Select needs the custom arrow (right aligned inside 20px padding) */
#kob-register-form select {
    padding-right: 44px !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='4 6 8 10 12 6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 16px !important;
    cursor: pointer !important;
    line-height: 44px !important;
}

/* Focus state — company accent */
#kob-register-form input:focus,
#kob-register-form select:focus,
#kob-register-form textarea:focus {
    border-color: #566286 !important;
    box-shadow: 0 0 0 3px rgba(86,98,134,0.12) !important;
}

/* ── Faint placeholders throughout ──────────────────────────────────── */
#kob-register-form input::placeholder,
#kob-register-form textarea::placeholder {
    color: #d0d0d0 !important;
    opacity: 1 !important;
    font-weight: 400 !important;
}
#kob-register-form input::-webkit-input-placeholder,
#kob-register-form textarea::-webkit-input-placeholder {
    color: #d0d0d0 !important;
    opacity: 1 !important;
}
#kob-register-form input::-moz-placeholder {
    color: #d0d0d0 !important;
    opacity: 1 !important;
}

/* ── Gender radios — match inputs exactly ───────────────────────────── */
#kob-register-form .kob-radio,
#kob-register-form .kob-radio-group label {
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 20px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 44px !important;
    border: 1px solid #111 !important;
    border-radius: 10px !important;
    background-color: #fff !important;
    color: #111 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all .15s ease !important;
}
#kob-register-form .kob-radio:hover {
    background-color: #f5f5f5 !important;
}
#kob-register-form .kob-radio:has(input:checked) {
    background-color: #111 !important;
    color: #fff !important;
}
#kob-register-form .kob-radio input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ── Address wrapper — collapse the 96px gap ────────────────────────── */
.kob-address-wrap {
    position: relative !important;
    display: block !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    width: 100% !important;
    overflow: visible !important;
}

/* Google Web Component — fill the wrapper exactly */
.kob-address-wrap gmp-place-autocomplete {
    display: block !important;
    width: 100% !important;
    height: 46px !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 2 !important;
}

/* Hidden fallback input — don't take up space */
.kob-address-wrap #kob-address-search {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 46px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* When Google isn't loaded (fallback), input becomes visible */
.kob-address-wrap.no-google #kob-address-search {
    opacity: 1 !important;
    pointer-events: auto !important;
    height: 46px !important;
    padding: 0 20px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    border: 1px solid #111 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #111 !important;
}

/* ── Hint row: tight, toggle right-aligned, tiny text ───────────────── */
.kob-address-hint-row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;   /* push toggle to right */
    gap: 12px !important;
    margin: 4px 0 0 !important;             /* TIGHT below input */
    padding: 0 !important;
    min-height: 0 !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
}

/* Status hint — keep left of the toggle when present */
.kob-address-hint {
    font-size: 0.72rem !important;
    color: #16a34a !important;
    line-height: 1.2 !important;
    margin-right: auto !important;          /* push itself left */
    padding: 0 !important;
}
.kob-address-hint:empty { display: none !important; }

/* Toggle link — tiny, subtle, right edge, directly under input */
#kob-toggle-manual,
.kob-manual-link {
    display: inline-block !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: inherit !important;
    font-size: 0.68rem !important;          /* smaller */
    font-weight: 400 !important;
    color: #8a8a8a !important;              /* subtle grey */
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
    cursor: pointer !important;
    line-height: 1.2 !important;
    height: auto !important;
    min-height: 0 !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
}
#kob-toggle-manual:hover,
.kob-manual-link:hover { color: #566286 !important; }

/* ── Manual form: hidden by default, dashed divider when shown ──────── */
.kob-manual-address {
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px dashed #d0d0d0 !important;
    animation: kobSlideDown .2s ease !important;
}
.kob-manual-address[style*="display:none"],
.kob-manual-address[style*="display: none"] {
    display: none !important;
    animation: none !important;
}
@keyframes kobSlideDown {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Submit + back buttons — same as reference ──────────────────────── */
#kob-register-form .kob-submit,
#kob-register-form button[type="submit"],
.kob-back-btn,
#kob-back-to-chooser {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    padding: 0 20px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 44px !important;
    border: 1px solid #111 !important;
    border-radius: 10px !important;
    background-color: #fff !important;
    color: #111 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: all .15s ease !important;
    box-sizing: border-box !important;
}
#kob-register-form .kob-submit:hover:not(:disabled),
#kob-register-form button[type="submit"]:hover:not(:disabled),
.kob-back-btn:hover,
#kob-back-to-chooser:hover {
    background-color: #566286 !important;
    color: #fff !important;
    border-color: #566286 !important;
}

/* Submit full width */
#kob-register-form .kob-submit,
#kob-register-form button[type="submit"] {
    width: 100% !important;
    margin-top: 1rem !important;
}

/* ── Kill every stale address selector from previous passes ─────────── */
.kob-address-meta,
.kob-address-wrap + small:empty {
    display: none !important;
}

/* ── Rows align naturally ───────────────────────────────────────────── */
.kob-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 16px !important;
    margin-bottom: 14px !important;
}
.kob-row-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.kob-field.kob-full {
    grid-column: 1 / -1 !important;
}
.kob-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    min-width: 0 !important;
    width: 100% !important;
}
.kob-field > label {
    display: block !important;
    margin: 0 !important;
    padding: 0 0 2px !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    color: #111 !important;
    line-height: 1.3 !important;
}

/* ── Mobile: single column, all full-width ──────────────────────────── */
@media (max-width: 640px) {
    .kob-row, .kob-row-3 {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .kob-radio-group {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    #kob-register-form input,
    #kob-register-form select,
    #kob-register-form .kob-submit,
    .kob-back-btn {
        font-size: 16px !important; /* prevent iOS zoom */
    }
    .kob-submit, .kob-back-btn { width: 100% !important; }
}

/* ═══════════════════════════════════════════════════════════════════════
   GOOGLE PLACES AUTOCOMPLETE — ROUNDED TO MATCH EVERY OTHER INPUT
   The gmp-place-autocomplete Web Component renders an internal <input>
   inside a Shadow DOM. We style it via ::part() + custom properties
   so its border-radius, height, border, padding, font all match.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Wrapper: clip to the same radius so no square corner leaks ─────── */
.kob-address-wrap {
    border-radius: 10px !important;
    overflow: hidden !important;
    /* keep the 46px height enforced by earlier rules */
}

/* ── Google Web Component: fill + clip ──────────────────────────────── */
.kob-address-wrap gmp-place-autocomplete {
    border-radius: 10px !important;
    overflow: hidden !important;
    height: 46px !important;
    width: 100% !important;
    display: block !important;

    /* Google Maps Web Component theming variables */
    --gmp-mat-color-surface: #ffffff;
    --gmp-mat-color-on-surface: #111111;
    --gmp-mat-color-primary: #566286;
    --gmp-mat-color-outline: #111111;
    --gmp-mat-color-outline-variant: #111111;
    --gmp-mat-font-family: inherit;
    --gmp-mat-font-size: 15px;
    --gmp-mat-shape-corner: 10px;
    --gmp-mat-input-height: 46px;
}

/* ── Style the internal input inside the shadow root ────────────────── */


/* Placeholder inside the shadow input */


/* Focus state */


/* ── Dropdown suggestion list — round its outer corners too ─────────── */
.kob-address-wrap gmp-place-autocomplete::part(prediction-list) {
    border-radius: 10px !important;
    border: 1px solid #111 !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
    margin-top: 4px !important;
    overflow: hidden !important;
}

.kob-address-wrap gmp-place-autocomplete::part(prediction-item) {
    padding: 10px 16px !important;
    font-size: 14px !important;
    color: #111 !important;
    background: #ffffff !important;
}

.kob-address-wrap gmp-place-autocomplete::part(prediction-item):hover {
    background: #f6f4f8 !important;
    color: #594a66 !important;
}

/* ── If the browser doesn't support ::part(), fallback: the wrapper
     already clips with overflow:hidden + border-radius:10px, so the
     visible square corners are masked. This rule forces any stray
     internal element to inherit the radius. ──────────────────────────── */
.kob-address-wrap gmp-place-autocomplete,
.kob-address-wrap gmp-place-autocomplete * {
    border-radius: 10px !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   ADDRESS BOX — FIX weird shape + tight "forgot-password style" toggle
   ═══════════════════════════════════════════════════════════════════════ */

/* ── NEUTRALIZE the wildcard radius rule from the previous block ─────── */
.kob-address-wrap gmp-place-autocomplete * {
    border-radius: 0 !important;
}

/* ── Wrapper: clean, 46px, rounded, clips corners ────────────────────── */
.kob-address-wrap {
    position: relative !important;
    display: block !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    width: 100% !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

/* ── Google Web Component: fill exactly, clip corners ────────────────── */
.kob-address-wrap gmp-place-autocomplete {
    display: block !important;
    width: 100% !important;
    height: 46px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #ffffff !important;

    /* Google's own theming vars */
    --gmp-mat-shape-corner: 10px;
    --gmp-mat-color-surface: #ffffff;
    --gmp-mat-color-on-surface: #111111;
    --gmp-mat-color-primary: #566286;
    --gmp-mat-color-outline: #111111;
    --gmp-mat-color-outline-variant: #111111;
    --gmp-mat-font-family: inherit;
    --gmp-mat-font-size: 15px;
}

/* ── Only the visible input inside the shadow DOM gets rounded ───────── */






/* ── Hint row: Forgot-password style — tight below, right-aligned ───── */
.kob-address-hint-row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0 !important;
    margin: 4px 0 0 0 !important;      /* TIGHT — like Forgot password */
    padding: 0 !important;
    min-height: 0 !important;
    line-height: 1 !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
}

/* Status hint on the left, only if it has text */
.kob-address-hint {
    font-size: 0.68rem !important;
    color: #16a34a !important;
    line-height: 1.2 !important;
    margin-right: auto !important;
    padding: 0 !important;
}
.kob-address-hint:empty { display: none !important; }

/* Toggle link — TINY, right-aligned, no gap above, underlined */
#kob-toggle-manual,
.kob-manual-link {
    display: inline-block !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: inherit !important;
    font-size: 0.65rem !important;      /* smaller than before */
    font-weight: 400 !important;
    color: #8a8a8a !important;          /* subtle grey */
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
    text-decoration-thickness: 1px !important;
    cursor: pointer !important;
    line-height: 1.1 !important;
    height: auto !important;
    min-height: 0 !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    transition: color 0.15s ease !important;
    vertical-align: baseline !important;
}
#kob-toggle-manual:hover,
.kob-manual-link:hover {
    color: #566286 !important;
}

/* ── Mobile: keep the tiny link but allow wrap if too long ───────────── */
@media (max-width: 640px) {
    .kob-address-hint-row {
        justify-content: flex-end !important;
    }
    #kob-toggle-manual,
    .kob-manual-link {
        white-space: normal !important;
        text-align: right !important;
        font-size: 0.65rem !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE WIDTH FIX — strip ancestor padding so form fills the screen
   Root cause: 5 stacked parent containers each adding 12-24px padding,
   eating ~196px of horizontal space, leaving only 64% for inputs.
   ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

    /* ── Strip horizontal padding from every ancestor down to the form ── */

    /* Level 5 — #wizard-tab had 14px */
    #wizard-tab.iq-card {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Level 2 — .widget-content had 24px horizontal (biggest eater) */
    .widget-content.login-register-panel,
    .widget-content {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    /* Level 1 — #kob-register had 12px */
    #kob-register.kob-register-wrap {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
    }

    /* Level 0 — .kob-form had 24px */
    .kob-form {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* ── Form itself: 5-8% side padding (comfortable, professional) ───── */
    #kob-register-form {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;    /* ~3.5% each side on 579px */
        padding-right: 20px !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
    }

    /* ── Inputs: full width of the form content ──────────────────────── */
    #kob-register-form input[type="text"],
    #kob-register-form input[type="email"],
    #kob-register-form input[type="password"],
    #kob-register-form input[type="tel"],
    #kob-register-form input[type="date"],
    #kob-register-form input[type="number"],
    #kob-register-form select,
    #kob-register-form textarea {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* ── Rows: single column, full width ─────────────────────────────── */
    #kob-register-form .kob-row,
    #kob-register-form .kob-row-3 {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        gap: 14px !important;
    }

    /* ── Address wrapper: full width, no clipping ────────────────────── */
    .kob-address-wrap {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .kob-address-wrap gmp-place-autocomplete {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: block !important;
    }
}

/* ── Very narrow phones (≤ 420px) — tighten further ────────────────── */
@media (max-width: 420px) {
    #kob-register-form {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    .widget-content.login-register-panel,
    .widget-content {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
}

/* ── Kill leftover row[5]/row[6] w=0 collapse ───────────────────────── */
@media (max-width: 768px) {
    #kob-register-form .kob-row[style*="display:none"] ~ .kob-row,
    #kob-register-form .kob-manual-address .kob-row {
        width: 100% !important;
    }
}


/* ── Desktop: don't clip the Google dropdown ──────────────────────── */
@media (min-width: 769px) {
    .kob-address-wrap {
        overflow: visible !important;
    }
    /* The input itself keeps rounded corners */
    
}

/* ── Mobile: keep clipped for performance, dropdown opens as overlay ─ */
@media (max-width: 768px) {
    .kob-address-wrap {
        overflow: hidden !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   SAFETY NET — catch the submit button wherever it lives
   (in form, as sibling, or rendered by JS)
   ═══════════════════════════════════════════════════════════════════════ */

/* Any submit-intent button inside or adjacent to our wizard */
#kob-register-form input[type="submit"],
#kob-register-form button[type="submit"],
#kob-register-wrap input[type="submit"],
#kob-register-wrap button[type="submit"],
#kob-register input[type="submit"],
#kob-register button[type="submit"],
#kob-register-form .kob-submit,
#kob-submit,
button.kob-submit,
[id="kob-submit"],
[data-kob-submit="1"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 43px !important;
    min-height: 43px !important;
    max-height: 43px !important;
    padding: 10px 20px !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 21px !important;
    color: #111 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 1px solid #111 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    text-indent: 0 !important;
    letter-spacing: normal !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

#kob-register-form input[type="submit"]:hover:not(:disabled),
#kob-register-form button[type="submit"]:hover:not(:disabled),
#kob-register-wrap button[type="submit"]:hover:not(:disabled),
#kob-register button[type="submit"]:hover:not(:disabled),
#kob-submit:hover:not(:disabled),
button.kob-submit:hover:not(:disabled),
[data-kob-submit="1"]:hover:not(:disabled) {
    background: #566286 !important;
    color: #fff !important;
    border-color: #566286 !important;
}

/* Mobile: 48px, full width, comfortable font */
@media (max-width: 768px) {
    #kob-register-form input[type="submit"],
    #kob-register-form button[type="submit"],
    #kob-register-wrap input[type="submit"],
    #kob-register-wrap button[type="submit"],
    #kob-register input[type="submit"],
    #kob-register button[type="submit"],
    #kob-register-form .kob-submit,
    #kob-submit,
    button.kob-submit,
    [data-kob-submit="1"] {
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        padding: 0 16px !important;
        font-size: 16px !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   FOOTER SUBMIT BUTTON — lives in card-widget-footer, NOT in the form.
   Selector: #wizard-tab > div > div.card-widget-footer > div > button.iq-button.iq-button-secondary
   Style it to match the reference back button exactly (43px, transparent,
   1px solid #111, 10px radius, 15px/500, flex+gap).
   ═══════════════════════════════════════════════════════════════════════ */

/* ── The submit (primary-ish) button in the wizard footer ──────────── */
#wizard-tab .card-widget-footer button.iq-button.iq-button-secondary,
#wizard-tab .card-widget-footer .iq-button.iq-button-secondary,
#wizard-tab .card-widget-footer button[data-step="next"],
#wizard-tab .card-widget-footer button[data-step="submit"],
#wizard-tab .card-widget-footer .iq-button:not([data-step="prev"]):not(.kob-back-btn) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 43px !important;
    min-height: 43px !important;
    max-height: 43px !important;
    padding: 10px 20px !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 21px !important;
    color: #111 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 1px solid #111 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    text-indent: 0 !important;
    letter-spacing: normal !important;
    white-space: nowrap !important;      /* keep text on one line */
    overflow: visible !important;
    text-overflow: clip !important;
    box-sizing: border-box !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    vertical-align: middle !important;
}

/* Hover — accent fill like the reference */
#wizard-tab .card-widget-footer button.iq-button.iq-button-secondary:hover:not(:disabled),
#wizard-tab .card-widget-footer .iq-button.iq-button-secondary:hover:not(:disabled),
#wizard-tab .card-widget-footer button[data-step="next"]:hover:not(:disabled),
#wizard-tab .card-widget-footer button[data-step="submit"]:hover:not(:disabled),
#wizard-tab .card-widget-footer .iq-button:not([data-step="prev"]):not(.kob-back-btn):hover:not(:disabled) {
    background: #566286 !important;
    color: #fff !important;
    border-color: #566286 !important;
}

/* Disabled state */
#wizard-tab .card-widget-footer button.iq-button.iq-button-secondary:disabled,
#wizard-tab .card-widget-footer .iq-button.iq-button-secondary:disabled,
#wizard-tab .card-widget-footer button[data-step="next"]:disabled,
#wizard-tab .card-widget-footer button[data-step="submit"]:disabled {
    background: #f0f0f0 !important;
    color: #999 !important;
    border-color: #ccc !important;
    cursor: not-allowed !important;
}

/* ── Back button in the same footer — keep consistent with reference ── */
#wizard-tab .card-widget-footer button[data-step="prev"].iq-button,
#wizard-tab .card-widget-footer button.kob-back-btn,
#wizard-tab .card-widget-footer #kob-back-to-chooser {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 43px !important;
    min-height: 43px !important;
    max-height: 43px !important;
    padding: 10px 20px !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 21px !important;
    color: #111 !important;
    background: transparent !important;
    border: 1px solid #111 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    width: auto !important;
    max-width: 100% !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}
#wizard-tab .card-widget-footer button[data-step="prev"].iq-button:hover,
#wizard-tab .card-widget-footer button.kob-back-btn:hover,
#wizard-tab .card-widget-footer #kob-back-to-chooser:hover {
    background: #566286 !important;
    color: #fff !important;
    border-color: #566286 !important;
}

/* ── Footer container: align both buttons naturally ─────────────────── */
#wizard-tab .card-widget-footer {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 14px 0 !important;
}

#wizard-tab .card-widget-footer > div {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

/* ── Mobile: full-width, 48px, 16px font (prevents iOS zoom) ────────── */
@media (max-width: 768px) {
    #wizard-tab .card-widget-footer {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        padding: 14px 20px !important;
    }
    #wizard-tab .card-widget-footer > div {
        width: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
    #wizard-tab .card-widget-footer button.iq-button.iq-button-secondary,
    #wizard-tab .card-widget-footer .iq-button.iq-button-secondary,
    #wizard-tab .card-widget-footer button[data-step="next"],
    #wizard-tab .card-widget-footer button[data-step="submit"],
    #wizard-tab .card-widget-footer .iq-button:not([data-step="prev"]):not(.kob-back-btn),
    #wizard-tab .card-widget-footer button[data-step="prev"].iq-button,
    #wizard-tab .card-widget-footer button.kob-back-btn,
    #wizard-tab .card-widget-footer #kob-back-to-chooser {
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        padding: 0 16px !important;
        font-size: 16px !important;
        width: 100% !important;
        white-space: normal !important;
        text-align: center !important;
    }
}

/* ── Very narrow phones ─────────────────────────────────────────────── */
@media (max-width: 420px) {
    #wizard-tab .card-widget-footer {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   FULL-WIDTH UNIFORMITY — every input matches submit button width
   Every row = 1 column = full width = same left/right edges as submit
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Force every row to single column — one input per row, full width ── */
#kob-register-form .kob-row,
#kob-register-form .kob-row-3 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 14px !important;
}

/* ── Every field spans the full row ─────────────────────────────────── */
#kob-register-form .kob-field,
#kob-register-form .kob-field.kob-full {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* ── Every input/select/textarea: full width, same as submit ────────── */
#kob-register-form input[type="text"]:not([type="hidden"]),
#kob-register-form input[type="email"],
#kob-register-form input[type="password"],
#kob-register-form input[type="tel"],
#kob-register-form input[type="date"],
#kob-register-form input[type="number"],
#kob-register-form select,
#kob-register-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    height: 43px !important;
    min-height: 43px !important;
    max-height: 43px !important;
    padding: 10px 20px !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 21px !important;
    color: #111 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 1px solid #111 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* Select needs the arrow */
#kob-register-form select {
    padding-right: 44px !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='4 6 8 10 12 6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 16px !important;
}

/* Date: strip extra browser padding, keep full width */
#kob-register-form input[type="date"] {
    line-height: 1.4 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Focus */
#kob-register-form input:focus,
#kob-register-form select:focus,
#kob-register-form textarea:focus {
    background: transparent !important;
    border-color: #566286 !important;
    box-shadow: 0 0 0 3px rgba(86,98,134,0.12) !important;
}

/* Placeholder */
#kob-register-form input::placeholder,
#kob-register-form textarea::placeholder {
    color: #d0d0d0 !important;
    opacity: 1 !important;
    font-weight: 400 !important;
}

/* ── Address wrapper: full width like everything else ───────────────── */
.kob-address-wrap {
    width: 100% !important;
    max-width: 100% !important;
    height: 43px !important;
    min-height: 43px !important;
    max-height: 43px !important;
    display: block !important;
    box-sizing: border-box !important;
    border-radius: 10px !important;
    background: transparent !important;
}
.kob-address-wrap gmp-place-autocomplete {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 43px !important;
    display: block !important;
    border-radius: 10px !important;
    --gmp-mat-shape-corner: 10px;
    --gmp-mat-color-surface: transparent;
    --gmp-mat-color-on-surface: #111111;
    --gmp-mat-color-primary: #566286;
    --gmp-mat-color-outline: #111111;
    --gmp-mat-font-family: inherit;
    --gmp-mat-font-size: 15px;
}


/* ── GENDER: convert to check-circle style, inline 3 across ─────────── */
#kob-register-form .kob-radio-group {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
}

#kob-register-form .kob-radio,
#kob-register-form .kob-radio-group label {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    height: 43px !important;
    min-height: 43px !important;
    max-height: 43px !important;
    padding: 10px 16px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 21px !important;
    border: 1px solid #111 !important;
    border-radius: 10px !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #111 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    box-sizing: border-box !important;
    position: relative !important;
}

/* Replace native radio dot with a check-circle indicator */
#kob-register-form .kob-radio input[type="radio"],
#kob-register-form .kob-radio-group input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    pointer-events: none !important;
    margin: 0 !important;
}

/* Circle indicator (::before on the label/button) */
#kob-register-form .kob-radio::before,
#kob-register-form .kob-radio-group label::before {
    content: '' !important;
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    border: 1.5px solid #111 !important;
    border-radius: 50% !important;
    background: transparent !important;
    flex-shrink: 0 !important;
    transition: all 0.15s ease !important;
    box-sizing: border-box !important;
}

/* Selected state: filled circle with white checkmark */
#kob-register-form .kob-radio:has(input:checked)::before,
#kob-register-form .kob-radio-group label:has(input:checked)::before {
    background: #566286 !important;
    border-color: #566286 !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='2 6 5 9 10 3'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 11px !important;
}

/* Hover */
#kob-register-form .kob-radio:hover,
#kob-register-form .kob-radio-group label:hover {
    background: rgba(86,98,134,0.05) !important;
    border-color: #566286 !important;
}

/* When selected, label text can stay dark or become accent — I chose accent border + grey bg */
#kob-register-form .kob-radio:has(input:checked),
#kob-register-form .kob-radio-group label:has(input:checked) {
    background: rgba(86,98,134,0.06) !important;
    border-color: #566286 !important;
    color: #111 !important;
    font-weight: 500 !important;
}

/* ── Mobile: same full-width stack, bigger touch targets ────────────── */
@media (max-width: 768px) {
    /* Ancestors: strip padding so form fills screen */
    #wizard-tab.iq-card { padding-left: 0 !important; padding-right: 0 !important; }
    .widget-content.login-register-panel,
    .widget-content { padding-left: 8px !important; padding-right: 8px !important; }
    #kob-register.kob-register-wrap {
        padding-left: 0 !important; padding-right: 0 !important;
        max-width: 100% !important;
    }
    .kob-form { padding-left: 0 !important; padding-right: 0 !important; }
    #kob-register-form {
        width: 100% !important; max-width: 100% !important;
        padding-left: 20px !important; padding-right: 20px !important;
        box-sizing: border-box !important; margin: 0 auto !important;
    }

    /* All inputs: 48px height, 16px font (no iOS zoom), full width */
    #kob-register-form input[type="text"]:not([type="hidden"]),
    #kob-register-form input[type="email"],
    #kob-register-form input[type="password"],
    #kob-register-form input[type="tel"],
    #kob-register-form input[type="date"],
    #kob-register-form input[type="number"],
    #kob-register-form select,
    #kob-register-form textarea {
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        padding: 0 16px !important;
        font-size: 16px !important;
    }
    #kob-register-form select { padding-right: 40px !important; }

    /* Address: 48px */
    .kob-address-wrap,
    .kob-address-wrap gmp-place-autocomplete {
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
    }
    

    /* Gender: keep 3-across on mobile too if width allows, else stack */
    #kob-register-form .kob-radio-group {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
    #kob-register-form .kob-radio,
    #kob-register-form .kob-radio-group label {
        height: 48px !important;
        min-height: 48px !important;
        padding: 0 10px !important;
        font-size: 14px !important;
        gap: 8px !important;
    }
    #kob-register-form .kob-radio::before,
    #kob-register-form .kob-radio-group label::before {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
    }

    /* Labels */
    #kob-register-form .kob-field > label {
        font-size: 0.9rem !important;
        margin-bottom: 4px !important;
    }
}

/* ── Very narrow phones ─────────────────────────────────────────────── */
@media (max-width: 420px) {
    #kob-register-form {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    .widget-content.login-register-panel,
    .widget-content {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    /* If even 3-across is too tight on gender, allow wrapping */
    #kob-register-form .kob-radio-group {
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 6px !important;
    }
    #kob-register-form .kob-radio,
    #kob-register-form .kob-radio-group label {
        font-size: 13px !important;
        padding: 0 8px !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   SUBMIT BUTTON — match input width (full 424px), left-aligned to inputs
   Inputs are at left=75 right=499 width=424. Submit must match exactly.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Footer container: left-align, don't push button to the right ───── */
#wizard-tab .card-widget-footer {
    display: block !important;             /* stop flex from right-aligning */
    padding: 14px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

#wizard-tab .card-widget-footer > div {
    display: block !important;             /* stack naturally */
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

/* ── Submit button: full width, left-aligned, matches input edges ───── */
#wizard-tab .card-widget-footer button.iq-button.iq-button-secondary,
#wizard-tab .card-widget-footer .iq-button.iq-button-secondary,
#wizard-tab .card-widget-footer button[data-step="next"],
#wizard-tab .card-widget-footer button[data-step="submit"],
#wizard-tab .card-widget-footer .iq-button:not([data-step="prev"]):not(.kob-back-btn) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 43px !important;
    min-height: 43px !important;
    max-height: 43px !important;
    padding: 10px 20px !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 21px !important;
    color: #111 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 1px solid #111 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    text-indent: 0 !important;
    letter-spacing: normal !important;
    white-space: nowrap !important;
    overflow: visible !important;
    box-sizing: border-box !important;

    /* KEY: fill the full width so it matches inputs (424px) */
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    /* KEY: left-align naturally, not right-floated */
    margin: 0 0 10px 0 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    vertical-align: middle !important;
}

/* Hover */
#wizard-tab .card-widget-footer button.iq-button.iq-button-secondary:hover:not(:disabled),
#wizard-tab .card-widget-footer .iq-button.iq-button-secondary:hover:not(:disabled),
#wizard-tab .card-widget-footer button[data-step="next"]:hover:not(:disabled),
#wizard-tab .card-widget-footer button[data-step="submit"]:hover:not(:disabled) {
    background: #566286 !important;
    color: #fff !important;
    border-color: #566286 !important;
}

/* Disabled */
#wizard-tab .card-widget-footer button.iq-button.iq-button-secondary:disabled,
#wizard-tab .card-widget-footer .iq-button.iq-button-secondary:disabled,
#wizard-tab .card-widget-footer button[data-step="next"]:disabled,
#wizard-tab .card-widget-footer button[data-step="submit"]:disabled {
    background: #f0f0f0 !important;
    color: #999 !important;
    border-color: #ccc !important;
    cursor: not-allowed !important;
}

/* ── Back button: keep inline, auto-width (it's a short label) ──────── */
#wizard-tab .card-widget-footer button[data-step="prev"].iq-button,
#wizard-tab .card-widget-footer button.kob-back-btn,
#wizard-tab .card-widget-footer #kob-back-to-chooser {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 43px !important;
    min-height: 43px !important;
    padding: 10px 20px !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 21px !important;
    color: #111 !important;
    background: transparent !important;
    border: 1px solid #111 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 10px 0 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}
#wizard-tab .card-widget-footer button[data-step="prev"].iq-button:hover,
#wizard-tab .card-widget-footer button.kob-back-btn:hover,
#wizard-tab .card-widget-footer #kob-back-to-chooser:hover {
    background: #566286 !important;
    color: #fff !important;
    border-color: #566286 !important;
}

/* ── Mobile: stack, all full-width, 48px ────────────────────────────── */
@media (max-width: 768px) {
    #wizard-tab .card-widget-footer {
        padding: 14px 20px !important;
    }
    #wizard-tab .card-widget-footer button.iq-button.iq-button-secondary,
    #wizard-tab .card-widget-footer .iq-button.iq-button-secondary,
    #wizard-tab .card-widget-footer button[data-step="next"],
    #wizard-tab .card-widget-footer button[data-step="submit"],
    #wizard-tab .card-widget-footer button[data-step="prev"].iq-button,
    #wizard-tab .card-widget-footer button.kob-back-btn,
    #wizard-tab .card-widget-footer #kob-back-to-chooser {
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        padding: 0 16px !important;
        font-size: 16px !important;
        width: 100% !important;
        white-space: normal !important;
        text-align: center !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   GOOGLE PLACES AUTOCOMPLETE — CORRECT approach
   Style the HOST only. Let the Web Component's Shadow DOM manage
   internal icons, layout, and event wiring.
   We control appearance via CSS custom properties (--gmp-mat-*) which
   Google's component reads at runtime — this does NOT break functionality.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Host wrapper — style outer element only ────────────────────────── */
.kob-address-wrap {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    height: 43px !important;
    min-height: 43px !important;
    max-height: 43px !important;
    border: 1px solid #111 !important;
    border-radius: 10px !important;
    background: transparent !important;
    overflow: visible !important;
}

/* ── Google Web Component host ──────────────────────────────────────── */
.kob-address-wrap gmp-place-autocomplete {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 43px !important;
    min-height: 43px !important;
    max-height: 43px !important;
    border: none !important;
    border-radius: 10px !important;
    background: transparent !important;
    overflow: visible !important;
    box-sizing: border-box !important;

    /* Google's theming variables — safe to set, do NOT break icons */
    --gmp-mat-color-surface: transparent;
    --gmp-mat-color-on-surface: #111111;
    --gmp-mat-color-on-surface-variant: #5e5e5e;
    --gmp-mat-color-primary: #566286;
    --gmp-mat-color-outline: #111111;
    --gmp-mat-color-outline-variant: #dddddd;
    --gmp-mat-color-shadow: transparent;
    --gmp-mat-font-family: inherit;
    --gmp-mat-font-size: 15px;
    --gmp-mat-font-weight: 500;
    --gmp-mat-shape-corner: 10px;
    --gmp-mat-elevation-shadow: none;
}

/* ── Font + color only via ::part (safe overrides) ──────────────────── */
.kob-address-wrap gmp-place-autocomplete::part(input) {
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #111 !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    /* DO NOT set height, padding, border, margin — those break the icons */
}

.kob-address-wrap gmp-place-autocomplete::part(input)::placeholder {
    color: #d0d0d0 !important;
    opacity: 1 !important;
    font-weight: 400 !important;
}

/* Prediction list — rounded outer box, safe to style */
.kob-address-wrap gmp-place-autocomplete::part(prediction-list) {
    border-radius: 10px !important;
    border: 1px solid #111 !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
    margin-top: 4px !important;
    overflow: hidden !important;
}

.kob-address-wrap gmp-place-autocomplete::part(prediction-item) {
    padding: 10px 16px !important;
    font-size: 14px !important;
    color: #111 !important;
    background: #ffffff !important;
    cursor: pointer !important;
}

.kob-address-wrap gmp-place-autocomplete::part(prediction-item):hover {
    background: #f6f4f8 !important;
}

/* ── Fallback input (when Google fails to load) ─────────────────────── */
.kob-address-wrap #kob-address-search {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 43px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* If Google fails, show the fallback input properly */
.kob-address-wrap.no-google {
    border: 1px solid #111 !important;
    border-radius: 10px !important;
}
.kob-address-wrap.no-google #kob-address-search {
    position: relative !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    padding: 10px 20px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    border: none !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #111 !important;
    box-sizing: border-box !important;
}

/* ── Mobile: 48px host ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .kob-address-wrap,
    .kob-address-wrap gmp-place-autocomplete {
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
    }
    .kob-address-wrap gmp-place-autocomplete {
        --gmp-mat-font-size: 16px;
    }
    .kob-address-wrap gmp-place-autocomplete::part(input) {
        font-size: 16px !important;
    }
    .kob-address-wrap.no-google #kob-address-search {
        height: 48px !important;
        padding: 0 16px !important;
        font-size: 16px !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   MOBILE ALIGNMENT v2 — form inputs = back button width exactly
   Footer and form must both:
     - start at the SAME left offset
     - have the SAME content width
     - stack children as blocks (not flex-shrink)

   Viewport 579, footer left=3 with pad 24 → content at 27, width 525
   Form left=51 with pad 24 → content at 75, width 424
   → 48px discrepancy from #kob-register not offsetting correctly
   ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

    /* ── Unify the starting left edge of form and footer ───────────────── */
    #kob-register.kob-register-wrap.kob-wizard-mode,
    #kob-register.kob-register-wrap {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* ── Form (the <form> itself): 24px padding = footer's 24px ───────── */
    #kob-register-form.kob-form,
    form#kob-register-form {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
        display: block !important;
    }

    /* ── Footer container: 24px padding, matching form ────────────────── */
    #wizard-tab .card-widget-footer {
        padding-left: 24px !important;
        padding-right: 24px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        display: block !important;
    }

    /* ── Footer inner div: block, not flex — so button stretches ──────── */
    #wizard-tab .card-widget-footer > div {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* ── ALL footer buttons: full-width blocks, left-aligned ──────────── */
    #wizard-tab .card-widget-footer button.iq-button,
    #wizard-tab .card-widget-footer .iq-button,
    #wizard-tab .card-widget-footer button[data-step="prev"],
    #wizard-tab .card-widget-footer button[data-step="next"],
    #wizard-tab .card-widget-footer button[data-step="submit"],
    #wizard-tab .card-widget-footer button.kob-back-btn,
    #wizard-tab .card-widget-footer #kob-back-to-chooser {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        margin: 0 0 10px 0 !important;
        padding: 0 20px !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        justify-content: center !important;
        align-items: center !important;
        font-size: 16px !important;
        text-align: center !important;
    }

    /* ── Every input: fills form's content (= back button width) ──────── */
    #kob-register-form input[type="text"]:not([type="hidden"]),
    #kob-register-form input[type="email"],
    #kob-register-form input[type="password"],
    #kob-register-form input[type="tel"],
    #kob-register-form input[type="date"],
    #kob-register-form input[type="number"],
    #kob-register-form select,
    #kob-register-form textarea {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* ── Address: full width, matches inputs ──────────────────────────── */
    .kob-address-wrap,
    .kob-address-wrap gmp-place-autocomplete {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* ── Rows: single-column, full width ──────────────────────────────── */
    #kob-register-form .kob-row,
    #kob-register-form .kob-row-3 {
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }
    #kob-register-form .kob-field,
    #kob-register-form .kob-field.kob-full {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        grid-column: 1 / -1 !important;
    }
}

/* ── Very narrow phones ─────────────────────────────────────────────── */
@media (max-width: 420px) {
    #kob-register-form.kob-form,
    form#kob-register-form,
    #wizard-tab .card-widget-footer {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   OVERRIDE kob-register-form.css (v1.0.0) — the rogue stylesheet
   It uses `padding: 1.5rem` on a 30-selector chain, and its own mobile
   @media (max-width: 767px) rules. We match its specificity and beat it
   with !important, targeting the exact same selectors.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Kill the rogue 1.5rem padding on the form (global, all viewports) ─ */
.login-register-panel .kob-register-wrap.kob-wizard-mode .kob-form,
.login-register-panel .kob-register-wrap.kob-wizard-mode .kob-form form,
.login-register-panel .kob-register-wrap.kob-wizard-mode #kob-register-form,
.widget-content .kob-register-wrap.kob-wizard-mode .kob-form,
.widget-content .kob-register-wrap.kob-wizard-mode #kob-register-form,
#wizard-tab .kob-register-wrap.kob-wizard-mode .kob-form,
#wizard-tab .kob-register-wrap.kob-wizard-mode #kob-register-form,
#wizard-tab .login-register-panel .kob-form,
#wizard-tab .login-register-panel #kob-register-form,
#widgetOrders .kob-register-wrap .kob-form,
#widgetOrders .kob-register-wrap #kob-register-form,
.kob-register-wrap.kob-wizard-mode .kob-form,
.kob-register-wrap.kob-wizard-mode #kob-register-form,
#kob-register .kob-form,
#kob-register #kob-register-form,
#kob-register-form.kob-form,
.kob-wizard-mode .kob-form,
.kob-wizard-mode #kob-register-form,
form#kob-register-form,
.kob-form#kob-register-form {
    padding-left: 24px !important;
    padding-right: 24px !important;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* ── Its mobile block (@media max-width: 767px) — match and beat it ──── */
@media (max-width: 767px) {
    .login-register-panel .kob-register-wrap.kob-wizard-mode .kob-form,
    .login-register-panel .kob-register-wrap.kob-wizard-mode .kob-form form,
    .login-register-panel .kob-register-wrap.kob-wizard-mode #kob-register-form,
    .widget-content .kob-register-wrap.kob-wizard-mode .kob-form,
    .widget-content .kob-register-wrap.kob-wizard-mode #kob-register-form,
    #wizard-tab .kob-register-wrap.kob-wizard-mode .kob-form,
    #wizard-tab .kob-register-wrap.kob-wizard-mode #kob-register-form,
    #wizard-tab .login-register-panel .kob-form,
    #wizard-tab .login-register-panel #kob-register-form,
    #widgetOrders .kob-register-wrap .kob-form,
    #widgetOrders .kob-register-wrap #kob-register-form,
    .kob-register-wrap.kob-wizard-mode .kob-form,
    .kob-register-wrap.kob-wizard-mode #kob-register-form,
    #kob-register .kob-form,
    #kob-register #kob-register-form,
    #kob-register-form.kob-form,
    .kob-wizard-mode .kob-form,
    .kob-wizard-mode #kob-register-form,
    form#kob-register-form,
    .kob-form#kob-register-form {
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}

/* ── Align footer to the same 20px (mobile) / 24px (desktop) ──────────── */
#wizard-tab .card-widget-footer {
    padding-left: 24px !important;
    padding-right: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
}

#wizard-tab .card-widget-footer > div {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

@media (max-width: 767px) {
    #wizard-tab .card-widget-footer {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 420px) {
    .login-register-panel .kob-register-wrap.kob-wizard-mode .kob-form,
    .widget-content .kob-register-wrap.kob-wizard-mode .kob-form,
    #wizard-tab .kob-register-wrap.kob-wizard-mode .kob-form,
    #wizard-tab .kob-register-wrap.kob-wizard-mode #kob-register-form,
    #kob-register-form.kob-form,
    form#kob-register-form,
    .kob-form#kob-register-form,
    #wizard-tab .card-widget-footer {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* ── Force footer buttons to full width (form-width, back-button-width) ─ */
#wizard-tab .card-widget-footer button.iq-button,
#wizard-tab .card-widget-footer .iq-button,
#wizard-tab .card-widget-footer button[data-step="prev"],
#wizard-tab .card-widget-footer button[data-step="next"],
#wizard-tab .card-widget-footer button[data-step="submit"] {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    align-items: center !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 20px !important;
    font-size: 16px !important;
    margin: 0 0 10px 0 !important;
    text-align: center !important;
}


/* ═══════════════════════════════════════════════════════════════════════
   LOCKED INPUT SIZE — 423×48 reference (responsive fill)
   On a 579px viewport → form content 423px × 48px = exact reference.
   On any other viewport → fills available width × 48px (never overflows).
   All targeted fields: first_name, last_name, email, password, dob,
   mobile_number (phone), address.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Desktop (≥ 769px): 43px tall (matches back button there) ────────── */
@media (min-width: 769px) {
    #kob-register-form input[type="text"]:not([type="hidden"]),
    #kob-register-form input[type="email"],
    #kob-register-form input[type="password"],
    #kob-register-form input[type="tel"],
    #kob-register-form input[type="date"],
    #kob-register-form input[type="number"],
    #kob-register-form input[name="first_name"],
    #kob-register-form input[name="last_name"],
    #kob-register-form input[name="email"],
    #kob-register-form input[name="password"],
    #kob-register-form input[name="dob"],
    #kob-register-form input[name="mobile_number"],
    #kob-register-form input[name="phone"],
    #kob-register-form select,
    #kob-register-form textarea {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 43px !important;
        min-height: 43px !important;
        max-height: 43px !important;
        padding: 10px 20px !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        line-height: 21px !important;
        box-sizing: border-box !important;
        border: 1px solid #111 !important;
        border-radius: 10px !important;
        background: transparent !important;
    }
}

/* ── Mobile (≤ 768px): 423×48 locked at 579px viewport ──────────────── */
@media (max-width: 768px) {
    /* Form and footer: identical padding so widths match */
    #kob-register-form.kob-form,
    form#kob-register-form {
        padding-left: 24px !important;
        padding-right: 24px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    #wizard-tab .card-widget-footer {
        padding-left: 24px !important;
        padding-right: 24px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
    }
    #wizard-tab .card-widget-footer > div {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* ── The exact fields requested: 100% × 48px ─────────────────────── */
    #kob-register-form input[name="first_name"],
    #kob-register-form input[name="last_name"],
    #kob-register-form input[name="email"],
    #kob-register-form input[name="password"],
    #kob-register-form input[name="dob"],
    #kob-register-form input[name="mobile_number"],
    #kob-register-form input[name="phone"],
    #kob-register-form input[type="text"]:not([type="hidden"]),
    #kob-register-form input[type="email"],
    #kob-register-form input[type="password"],
    #kob-register-form input[type="tel"],
    #kob-register-form input[type="date"],
    #kob-register-form input[type="number"],
    #kob-register-form select,
    #kob-register-form textarea {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        padding: 0 16px !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        line-height: 46px !important;
        box-sizing: border-box !important;
        border: 1px solid #111 !important;
        border-radius: 10px !important;
        background: transparent !important;
        color: #111 !important;
    }

    /* Date: strip browser's built-in icon padding */
    #kob-register-form input[type="date"] {
        line-height: 1.4 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Address: same 423×48 */
    .kob-address-wrap,
    .kob-address-wrap gmp-place-autocomplete,
    .kob-address-wrap #kob-address-search {
        width: 100% !important;
        max-width: 100% !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        box-sizing: border-box !important;
    }

    /* Footer buttons: 423×48, matching inputs */
    #wizard-tab .card-widget-footer button.iq-button,
    #wizard-tab .card-widget-footer .iq-button,
    #wizard-tab .card-widget-footer button[data-step="prev"],
    #wizard-tab .card-widget-footer button[data-step="next"],
    #wizard-tab .card-widget-footer button[data-step="submit"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        padding: 0 16px !important;
        font-size: 16px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 0 10px 0 !important;
    }

    /* Rows: single column so each field gets the full 423px width */
    #kob-register-form .kob-row,
    #kob-register-form .kob-row-3 {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        gap: 14px !important;
    }
    #kob-register-form .kob-field,
    #kob-register-form .kob-field.kob-full {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        grid-column: 1 / -1 !important;
    }

    /* Gender: 3-across, each 48px (not asked to change but must stay aligned) */
    #kob-register-form .kob-radio-group {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
    #kob-register-form .kob-radio,
    #kob-register-form .kob-radio-group label {
        width: 100% !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        padding: 0 10px !important;
        font-size: 14px !important;
        box-sizing: border-box !important;
    }
}

/* ── Very narrow (≤ 420px): 16px padding instead of 24px ────────────── */
@media (max-width: 420px) {
    #kob-register-form.kob-form,
    form#kob-register-form,
    #wizard-tab .card-widget-footer {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   FINAL FIX — exact 423×48 lock + bright black borders everywhere
   Overrides kob-register-form.css (v1.0.0) which sets:
     - padding: 1.5rem on form (24px)
     - border: 1px solid #cbd5e1 (light grey) on inputs
   We match its selector specificity + !important to win the cascade.
   ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

    /* ── Form: width 471px = 423 + 24×2 = exact 423 content ──────────── */
    #kob-register-form.kob-form,
    form#kob-register-form,
    #kob-register.kob-register-wrap.kob-wizard-mode .kob-form,
    #kob-register.kob-register-wrap.kob-wizard-mode #kob-register-form,
    #wizard-tab .kob-register-wrap.kob-wizard-mode .kob-form,
    #wizard-tab .kob-register-wrap.kob-wizard-mode #kob-register-form,
    .kob-register-wrap.kob-wizard-mode .kob-form,
    .kob-register-wrap.kob-wizard-mode #kob-register-form,
    #kob-register .kob-form,
    #kob-register #kob-register-form,
    #kob-register-form.kob-form,
    .kob-wizard-mode .kob-form,
    .kob-wizard-mode #kob-register-form {
        padding-left: 24px !important;
        padding-right: 24px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* ── LITERAL 423×48 for the 6 requested fields ──────────────────── */
    /* Bright black border #000, same 10px radius, transparent background */
    #kob-register-form input[name="first_name"],
    #kob-register-form input[name="last_name"],
    #kob-register-form input[name="email"],
    #kob-register-form input[name="password"],
    #kob-register-form input[name="dob"],
    #kob-register-form input[name="mobile_number"],
    #kob-register-form input[name="phone"],
    #kob-register-form input[type="email"],
    #kob-register-form input[type="password"],
    #kob-register-form input[type="tel"],
    #kob-register-form input[type="date"] {
        width: 423px !important;
        max-width: 423px !important;
        min-width: 423px !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        padding: 0 16px !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        line-height: 46px !important;
        box-sizing: border-box !important;

        /* THE KEY: bright black border like the others */
        border: 1px solid #000000 !important;
        border-top: 1px solid #000000 !important;
        border-right: 1px solid #000000 !important;
        border-bottom: 1px solid #000000 !important;
        border-left: 1px solid #000000 !important;

        border-radius: 10px !important;
        background: transparent !important;
        background-color: transparent !important;
        color: #111 !important;
        outline: none !important;
        box-shadow: none !important;
    }

    /* ── Focus: keep border black, add subtle accent ring ───────────── */
    #kob-register-form input[name="first_name"]:focus,
    #kob-register-form input[name="last_name"]:focus,
    #kob-register-form input[name="email"]:focus,
    #kob-register-form input[name="password"]:focus,
    #kob-register-form input[name="dob"]:focus,
    #kob-register-form input[name="mobile_number"]:focus,
    #kob-register-form input[name="phone"]:focus,
    #kob-register-form input[type="email"]:focus,
    #kob-register-form input[type="password"]:focus,
    #kob-register-form input[type="tel"]:focus,
    #kob-register-form input[type="date"]:focus {
        border: 1px solid #000000 !important;
        border-color: #000000 !important;
        box-shadow: 0 0 0 3px rgba(86,98,134,0.15) !important;
        background: transparent !important;
    }

    /* ── Address: also 423×48, bright black border ──────────────────── */
    .kob-address-wrap {
        width: 423px !important;
        max-width: 423px !important;
        min-width: 423px !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        border: 1px solid #000000 !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }
    .kob-address-wrap gmp-place-autocomplete {
        width: 100% !important;
        max-width: 100% !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        border: none !important;
        box-sizing: border-box !important;
    }

    /* ── Footer: 423px button width, bright black border ────────────── */
    #wizard-tab .card-widget-footer {
        padding-left: 24px !important;
        padding-right: 24px !important;
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    #wizard-tab .card-widget-footer > div {
        display: block !important;
        width: 423px !important;
        max-width: 423px !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    #wizard-tab .card-widget-footer button.iq-button,
    #wizard-tab .card-widget-footer .iq-button,
    #wizard-tab .card-widget-footer button[data-step="prev"],
    #wizard-tab .card-widget-footer button[data-step="next"],
    #wizard-tab .card-widget-footer button[data-step="submit"] {
        width: 423px !important;
        max-width: 423px !important;
        min-width: 423px !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        padding: 0 20px !important;
        font-size: 16px !important;
        border: 1px solid #000000 !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 0 10px 0 !important;
    }

    /* ── Gender radios: match 423 row, but 3-across (each ~135px) ───── */
    #kob-register-form .kob-radio-group {
        width: 423px !important;
        max-width: 423px !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
    #kob-register-form .kob-radio,
    #kob-register-form .kob-radio-group label {
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        padding: 0 10px !important;
        font-size: 14px !important;
        border: 1px solid #000000 !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
    }
}

/* ── Very narrow phones: 16px padding (still 423px wide inner fields) ─ */
@media (max-width: 420px) {
    #kob-register-form.kob-form,
    form#kob-register-form,
    #wizard-tab .card-widget-footer {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    /* On phones < 423+32=455px, we accept overflow OR allow shrink */
    #kob-register-form input[name="first_name"],
    #kob-register-form input[name="last_name"],
    #kob-register-form input[name="email"],
    #kob-register-form input[name="password"],
    #kob-register-form input[name="dob"],
    #kob-register-form input[name="mobile_number"],
    #kob-register-form input[name="phone"],
    .kob-address-wrap,
    #wizard-tab .card-widget-footer > div,
    #wizard-tab .card-widget-footer button.iq-button {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   AUTO INLINE + AUTO CENTER + JUSTIFIED — all forms, all screens
   No hard-coded widths. Everything auto-fills the form content area.
   On 579px viewport → naturally resolves to ~423×48 (the reference size).
   ═══════════════════════════════════════════════════════════════════════ */

/* ── FORM: centered, auto-width, comfortable max ───────────────────── */
#kob-register-form.kob-form,
form#kob-register-form,
#wizard-tab #kob-register-form,
#wizard-tab .kob-form {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
    display: block !important;
}

/* ── ROWS: single column, grid stretch, full width ─────────────────── */
#kob-register-form .kob-row,
#kob-register-form .kob-row-3 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 14px !important;
    justify-items: stretch !important;
    align-items: stretch !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* ── FIELDS: stretch to fill the row, auto-center content ──────────── */
#kob-register-form .kob-field,
#kob-register-form .kob-field.kob-full {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    grid-column: 1 / -1 !important;
    box-sizing: border-box !important;
}

/* ── EVERY INPUT/SELECT/TEXTAREA: 100% width, auto-fill, justified ── */
#kob-register-form input[type="text"]:not([type="hidden"]),
#kob-register-form input[type="email"],
#kob-register-form input[type="password"],
#kob-register-form input[type="tel"],
#kob-register-form input[type="date"],
#kob-register-form input[type="number"],
#kob-register-form input[name="first_name"],
#kob-register-form input[name="last_name"],
#kob-register-form input[name="email"],
#kob-register-form input[name="password"],
#kob-register-form input[name="dob"],
#kob-register-form input[name="mobile_number"],
#kob-register-form input[name="phone"],
#kob-register-form select,
#kob-register-form textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 16px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 46px !important;
    box-sizing: border-box !important;
    border: 1px solid #000000 !important;
    border-radius: 10px !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #111 !important;
    outline: none !important;
    box-shadow: none !important;
    text-align: left !important;        /* text left-aligned inside */
    vertical-align: middle !important;
}

/* ── FOCUS: keep black border, subtle accent ───────────────────────── */
#kob-register-form input:focus,
#kob-register-form select:focus,
#kob-register-form textarea:focus {
    border-color: #000000 !important;
    box-shadow: 0 0 0 3px rgba(86,98,134,0.15) !important;
    background: transparent !important;
}

/* ── LABELS: auto-align left, small ───────────────────────────────── */
#kob-register-form .kob-field > label {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* ── ADDRESS WRAPPER: full width, same as inputs ──────────────────── */
.kob-address-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    border: 1px solid #000000 !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}
.kob-address-wrap gmp-place-autocomplete {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    border: none !important;
    border-radius: 10px !important;
    background: transparent !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    --gmp-mat-shape-corner: 10px;
    --gmp-mat-color-surface: transparent;
    --gmp-mat-color-on-surface: #111111;
    --gmp-mat-color-primary: #566286;
    --gmp-mat-color-outline: #000000;
    --gmp-mat-font-family: inherit;
    --gmp-mat-font-size: 16px;
}

/* ── GENDER RADIOS: 3-across, each auto-stretch, centered content ─── */
#kob-register-form .kob-radio-group {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 8px !important;
    justify-items: stretch !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
}
#kob-register-form .kob-radio,
#kob-register-form .kob-radio-group label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 10px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    border: 1px solid #000000 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #111 !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    margin: 0 !important;
}

/* ── FOOTER: centered, auto-width, buttons justified ──────────────── */
#wizard-tab .card-widget-footer {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
    text-align: center !important;
}
#wizard-tab .card-widget-footer > div {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* ── ALL FOOTER BUTTONS: 100% width, centered content, justified ──── */
#wizard-tab .card-widget-footer button.iq-button,
#wizard-tab .card-widget-footer .iq-button,
#wizard-tab .card-widget-footer button[data-step="prev"],
#wizard-tab .card-widget-footer button[data-step="next"],
#wizard-tab .card-widget-footer button[data-step="submit"],
#wizard-tab .card-widget-footer button.kob-back-btn,
#wizard-tab .card-widget-footer #kob-back-to-chooser {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 20px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    border: 1px solid #000000 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #111 !important;
    box-sizing: border-box !important;
    margin: 0 auto 10px auto !important;
    text-align: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}
#wizard-tab .card-widget-footer button.iq-button:hover,
#wizard-tab .card-widget-footer .iq-button:hover,
#wizard-tab .card-widget-footer button[data-step="prev"]:hover,
#wizard-tab .card-widget-footer button[data-step="next"]:hover,
#wizard-tab .card-widget-footer button[data-step="submit"]:hover {
    background: #566286 !important;
    color: #ffffff !important;
    border-color: #566286 !important;
}

/* ── MOBILE TUNING: strip ancestor padding so form fills screen ───── */
@media (max-width: 768px) {
    #wizard-tab.iq-card,
    .widget-content.login-register-panel,
    .widget-content,
    #kob-register.kob-register-wrap,
    .kob-form,
    #widgetOrders.widget-layout,
    .widget-pannel,
    .iq-fade.iq-tab-pannel {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    #kob-register-form.kob-form,
    form#kob-register-form {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    #wizard-tab .card-widget-footer {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* ── VERY NARROW: 14px side padding ───────────────────────────────── */
@media (max-width: 420px) {
    #kob-register-form.kob-form,
    form#kob-register-form,
    #wizard-tab .card-widget-footer {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

/* ── DESKTOP: slightly wider padding for comfort ──────────────────── */
@media (min-width: 769px) {
    #kob-register-form.kob-form,
    form#kob-register-form {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
    /* Desktop inputs stay 43px (reference height at desktop) */
    #kob-register-form input[type="text"]:not([type="hidden"]),
    #kob-register-form input[type="email"],
    #kob-register-form input[type="password"],
    #kob-register-form input[type="tel"],
    #kob-register-form input[type="date"],
    #kob-register-form input[type="number"],
    #kob-register-form input[name="first_name"],
    #kob-register-form input[name="last_name"],
    #kob-register-form input[name="email"],
    #kob-register-form input[name="password"],
    #kob-register-form input[name="dob"],
    #kob-register-form input[name="mobile_number"],
    #kob-register-form input[name="phone"],
    #kob-register-form select,
    #kob-register-form textarea {
        height: 43px !important;
        min-height: 43px !important;
        max-height: 43px !important;
        padding: 10px 20px !important;
        font-size: 15px !important;
        line-height: 21px !important;
    }
    .kob-address-wrap,
    .kob-address-wrap gmp-place-autocomplete {
        height: 43px !important;
        min-height: 43px !important;
        max-height: 43px !important;
    }
    #wizard-tab .card-widget-footer button.iq-button,
    #wizard-tab .card-widget-footer .iq-button,
    #wizard-tab .card-widget-footer button[data-step="prev"],
    #wizard-tab .card-widget-footer button[data-step="next"],
    #wizard-tab .card-widget-footer button[data-step="submit"] {
        height: 43px !important;
        min-height: 43px !important;
        max-height: 43px !important;
        padding: 10px 20px !important;
        font-size: 15px !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   FORM CAP AT 471px — makes content 423px, auto-centered
   This is the "auto inline + center" version that ALSO gives 423×48
   ═══════════════════════════════════════════════════════════════════════ */

#kob-register-form.kob-form,
form#kob-register-form {
    width: 100% !important;
    max-width: 471px !important;      /* 423 content + 24×2 padding */
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
}

#wizard-tab .card-widget-footer {
    width: 100% !important;
    max-width: 471px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
    text-align: center !important;
}
#wizard-tab .card-widget-footer > div {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* On viewports < 471px, drop the cap so it fills */
@media (max-width: 500px) {
    #kob-register-form.kob-form,
    form#kob-register-form,
    #wizard-tab .card-widget-footer {
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   AUTO INLINE + AUTO CENTER + JUSTIFIED — all forms, all screens
   No hard-coded widths. Everything auto-fills the form content area.
   On 579px viewport → naturally resolves to ~423×48 (the reference size).
   ═══════════════════════════════════════════════════════════════════════ */

/* ── FORM: centered, auto-width, comfortable max ───────────────────── */
#kob-register-form.kob-form,
form#kob-register-form,
#wizard-tab #kob-register-form,
#wizard-tab .kob-form {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
    display: block !important;
}

/* ── ROWS: single column, grid stretch, full width ─────────────────── */
#kob-register-form .kob-row,
#kob-register-form .kob-row-3 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 14px !important;
    justify-items: stretch !important;
    align-items: stretch !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* ── FIELDS: stretch to fill the row, auto-center content ──────────── */
#kob-register-form .kob-field,
#kob-register-form .kob-field.kob-full {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    grid-column: 1 / -1 !important;
    box-sizing: border-box !important;
}

/* ── EVERY INPUT/SELECT/TEXTAREA: 100% width, auto-fill, justified ── */
#kob-register-form input[type="text"]:not([type="hidden"]),
#kob-register-form input[type="email"],
#kob-register-form input[type="password"],
#kob-register-form input[type="tel"],
#kob-register-form input[type="date"],
#kob-register-form input[type="number"],
#kob-register-form input[name="first_name"],
#kob-register-form input[name="last_name"],
#kob-register-form input[name="email"],
#kob-register-form input[name="password"],
#kob-register-form input[name="dob"],
#kob-register-form input[name="mobile_number"],
#kob-register-form input[name="phone"],
#kob-register-form select,
#kob-register-form textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 16px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 46px !important;
    box-sizing: border-box !important;
    border: 1px solid #000000 !important;
    border-radius: 10px !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #111 !important;
    outline: none !important;
    box-shadow: none !important;
    text-align: left !important;        /* text left-aligned inside */
    vertical-align: middle !important;
}

/* ── FOCUS: keep black border, subtle accent ───────────────────────── */
#kob-register-form input:focus,
#kob-register-form select:focus,
#kob-register-form textarea:focus {
    border-color: #000000 !important;
    box-shadow: 0 0 0 3px rgba(86,98,134,0.15) !important;
    background: transparent !important;
}

/* ── LABELS: auto-align left, small ───────────────────────────────── */
#kob-register-form .kob-field > label {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* ── ADDRESS WRAPPER: full width, same as inputs ──────────────────── */
.kob-address-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    border: 1px solid #000000 !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}
.kob-address-wrap gmp-place-autocomplete {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    border: none !important;
    border-radius: 10px !important;
    background: transparent !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    --gmp-mat-shape-corner: 10px;
    --gmp-mat-color-surface: transparent;
    --gmp-mat-color-on-surface: #111111;
    --gmp-mat-color-primary: #566286;
    --gmp-mat-color-outline: #000000;
    --gmp-mat-font-family: inherit;
    --gmp-mat-font-size: 16px;
}

/* ── GENDER RADIOS: 3-across, each auto-stretch, centered content ─── */
#kob-register-form .kob-radio-group {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 8px !important;
    justify-items: stretch !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
}
#kob-register-form .kob-radio,
#kob-register-form .kob-radio-group label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 10px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    border: 1px solid #000000 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #111 !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    margin: 0 !important;
}

/* ── FOOTER: centered, auto-width, buttons justified ──────────────── */
#wizard-tab .card-widget-footer {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
    text-align: center !important;
}
#wizard-tab .card-widget-footer > div {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* ── ALL FOOTER BUTTONS: 100% width, centered content, justified ──── */
#wizard-tab .card-widget-footer button.iq-button,
#wizard-tab .card-widget-footer .iq-button,
#wizard-tab .card-widget-footer button[data-step="prev"],
#wizard-tab .card-widget-footer button[data-step="next"],
#wizard-tab .card-widget-footer button[data-step="submit"],
#wizard-tab .card-widget-footer button.kob-back-btn,
#wizard-tab .card-widget-footer #kob-back-to-chooser {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 20px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    border: 1px solid #000000 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #111 !important;
    box-sizing: border-box !important;
    margin: 0 auto 10px auto !important;
    text-align: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}
#wizard-tab .card-widget-footer button.iq-button:hover,
#wizard-tab .card-widget-footer .iq-button:hover,
#wizard-tab .card-widget-footer button[data-step="prev"]:hover,
#wizard-tab .card-widget-footer button[data-step="next"]:hover,
#wizard-tab .card-widget-footer button[data-step="submit"]:hover {
    background: #566286 !important;
    color: #ffffff !important;
    border-color: #566286 !important;
}

/* ── MOBILE TUNING: strip ancestor padding so form fills screen ───── */
@media (max-width: 768px) {
    #wizard-tab.iq-card,
    .widget-content.login-register-panel,
    .widget-content,
    #kob-register.kob-register-wrap,
    .kob-form,
    #widgetOrders.widget-layout,
    .widget-pannel,
    .iq-fade.iq-tab-pannel {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    #kob-register-form.kob-form,
    form#kob-register-form {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    #wizard-tab .card-widget-footer {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* ── VERY NARROW: 14px side padding ───────────────────────────────── */
@media (max-width: 420px) {
    #kob-register-form.kob-form,
    form#kob-register-form,
    #wizard-tab .card-widget-footer {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

/* ── DESKTOP: slightly wider padding for comfort ──────────────────── */
@media (min-width: 769px) {
    #kob-register-form.kob-form,
    form#kob-register-form {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
    /* Desktop inputs stay 43px (reference height at desktop) */
    #kob-register-form input[type="text"]:not([type="hidden"]),
    #kob-register-form input[type="email"],
    #kob-register-form input[type="password"],
    #kob-register-form input[type="tel"],
    #kob-register-form input[type="date"],
    #kob-register-form input[type="number"],
    #kob-register-form input[name="first_name"],
    #kob-register-form input[name="last_name"],
    #kob-register-form input[name="email"],
    #kob-register-form input[name="password"],
    #kob-register-form input[name="dob"],
    #kob-register-form input[name="mobile_number"],
    #kob-register-form input[name="phone"],
    #kob-register-form select,
    #kob-register-form textarea {
        height: 43px !important;
        min-height: 43px !important;
        max-height: 43px !important;
        padding: 10px 20px !important;
        font-size: 15px !important;
        line-height: 21px !important;
    }
    .kob-address-wrap,
    .kob-address-wrap gmp-place-autocomplete {
        height: 43px !important;
        min-height: 43px !important;
        max-height: 43px !important;
    }
    #wizard-tab .card-widget-footer button.iq-button,
    #wizard-tab .card-widget-footer .iq-button,
    #wizard-tab .card-widget-footer button[data-step="prev"],
    #wizard-tab .card-widget-footer button[data-step="next"],
    #wizard-tab .card-widget-footer button[data-step="submit"] {
        height: 43px !important;
        min-height: 43px !important;
        max-height: 43px !important;
        padding: 10px 20px !important;
        font-size: 15px !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   FINAL UNIFIED FORM DESIGN — cosmetic overrides only
   Consistent dimensions, spacing, borders and placeholders on every screen.
   ═══════════════════════════════════════════════════════════════════════ */

/* Form container: predictable box sizing and 10px mobile gutters */
#kob-register-form.kob-form,
form#kob-register-form,
#wizard-tab #kob-register-form,
#wizard-tab .kob-form {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Keep every field and row aligned to the same available width */
#kob-register-form .kob-row,
#kob-register-form .kob-row-3,
#kob-register-form .kob-field,
#kob-register-form .kob-field.kob-full {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

#kob-register-form .kob-row,
#kob-register-form .kob-row-3 {
    gap: 14px !important;
}

#kob-register-form .kob-field {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    margin: 0 !important;
}

/* One shared control style for all standard form controls */
#kob-register-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
#kob-register-form select,
#kob-register-form textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
    border: 1px solid #292929 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #222222 !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: normal !important;
    text-align: left !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Textarea remains the same control height for visual uniformity */
#kob-register-form textarea {
    resize: vertical !important;
    overflow-y: auto !important;
}

/* Light, understated placeholder text */
#kob-register-form input::placeholder,
#kob-register-form textarea::placeholder {
    color: #a1a1aa !important;
    opacity: 1 !important;
    font-weight: 400 !important;
}

/* Consistent select text and native dropdown behavior */
#kob-register-form select {
    line-height: normal !important;
    padding-right: 36px !important;
}

/* Subtle, consistent focus state */
#kob-register-form input:not([type="hidden"]):focus,
#kob-register-form select:focus,
#kob-register-form textarea:focus {
    border-color: #222222 !important;
    box-shadow: 0 0 0 2px rgba(34, 34, 34, 0.10) !important;
    outline: none !important;
}

/* Labels: consistent alignment and spacing */
#kob-register-form .kob-field > label {
    display: block !important;
    width: 100% !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    color: #333333 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

/* Address autocomplete wrapper matches the standard controls */
#kob-register-form .kob-address-wrap,
.kob-address-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    margin: 0 !important;
    border: 1px solid #292929 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
}

.kob-address-wrap gmp-place-autocomplete {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    --gmp-mat-shape-corner: 8px;
    --gmp-mat-color-surface: #ffffff;
    --gmp-mat-color-on-surface: #222222;
    --gmp-mat-color-primary: #566286;
    --gmp-mat-color-outline: #292929;
    --gmp-mat-font-family: inherit;
    --gmp-mat-font-size: 16px;
}

/* Radio choices: equal-width options with matching height */
#kob-register-form .kob-radio-group {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 8px !important;
    box-sizing: border-box !important;
}

#kob-register-form .kob-radio,
#kob-register-form .kob-radio-group label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    border: 1px solid #292929 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #222222 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

/* Footer buttons retain their existing behavior, with consistent sizing */
#wizard-tab .card-widget-footer button.iq-button,
#wizard-tab .card-widget-footer .iq-button,
#wizard-tab .card-widget-footer button[data-step="prev"],
#wizard-tab .card-widget-footer button[data-step="next"],
#wizard-tab .card-widget-footer button[data-step="submit"],
#wizard-tab .card-widget-footer button.kob-back-btn,
#wizard-tab .card-widget-footer #kob-back-to-chooser {
    min-height: 48px !important;
    height: 48px !important;
    max-height: 48px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
}

/* Mobile: exactly 10px outer gutters on both sides */
@media (max-width: 768px) {
    #wizard-tab.iq-card,
    .widget-content.login-register-panel,
    .widget-content,
    #kob-register.kob-register-wrap,
    #widgetOrders.widget-layout,
    .widget-pannel,
    .iq-fade.iq-tab-pannel {
        box-sizing: border-box !important;
        max-width: 100% !important;
    }

    #kob-register-form.kob-form,
    form#kob-register-form,
    #wizard-tab #kob-register-form,
    #wizard-tab .kob-form,
    #wizard-tab .card-widget-footer {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
}

/* Desktop: retain comfortable outer spacing; control dimensions stay identical */
@media (min-width: 769px) {
    #kob-register-form.kob-form,
    form#kob-register-form,
    #wizard-tab #kob-register-form,
    #wizard-tab .kob-form,
    #wizard-tab .card-widget-footer {
        padding-left: 24px !important;
        padding-right: 24px !important;
        box-sizing: border-box !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   FLATPICKR MONTH NAV ARROWS — make prev/next prominent
   The default flatpickr arrows are 17×17 thin grey chevrons that are
   nearly invisible on light backgrounds. This targets only those and
   makes them 20×20, bright black with green hover.
   ═══════════════════════════════════════════════════════════════════════ */

/* The prev/next month buttons in flatpickr */
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    padding: 6px !important;
    border-radius: 8px !important;
    background: transparent !important;
    border: 1.5px solid #111 !important;
    color: #111 !important;
    transition: all 0.15s ease !important;
    opacity: 1 !important;
    visibility: visible !important;
    cursor: pointer !important;
    z-index: 5 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* Hover: green fill + white icon */
.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
}

/* The SVG inside the prev/next buttons */
.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
    stroke: currentColor !important;
    transition: fill 0.15s ease, stroke 0.15s ease !important;
    display: block !important;
}

/* The chevron path itself — force it to render dark */
.flatpickr-months .flatpickr-prev-month svg path,
.flatpickr-months .flatpickr-next-month svg path {
    fill: #111 !important;
    stroke: #111 !important;
    transition: fill 0.15s ease, stroke 0.15s ease !important;
}

/* On hover the icon goes white (matches the green bg) */
.flatpickr-months .flatpickr-prev-month:hover svg path,
.flatpickr-months .flatpickr-next-month:hover svg path {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* Keep position: prev at left, next at right, without absolute overlap */
.flatpickr-months .flatpickr-prev-month { left: 8px !important; right: auto !important; }
.flatpickr-months .flatpickr-next-month { right: 8px !important; left: auto !important; }

/* Hide the default flatpickr arrow hover "arrow" — sometimes it injects a
   pseudo arrow that looks faded on top of our button */
.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
    fill: #ffffff !important;
}

/* Month/year label — slightly bigger and bolder so arrows balance */
.flatpickr-months .flatpickr-month,
.flatpickr-months .flatpickr-current-month {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #111 !important;
}

/* Ensure the month header row is tall enough to fit the 36px arrows */
.flatpickr-months {
    height: 48px !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE — same treatment, slightly bigger tap target
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .flatpickr-months .flatpickr-prev-month,
    .flatpickr-months .flatpickr-next-month {
        width: 40px !important;
        height: 40px !important;
    }
    .flatpickr-months .flatpickr-prev-month svg,
    .flatpickr-months .flatpickr-next-month svg {
        width: 22px !important;
        height: 22px !important;
    }
    .flatpickr-months .flatpickr-prev-month { left: 4px !important; }
    .flatpickr-months .flatpickr-next-month { right: 4px !important; }
    .flatpickr-months {
        height: 52px !important;
        min-height: 52px !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   INSURANCE FORM — FINAL POLISH
   Section labels, payer autocomplete, password toggle, consent,
   appointment summary, mobile — all styled to match self-pay exactly.
   ═══════════════════════════════════════════════════════════════════════ */

.widget-content.login-register-panel .kob-section-label,
.widget-content.login-register-panel .kob-form .kob-section-label {
    display: block !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #594a66 !important;
    margin: 1.75rem 0 0.85rem !important;
    padding: 0.85rem 0 0 !important;
    border-top: 1px solid #e5e7eb !important;
    line-height: 1.4 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.widget-content.login-register-panel .kob-form .kob-section-label:first-of-type {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
}

.widget-content.login-register-panel .kob-payer-wrap {
    position: relative !important;
    width: 100% !important;
    display: block !important;
}
.widget-content.login-register-panel #kob-payer-search {
    width: 100% !important;
    height: 46px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    border: 1px solid #111 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #111 !important;
    box-sizing: border-box !important;
    outline: none !important;
}
.widget-content.login-register-panel #kob-payer-search:focus {
    border-color: #566286 !important;
    box-shadow: 0 0 0 3px rgba(86,98,134,0.12) !important;
}
.widget-content.login-register-panel #kob-payer-search::placeholder {
    color: #d0d0d0 !important;
    opacity: 1 !important;
    font-weight: 400 !important;
}
.widget-content.login-register-panel #kob-payer-results {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    right: 0 !important;
    background: #fff !important;
    border: 1px solid #111 !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
    max-height: 280px !important;
    overflow-y: auto !important;
    z-index: 999 !important;
    display: none !important;
}
.widget-content.login-register-panel #kob-payer-results:not(:empty) {
    display: block !important;
}
.widget-content.login-register-panel .kob-result-item {
    padding: 10px 16px !important;
    font-size: 14px !important;
    color: #111 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    cursor: pointer !important;
    background: #fff !important;
}
.widget-content.login-register-panel .kob-result-item:hover {
    background: #f6f4f8 !important;
    color: #594a66 !important;
}

.widget-content.login-register-panel .kob-pw-wrap {
    position: relative !important;
    width: 100% !important;
}
.widget-content.login-register-panel .kob-pw-wrap input {
    padding-right: 48px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.widget-content.login-register-panel .kob-pw-toggle {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    color: #666 !important;
    padding: 0 !important;
    z-index: 2 !important;
}
.widget-content.login-register-panel .kob-pw-toggle:hover {
    background: #f0f0f0 !important;
    color: #111 !important;
}
.widget-content.login-register-panel .kob-pw-toggle svg {
    width: 18px !important;
    height: 18px !important;
}

.widget-content.login-register-panel .kob-consent {
    margin: 1.5rem 0 0 !important;
    padding: 0 !important;
    width: 100% !important;
}
.widget-content.login-register-panel .kob-consent label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    font-size: 0.88rem !important;
    color: #333 !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
}
.widget-content.login-register-panel .kob-consent input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin: 2px 0 0 !important;
    accent-color: #566286 !important;
    flex-shrink: 0 !important;
}
.widget-content.login-register-panel .kob-consent a {
    color: #566286 !important;
    text-decoration: underline !important;
}

.kob-appointment-summary {
    background: #f6f4f8 !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    margin: 0 0 1.5rem !important;
    font-size: 0.85rem !important;
    color: #111 !important;
}
.kob-appointment-summary h4 {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #594a66 !important;
    margin: 0 0 6px !important;
}
.kob-appointment-summary .kob-summary-row {
    display: flex !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 3px 0 !important;
}
.kob-appointment-summary .kob-summary-label {
    color: #666 !important;
    font-weight: 500 !important;
}
.kob-appointment-summary .kob-summary-value {
    color: #111 !important;
    font-weight: 600 !important;
    text-align: right !important;
}

@media (max-width: 768px) {
    .widget-content.login-register-panel .kob-section-label {
        font-size: 0.7rem !important;
        margin: 1.5rem 0 0.75rem !important;
    }
    .widget-content.login-register-panel #kob-payer-search {
        height: 48px !important;
        font-size: 16px !important;
    }
    .kob-appointment-summary {
        padding: 10px 14px !important;
        font-size: 0.82rem !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   REMOVE ALL PLACEHOLDER TEXT — self-pay and insurance forms
   The :empty trick doesn't work for placeholders, so we set color
   to transparent. This is visually equivalent to no placeholder.
   ═══════════════════════════════════════════════════════════════════════ */

/* Hide placeholder text by making it invisible */
#kob-register-form input::placeholder,
#kob-register-form textarea::placeholder,
#kob-register-form input::-webkit-input-placeholder,
#kob-register-form textarea::-webkit-input-placeholder,
#kob-register-form input::-moz-placeholder,
#kob-register-form textarea::-moz-placeholder,
#kob-register-form input:-ms-input-placeholder,
#kob-register-form textarea:-ms-input-placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

/* Also hide placeholder on the address, payer search, manual address */
#kob-address-search::placeholder,
#kob-payer-search::placeholder,
#kob-street-manual::placeholder {
    color: transparent !important;
    opacity: 0 !important;
}


/* ═══════════════════════════════════════════════════════════════════════
   DOB TYPABLE FIELD — visual feedback for invalid input
   ═══════════════════════════════════════════════════════════════════════ */
.kob-dob-text.kob-dob-invalid {
    border-color: #c0392b !important;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12) !important;
}
.kob-dob-wrap {
    position: relative;
    display: block;
    width: 100%;
}
.kob-dob-text:focus {
    border-color: #566286 !important;
    box-shadow: 0 0 0 3px rgba(86, 98, 134, 0.12) !important;
}
@media (max-width: 768px) {
    .kob-dob-text {
        height: 48px !important;
        font-size: 16px !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   WOOCOMMERCE CHECKOUT — Simplify for medical appointment payment
   Hide: order notes, shipping fields, company, address line 2,
   additional information section, coupon. Keep: name, address, card.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Hide Order Notes / Additional Information ──────────────────────── */
.woocommerce-additional-fields,
#order_comments_field,
.woocommerce-checkout #order_review #order_comments_field,
.woocommerce-additional-fields__field-wrapper {
    display: none !important;
}

/* ── Hide Shipping section (KiviCare services are virtual) ───────────── */
.woocommerce-shipping-fields,
#ship-to-different-address,
.woocommerce-shipping-totals {
    display: none !important;
}

/* ── Hide Company field ──────────────────────────────────────────────── */
#billing_company_field,
.woocommerce-billing-fields #billing_company_field {
    display: none !important;
}

/* ── Hide Address Line 2 (apartment/suite) ───────────────────────────── */
#billing_address_2_field {
    display: none !important;
}

/* ── Hide Coupon toggle ─────────────────────────────────────────────── */
.woocommerce-form-coupon-toggle,
.woocommerce-info:has(.showcoupon),
.checkout_coupon {
    display: none !important;
}

/* ── Hide country field (we pre-fill US) ────────────────────────────── */
#billing_country_field {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   Style the remaining fields — clean, minimal, uniform
   ═══════════════════════════════════════════════════════════════════════ */

/* Billing section headers */
.woocommerce-billing-fields > h3 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 1px solid #e5e7eb !important;
    color: #111 !important;
}

/* All form-row inputs — clean, uniform */
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    height: 46px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    border: 1px solid #111 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #111 !important;
    box-sizing: border-box !important;
    transition: all 0.15s ease !important;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus {
    border-color: #566286 !important;
    box-shadow: 0 0 0 3px rgba(86,98,134,0.12) !important;
}

/* Labels */
.woocommerce-checkout .form-row label {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: #111 !important;
    margin-bottom: 6px !important;
}

/* Pre-filled fields — subtle purple tint to show they came from KiviCare */
.woocommerce-checkout .form-row input.input-text[value]:not([value=""]),
.woocommerce-checkout .form-row select:not([value=""]) {
    background: #faf8fc !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   Order Summary — cleaner
   ═══════════════════════════════════════════════════════════════════════ */
#order_review {
    background: #fafafa !important;
    padding: 1.5rem !important;
    border-radius: 10px !important;
    border: 1px solid #e5e7eb !important;
}

#order_review_heading {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    color: #111 !important;
}

/* Product line in order summary */
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 10px 0 !important;
    font-size: 0.95rem !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.woocommerce-checkout-review-order-table tfoot tr.order-total th,
.woocommerce-checkout-review-order-table tfoot tr.order-total td {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #111 !important;
    padding-top: 14px !important;
    border-top: 2px solid #111 !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   Card / Payment section — prominent
   ═══════════════════════════════════════════════════════════════════════ */
#payment {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    padding: 1.25rem !important;
    margin-top: 1rem !important;
}

#payment .payment_methods {
    margin: 0 0 1rem 0 !important;
    padding: 0 !important;
    border: none !important;
}

#payment .payment_methods li {
    padding: 12px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    background: #fafafa !important;
}

#payment .payment_methods li.payment_method_stripe,
#payment .payment_methods li.payment_method_woocommerce_payments {
    background: #ffffff !important;
    border-color: #566286 !important;
}

/* Place Order button */
#place_order,
.woocommerce-checkout #place_order {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 52px !important;
    padding: 0 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    background: #111 !important;
    border: 1px solid #111 !important;
    border-radius: 10px !important;
    margin-top: 1rem !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

#place_order:hover {
    background: #566286 !important;
    border-color: #566286 !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   Mobile — full-width, comfortable
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .woocommerce-checkout .col2-set {
        display: block !important;
    }
    .woocommerce-checkout .col-1,
    .woocommerce-checkout .col-2 {
        width: 100% !important;
        max-width: 100% !important;
    }
    .woocommerce-checkout .form-row input.input-text,
    .woocommerce-checkout .form-row select {
        font-size: 16px !important;
        height: 50px !important;
    }
    #place_order {
        height: 56px !important;
        font-size: 17px !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   PAYER AUTOCOMPLETE DROPDOWN — fix covering/positioning
   ═══════════════════════════════════════════════════════════════════════ */

/* Wrapper is the anchor */
.kob-payer-wrap {
    position: relative !important;
    width: 100% !important;
    display: block !important;
    z-index: 10 !important;
}

/* Dropdown — anchored below the input, scrolls with page */
#kob-payer-results {
    position: absolute !important;
    top: 100% !important;               /* directly below the input */
    left: 0 !important;
    right: 0 !important;
    margin-top: 4px !important;
    background: #ffffff !important;
    border: 1px solid #111 !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
    max-height: 280px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 9999 !important;
    display: none !important;
    box-sizing: border-box !important;
    pointer-events: auto !important;
}

/* Show when has content */
#kob-payer-results:not(:empty) {
    display: block !important;
}

/* Each result item — full width, clickable */
#kob-payer-results .kob-result-item,
#kob-payer-results > div {
    display: block !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    color: #111 !important;
    background: #ffffff !important;
    border-bottom: 1px solid #f0f0f0 !important;
    cursor: pointer !important;
    line-height: 1.4 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    pointer-events: auto !important;
}

#kob-payer-results .kob-result-item:last-child,
#kob-payer-results > div:last-child {
    border-bottom: none !important;
}

#kob-payer-results .kob-result-item:hover,
#kob-payer-results > div:hover {
    background: #f6f4f8 !important;
    color: #594a66 !important;
}

/* Make sure the input stays above the dropdown z-index */
#kob-payer-search {
    position: relative !important;
    z-index: 11 !important;
}

/* ── On mobile: dropdown even more prominent ──────────────────────── */
@media (max-width: 768px) {
    #kob-payer-results {
        max-height: 220px !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   PAYER DROPDOWN v2 — override everything, prevent blocking
   ═══════════════════════════════════════════════════════════════════════ */

.kob-payer-wrap {
    position: relative !important;
    width: 100% !important;
    z-index: auto !important;    /* don't stack above other fields */
}

#kob-payer-results {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin-top: 4px !important;
    background: #fff !important;
    border: 1px solid #111 !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
    max-height: 240px !important;
    overflow-y: auto !important;
    z-index: 999 !important;
    display: none !important;
}

/* Show ONLY when not empty AND has .kob-open class (set by JS) */
#kob-payer-results.kob-open:not(:empty) {
    display: block !important;
}

/* When closed — pointer events off */
#kob-payer-results:not(.kob-open) {
    display: none !important;
    pointer-events: none !important;
}


/* ═══════════════════════════════════════════════════════════════════════
   PAYER DROPDOWN — FINAL override (replaces all previous rules)
   The wizard doesn't hide the dropdown after selection. We force it.
   Rule: dropdown only visible when .kob-open class is set by JS.
   ═══════════════════════════════════════════════════════════════════════ */

/* Hide by default — no :not(:empty) anymore */
#kob-payer-results {
    display: none !important;
    pointer-events: none !important;
}

/* Show ONLY when we explicitly add .kob-open (which we remove on selection) */
#kob-payer-results.kob-open {
    display: block !important;
    pointer-events: auto !important;
}

/* Prevent the wizard's inline style="display: block" from winning */
#kob-payer-results[style*="display: block"]:not(.kob-open) {
    display: none !important;
    pointer-events: none !important;
}


/* ═══════════════════════════════════════════════════════════════════════
   FORCE BLACK TEXT on insurance inputs, selects, relationships
   ═══════════════════════════════════════════════════════════════════════ */

#kob-register-form input,
#kob-register-form select,
#kob-register-form textarea,
#kob-payer-search,
#kob-relationship,
#kob-state,
#kob-state-manual,
#kob-address-search,
.widget-content.login-register-panel input,
.widget-content.login-register-panel select,
.widget-content.login-register-panel textarea {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    caret-color: #111111 !important;
}

/* Select dropdowns — visible options */
#kob-register-form select option,
#kob-relationship option,
#kob-state option,
#kob-state-manual option {
    color: #111111 !important;
    background: #ffffff !important;
    font-size: 15px !important;
    padding: 8px !important;
}

/* Placeholder — faint but visible */
#kob-payer-search::placeholder {
    color: #999999 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #999999 !important;
}

/* Ensure the payer input wrapper has proper z-index/stacking */
.kob-payer-wrap input#kob-payer-search {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    background: #ffffff !important;
    z-index: 100 !important;
    position: relative !important;
}

/* Dropdown items — black text on white */
#kob-payer-results .kob-result-item,
#kob-payer-results > div,
#kob-payer-results > li {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    background: #ffffff !important;
}

/* Address search input */
#kob-address-search,
.kob-address-wrap #kob-address-search {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
}


/* ═══════════════════════════════════════════════════════════════════════
   INSURANCE INPUTS — dark backgrounds with white text (high contrast)
   ═══════════════════════════════════════════════════════════════════════ */

/* Insurance section inputs — forced black bg, white text */
#kob-register-form input[name="insurance_member_id"],
#kob-register-form input[name="insurance_group_number"],
#kob-register-form input[name="insurance_sub_fname"],
#kob-register-form input[name="insurance_sub_lname"],
#kob-register-form input[name="insurance_sub_dob"],
#kob-payer-search,
#kob-relationship,
#kob-state-manual {
    background: #111111 !important;
    background-color: #111111 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 1px solid #111111 !important;
    caret-color: #ffffff !important;
}

/* Placeholder — subtle grey */
#kob-register-form input[name="insurance_member_id"]::placeholder,
#kob-register-form input[name="insurance_group_number"]::placeholder,
#kob-payer-search::placeholder {
    color: #888888 !important;
    -webkit-text-fill-color: #888888 !important;
    opacity: 1 !important;
}

/* Relationship select — dark bg, white text, visible options */
#kob-relationship {
    background: #111111 !important;
    background-color: #111111 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

#kob-relationship option {
    background: #ffffff !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    font-size: 15px !important;
    padding: 8px !important;
}

/* Focus state — accent border */
#kob-register-form input[name="insurance_member_id"]:focus,
#kob-register-form input[name="insurance_group_number"]:focus,
#kob-payer-search:focus,
#kob-relationship:focus {
    border-color: #566286 !important;
    box-shadow: 0 0 0 3px rgba(86,98,134,0.25) !important;
    background: #111111 !important;
}

/* Payer dropdown — force dark with white text */
#kob-payer-results .kob-result-item,
#kob-payer-results > div {
    background: #111111 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border-bottom: 1px solid #333333 !important;
}

#kob-payer-results .kob-result-item:hover,
#kob-payer-results > div:hover {
    background: #566286 !important;
    color: #ffffff !important;
}

/* Ensure dropdown container is dark */
#kob-payer-results {
    background: #111111 !important;
    border: 1px solid #444444 !important;
}


/* ═══════════════════════════════════════════════════════════════════════
   INSURANCE INPUTS — WHITE BACKGROUNDS, BLACK TEXT (override previous)
   ═══════════════════════════════════════════════════════════════════════ */

/* All text inputs, selects, textareas on the form */
#kob-register-form input[type="text"],
#kob-register-form input[type="email"],
#kob-register-form input[type="password"],
#kob-register-form input[type="tel"],
#kob-register-form input[type="date"],
#kob-register-form input[type="number"],
#kob-register-form select,
#kob-register-form textarea,
#kob-payer-search,
#kob-relationship,
#kob-state,
#kob-state-manual,
#kob-address-search,
#kob-register-form input[name="insurance_member_id"],
#kob-register-form input[name="insurance_group_number"],
#kob-register-form input[name="insurance_sub_fname"],
#kob-register-form input[name="insurance_sub_lname"],
#kob-register-form input[name="insurance_sub_dob"] {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    caret-color: #111111 !important;
    border: 1px solid #111111 !important;
}

/* Select dropdowns — white bg, black text */
#kob-register-form select,
#kob-relationship,
#kob-state,
#kob-state-manual {
    background: #ffffff !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
}

#kob-register-form select option,
#kob-relationship option,
#kob-state option,
#kob-state-manual option {
    background: #ffffff !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
}

/* Placeholders — visible grey */
#kob-register-form input::placeholder,
#kob-register-form textarea::placeholder,
#kob-payer-search::placeholder,
#kob-address-search::placeholder {
    color: #999999 !important;
    -webkit-text-fill-color: #999999 !important;
    opacity: 1 !important;
}

/* Focus — light accent */
#kob-register-form input:focus,
#kob-register-form select:focus,
#kob-register-form textarea:focus,
#kob-payer-search:focus,
#kob-relationship:focus {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    border-color: #566286 !important;
    box-shadow: 0 0 0 3px rgba(86,98,134,0.15) !important;
    outline: none !important;
}

/* Payer results dropdown — white bg, black text */
#kob-payer-results {
    background: #ffffff !important;
    border: 1px solid #111111 !important;
}

#kob-payer-results .kob-result-item,
#kob-payer-results > div,
#kob-payer-results > li {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
}

#kob-payer-results .kob-result-item:hover,
#kob-payer-results > div:hover {
    background: #f0f0f0 !important;
    color: #111111 !important;
}

/* Password reveal button */
.kob-pw-wrap {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

.kob-pw-wrap input[type="password"],
.kob-pw-wrap input[type="text"] {
    padding-right: 48px !important;
}

.kob-pw-reveal {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 18px !important;
    padding: 0 !important;
    color: #666 !important;
    border-radius: 6px !important;
    z-index: 10 !important;
    pointer-events: auto !important;
}

.kob-pw-reveal:hover {
    background: rgba(0,0,0,0.08) !important;
    color: #111 !important;
}

/* Ensure button doesn't get overlapped */
.kob-pw-reveal[aria-label="Hide password"] {
    color: #566286 !important;
}


/* ═══════════════════════════════════════════════════════════════════════
   ABSOLUTE FORCE WHITE — highest specificity + JS inline override below
   ═══════════════════════════════════════════════════════════════════════ */
html body #kob-register-form input[name="insurance_member_id"],
html body #kob-register-form input[name="insurance_group_number"],
html body #kob-register-form input[name="insurance_payer_id"],
html body #kob-register-form #kob-payer-search,
html body .kob-payer-wrap #kob-payer-search,
html body #kob-register-form input[name="insurance_member_id"],
html body #kob-register-form input[name="insurance_group_number"] {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    caret-color: #111111 !important;
    border: 1px solid #111111 !important;
}

html body #kob-register-form input[name="insurance_member_id"]::placeholder,
html body #kob-register-form input[name="insurance_group_number"]::placeholder,
html body #kob-payer-search::placeholder {
    color: #999999 !important;
    -webkit-text-fill-color: #999999 !important;
    opacity: 1 !important;
}

html body #kob-register-form input[name="insurance_member_id"]:focus,
html body #kob-register-form input[name="insurance_group_number"]:focus,
html body #kob-payer-search:focus {
    background: #ffffff !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    border-color: #566286 !important;
    box-shadow: 0 0 0 3px rgba(86,98,134,0.15) !important;
}


/* ═══════════════════════════════════════════════════════════════════════
   ENSURE SUBMIT BUTTON IS ALWAYS CLICKABLE
   ═══════════════════════════════════════════════════════════════════════ */
#kob-register-form #kob-submit,
#kob-register-form .kob-submit,
#kob-register-form button[type="submit"],
#kob-register-form button[type="button"] {
    position: relative !important;
    z-index: 100000 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure no overlay covers it */
#kob-register-form #kob-submit::before,
#kob-register-form .kob-submit::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: -1 !important;
    pointer-events: none !important;
}



/ KOB DOB CALENDAR LAYOUT v3 + KOB PASSWORD EYE v3 */
#kob-register-form .kob-dob-wrap,
#wizard-tab .kob-dob-wrap {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-height: 46px !important;
}
#kob-register-form .kob-dob-text,
#wizard-tab .kob-dob-text {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 46px !important;
    box-sizing: border-box !important;
    padding-right: 46px !important;
}
#kob-register-form .kob-dob-wrap > button.kob-dob-cal,
#wizard-tab .kob-dob-wrap > button.kob-dob-cal {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    background: transparent !important;
    color: #64748b !important;
    cursor: pointer !important;
    z-index: 6 !important;
}
#kob-register-form .kob-dob-wrap > input[type="date"][name="dob"],
#wizard-tab .kob-dob-wrap > input[type="date"][name="dob"] {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    left: 0 !important;
    top: 0 !important;
    border: 0 !important;
}
#kob-register-form .kob-dob-text.kob-dob-invalid,
#wizard-tab .kob-dob-text.kob-dob-invalid {
    border-color: #b00020 !important;
    box-shadow: 0 0 0 3px rgba(176,0,32,.08) !important;
}
#kob-register-form .kob-pw-wrap > .kob-pw-reveal,
#kob-register-form .kob-pw-wrap > .kob-pw-reveal-v3,
#wizard-tab .kob-pw-wrap > .kob-pw-reveal,
#wizard-tab .kob-pw-wrap > .kob-pw-reveal-v3 {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
}
#kob-register-form .coviapath-pw-wrap > .coviapath-pt-toggle,
#wizard-tab .coviapath-pw-wrap > .coviapath-pw-toggle {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    color: #64748b !important;
    cursor: pointer !important;
    z-index: 6 !important;
    align-items: center !important;
    justify-content: center !important;
}
#kob-register-form input[name="password"],
#wizard-tab input[name="password"] {
    width: 100% !important;
    box-sizing: border-box !important;
    padding-right: 46px !important;
}

/* KOB SIMPLE CHECKOUT — same box style as the wizard form */
.kob-checkout-panel { max-width: 560px; margin: 40px auto; padding: 24px 20px 32px; background: #fff; color: #111; }
.kob-checkout-title { font-size: 1.25rem; font-weight: 700; margin: 0 0 8px; color: #111; }
.kob-checkout-summary { display: flex; gap: 16px; font-size: 0.85rem; color: #555; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #eee; }
.kob-checkout-panel .kob-section-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #594a66; margin: 24px 0 12px; padding-top: 16px; border-top: 1px solid #eee; }
.kob-checkout-panel .kob-section-label:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.kob-checkout-panel .kob-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px 16px; margin-bottom: 14px; }
.kob-checkout-panel .kob-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kob-checkout-panel .kob-field.kob-full { grid-column: 1 / -1; }
.kob-checkout-panel label { display: block; font-size: 0.82rem; font-weight: 500; color: #111; line-height: 1.3; }
.kob-checkout-panel .kob-req { color: #b00020; }
.kob-checkout-panel input[type="text"],
.kob-checkout-panel select { width: 100%; height: 46px; padding: 0 14px; font-size: 15px; font-weight: 500; font-family: inherit; color: #111; background: #fff; border: 1.5px solid #111; border-radius: 10px; box-sizing: border-box; outline: none; -webkit-appearance: none; appearance: none; transition: border-color .15s ease, box-shadow .15s ease; }
.kob-checkout-panel input:focus,
.kob-checkout-panel select:focus { border-color: #566286; box-shadow: 0 0 0 3px rgba(86,98,134,.12); }
.kob-checkout-panel input::placeholder { color: transparent; }
.kob-checkout-panel select { padding-right: 40px; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='4 6 8 10 12 6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; cursor: pointer; }
.kob-checkout-panel .kob-card-element { min-height: 46px; padding: 12px 14px; border: 1.5px solid #111; border-radius: 10px; background: #fff; box-sizing: border-box; }
.kob-checkout-panel .kob-card-element.StripeElement--focus { border-color: #566286; box-shadow: 0 0 0 3px rgba(86,98,134,.12); }
.kob-checkout-panel .kob-card-element.StripeElement--invalid { border-color: #b00020; }
.kob-checkout-panel .kob-submit { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 46px; margin-top: 24px; padding: 0 22px; font-size: 15px; font-weight: 600; font-family: inherit; line-height: 1; color: #fff; background: #111; border: 1.5px solid #111; border-radius: 10px; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.kob-checkout-panel .kob-submit:hover:not(:disabled) { background: #566286; border-color: #566286; }
.kob-checkout-panel .kob-submit:disabled { background: #999; border-color: #999; cursor: not-allowed; }
.kob-checkout-panel .kob-error { margin-top: 8px; font-size: 0.82rem; color: #b00020; line-height: 1.4; }

/* KOB FIX v3: hard-hide error on self-pay */
#kob-register-form.kob-selfpay-form #kob-error {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* ═══════════════════════════════════════════════════════════════════
   KOB /PAY/ — match the wizard form exactly
   Same 46px height, 1.5px solid #111 border, 10px radius, no placeholders
   ═══════════════════════════════════════════════════════════════════ */

/* Panel canvas — centered, white, matches wizard spacing */
.kob-checkout-panel {
    max-width: 560px !important;
    margin: 32px auto 48px !important;
    padding: 24px 20px 32px !important;
    background: #fff !important;
    color: #111 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 3px rgba(15,23,42,0.04) !important;
}

.kob-checkout-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin: 0 0 20px !important;
    padding: 0 0 16px !important;
    color: #111 !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.kob-checkout-summary {
    display: flex !important;
    gap: 16px !important;
    padding: 12px 14px !important;
    margin: 0 0 20px !important;
    background: #f8fafc !important;
    border-radius: 8px !important;
    font-size: 0.85rem !important;
    color: #475569 !important;
}

/* Section labels — match wizard .kob-section-label */
.kob-checkout-panel .kob-section-label {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #594a66 !important;
    margin: 20px 0 12px !important;
    padding: 0 !important;
    border: none !important;
}
.kob-checkout-panel .kob-section-label:first-of-type {
    margin-top: 0 !important;
}

/* Rows / fields — same grid behavior as the wizard */
.kob-checkout-panel .kob-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px 16px !important;
    margin-bottom: 14px !important;
}
@media (min-width: 640px) {
    .kob-checkout-panel .kob-row {
        grid-template-columns: 1fr 1fr 1fr !important;
    }
    .kob-checkout-panel .kob-field.kob-full {
        grid-column: 1 / -1 !important;
    }
}
.kob-checkout-panel .kob-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    min-width: 0 !important;
    width: 100% !important;
}

/* Labels — wizard style */
.kob-checkout-panel label {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    color: #111 !important;
    line-height: 1.3 !important;
}
.kob-checkout-panel .kob-req { color: #b00020 !important; }

/* Inputs — EXACTLY the wizard's box */
.kob-checkout-panel input[type="text"],
.kob-checkout-panel input[type="email"],
.kob-checkout-panel input[type="tel"],
.kob-checkout-panel select {
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    padding: 0 14px !important;
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    font-family: inherit !important;
    line-height: 46px !important;
    color: #111 !important;
    background: #fff !important;
    background-image: none !important;
    border: 1.5px solid #111 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    outline: none !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: border-color .15s ease, box-shadow .15s ease !important;
}
.kob-checkout-panel input:focus,
.kob-checkout-panel select:focus {
    border-color: #566286 !important;
    box-shadow: 0 0 0 3px rgba(86,98,134,.12) !important;
}
.kob-checkout-panel input::placeholder { color: transparent !important; }
.kob-checkout-panel select {
    padding-right: 40px !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='4 6 8 10 12 6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px !important;
    cursor: pointer !important;
}

/* Card mount point — visible even before gateway injects */
.kob-checkout-panel #kob-card-element,
.kob-checkout-panel .kob-card-element {
    width: 100% !important;
    min-height: 46px !important;
    padding: 12px 14px !important;
    margin: 0 !important;
    font-size: 15px !important;
    color: #111 !important;
    background: #fff !important;
    border: 1.5px solid #111 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transition: border-color .15s ease, box-shadow .15s ease !important;
}
/* Placeholder text visible when empty (helps user know it's a card field) */
.kob-checkout-panel .kob-card-element:empty::before {
    content: "Loading secure card field…" !important;
    color: #94a3b8 !important;
    font-size: 14px !important;
    display: block !important;
    line-height: 22px !important;
}
/* Once gateway injects iframe, remove the placeholder */
.kob-checkout-panel .kob-card-element:not(:empty)::before { content: none !important; }

/* Card iframe focuses — match input focus ring */
.kob-checkout-panel .kob-card-element.StripeElement--focus,
.kob-checkout-panel .kob-card-element:focus-within {
    border-color: #566286 !important;
    box-shadow: 0 0 0 3px rgba(86,98,134,.12) !important;
}
.kob-checkout-panel .kob-card-element.StripeElement--invalid,
.kob-checkout-panel .kob-card-element.ppcp-field-invalid {
    border-color: #b00020 !important;
    box-shadow: 0 0 0 3px rgba(176,0,32,.08) !important;
}

/* Submit button — EXACTLY the wizard's .kob-submit */
.kob-checkout-panel .kob-submit,
.kob-checkout-panel #kob-pay-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 24px 0 0 !important;
    padding: 0 22px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    line-height: 1 !important;
    color: #fff !important;
    background: #111 !important;
    border: 1.5px solid #111 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: background .15s ease, border-color .15s ease !important;
}
.kob-checkout-panel .kob-submit:hover:not(:disabled),
.kob-checkout-panel #kob-pay-btn:hover:not(:disabled) {
    background: #566286 !important;
    border-color: #566286 !important;
}
.kob-checkout-panel .kob-submit:disabled,
.kob-checkout-panel #kob-pay-btn:disabled {
    background: #999 !important;
    border-color: #999 !important;
    cursor: not-allowed !important;
}

/* Inline errors */
.kob-checkout-panel .kob-error {
    margin-top: 8px !important;
    font-size: 0.82rem !important;
    color: #b00020 !important;
    line-height: 1.4 !important;
}

/* Mobile tighten */
@media (max-width: 480px) {
    .kob-checkout-panel { margin: 16px auto 32px !important; padding: 18px 14px 24px !important; }
    .kob-checkout-panel input,
    .kob-checkout-panel select,
    .kob-checkout-panel .kob-submit {
        font-size: 16px !important;
        height: 48px !important;
        min-height: 48px !important;
        line-height: 46px !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   KOB MINIMAL FORM STYLE — black outline, modern, matches card form
   Scoped to #kob-register-form and insurance section only.
   Does NOT touch #kob-card-embed (Stripe self-pay card).
   ═══════════════════════════════════════════════════════════════════════ */

/* — ONE eye only: hide all the duplicate password-reveal buttons — */
#kob-register-form .kob-pw-reveal,
#kob-register-form .kob-pw-toggle,
#kob-register-form .coviapath-pw-toggle,
#kob-register-form .coviapath-pw-wrap .kob-pw-reveal,
#kob-register-form .coviapath-pw-wrap .kob-pw-reveal-v3 {
    display: none !important;
}
#kob-register-form button.kob-pw-reveal-v3 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    background: transparent !important;
    border: none !important;
    color: #111 !important;
    font-size: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    z-index: 10 !important;
}

/* — Unified modern inputs: black outline, rounded, clean — */
#kob-register-form input[type="text"],
#kob-register-form input[type="email"],
#kob-register-form input[type="tel"],
#kob-register-form input[type="password"],
#kob-register-form input[type="date"],
#kob-register-form input[type="number"],
#kob-register-form input[type="file"],
#kob-register-form select,
#kob-register-form textarea,
.kob-section-label ~ .kob-field input[type="text"],
.kob-section-label ~ .kob-field input[type="email"],
.kob-section-label ~ .kob-field input[type="date"],
.kob-section-label ~ .kob-field select {
    width: 100% !important;
    height: 46px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
    background: #fff !important;
    border: 1.5px solid #111 !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    outline: none !important;
    box-shadow: none !important;
    caret-color: #111 !important;
    transition: border-color 0.15s, background 0.15s !important;
}
#kob-register-form input:focus,
#kob-register-form select:focus,
#kob-register-form textarea:focus {
    border-color: #111 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(17,17,17,0.08) !important;
}
#kob-register-form input::placeholder {
    color: #999 !important;
    opacity: 1 !important;
}

/* — File input styling (insurance proof) — */
#kob-register-form input[type="file"] {
    height: auto !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    cursor: pointer !important;
}
#kob-register-form input[type="file"]::file-selector-button {
    background: #111 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 8px 14px !important;
    margin-right: 12px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
}

/* — Labels: clean, black, uniform — */
#kob-register-form label,
.kob-section-label ~ .kob-field label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #111 !important;
    margin-bottom: 6px !important;
    line-height: 1.4 !important;
}
.kob-section-label {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: #666 !important;
    margin: 24px 0 12px !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

/* — Two-column grid, justified, uniform — */
#kob-register-form .kob-row,
.kob-section-label ~ .kob-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    margin-bottom: 16px !important;
    width: 100% !important;
}
#kob-register-form .kob-row.kob-full,
#kob-register-form .kob-row > .kob-field.kob-full,
.kob-section-label ~ .kob-field.kob-full {
    grid-column: 1 / -1 !important;
    width: 100% !important;
}
#kob-register-form .kob-field,
.kob-section-label ~ .kob-field {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
}

/* — Password wrap: room for the one eye — */
#kob-register-form .kob-pw-wrap,
#kob-register-form .coviapath-pw-wrap,
#kob-register-form .coviapath-pw-wrap .kob-pw-wrap {
    position: relative !important;
    width: 100% !important;
    display: block !important;
}
#kob-register-form input[type="password"] {
    padding-right: 48px !important;
}

/* — Radio group: inline, clean — */
#kob-register-form .kob-radio-group {
    display: flex !important;
    gap: 20px !important;
    align-items: center !important;
    padding: 12px 0 !important;
    flex-wrap: wrap !important;
}
#kob-register-form .kob-radio {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 14px !important;
    color: #111 !important;
    cursor: pointer !important;
    font-weight: 500 !important;
}
#kob-register-form .kob-radio input[type="radio"] {
    width: 16px !important;
    height: 16px !important;
    accent-color: #111 !important;
    margin: 0 !important;
}

/* — Checkbox — */
#kob-register-form .kob-consent {
    margin: 20px 0 !important;
    font-size: 13px !important;
    color: #333 !important;
    line-height: 1.5 !important;
}
#kob-register-form .kob-consent input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    accent-color: #111 !important;
    margin-right: 8px !important;
    vertical-align: middle !important;
}
#kob-register-form .kob-consent a {
    color: #111 !important;
    text-decoration: underline !important;
}

/* — Required asterisk — */
.kob-req {
    color: #c0392b !important;
    font-weight: 600 !important;
}

/* — SUBMIT BUTTON: black rectangle, rounded, modern, matches Stripe Pay button — */
#kob-register-form .kob-submit,
#kob-submit {
    width: 100% !important;
    height: 52px !important;
    background: #111 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    border: 1.5px solid #111 !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    cursor: pointer !important;
    margin-top: 20px !important;
    padding: 0 24px !important;
    transition: background 0.15s, opacity 0.15s !important;
    box-shadow: none !important;
    text-shadow: none !important;
}
#kob-register-form .kob-submit:hover,
#kob-submit:hover {
    background: #000 !important;
    border-color: #000 !important;
}
#kob-register-form .kob-submit:disabled,
#kob-submit:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

/* — Insurance results dropdown — */
#kob-payer-results {
    background: #fff !important;
    border: 1.5px solid #111 !important;
    border-radius: 10px !important;
    margin-top: 6px !important;
    max-height: 240px !important;
    overflow-y: auto !important;
    padding: 4px !important;
    display: none;
}
#kob-payer-results .kob-result-item {
    padding: 10px 14px !important;
    font-size: 14px !important;
    color: #111 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
}
#kob-payer-results .kob-result-item:hover {
    background: #f5f5f5 !important;
}

/* — Error message — */
#kob-error {
    color: #c0392b !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin: 12px 0 !important;
    padding: 12px 16px !important;
    background: #fef2f2 !important;
    border: 1.5px solid #c0392b !important;
    border-radius: 10px !important;
}

/* — Mobile: single column — */
@media (max-width: 640px) {
    #kob-register-form .kob-row,
    .kob-section-label ~ .kob-row {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════
   KOB INPUT FINAL — strip all dark colors, black outline only
   Uses box-shadow inset trick + background-image none to beat inline !important
   Scope: #kob-register-form + .kob-section-label siblings only.
   Does NOT touch #kob-card-embed.
   ═══════════════════════════════════════════════════════════════════════ */
body #kob-register-form input,
body #kob-register-form select,
body #kob-register-form textarea,
body .kob-section-label ~ .kob-field input,
body .kob-section-label ~ .kob-field select {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    caret-color: #111111 !important;
    border: 1.5px solid #111111 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    outline: none !important;
    min-height: 46px !important;
    height: 46px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    box-sizing: border-box !important;
}
body #kob-register-form input[type="file"] {
    height: auto !important;
    min-height: auto !important;
    padding: 12px 16px !important;
}
body #kob-register-form input:focus,
body #kob-register-form select:focus {
    border-color: #111111 !important;
    box-shadow: 0 0 0 3px rgba(17,17,17,0.10) !important;
}
body #kob-register-form input::placeholder {
    color: #999999 !important;
    -webkit-text-fill-color: #999999 !important;
}
body #kob-register-form input[type="password"] {
    padding-right: 48px !important;
}

/* — labels + section headers clean — */
body #kob-register-form label,
body .kob-section-label ~ .kob-field label {
    color: #111 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
    display: block !important;
    background: none !important;
}
body .kob-section-label {
    background: none !important;
    color: #666 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    margin: 24px 0 12px !important;
    padding: 0 !important;
    border: none !important;
}

/* — ONE eye only; hide all the duplicates — */
body #kob-register-form .kob-pw-reveal,
body #kob-register-form .kob-pw-toggle,
body #kob-register-form .coviapath-pw-toggle,
body #kob-register-form .kob-pw-reveal-v3 {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    pointer-events: none !important;
}
body #kob-register-form button.kob-pw-reveal-v3:first-of-type,
body #kob-register-form .kob-pw-wrap > button.kob-pw-reveal-v3:nth-of-type(1) {
    display: flex !important;
    visibility: visible !important;
    width: 32px !important;
    height: 32px !important;
    overflow: visible !important;
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    color: #111 !important;
    font-size: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 10 !important;
}

/* — submit button: black rectangle, matches card Pay button — */
body #kob-register-form .kob-submit,
body #kob-submit {
    width: 100% !important;
    height: 52px !important;
    background: #111 !important;
    background-color: #111 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    border: 1.5px solid #111 !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    margin-top: 20px !important;
    padding: 0 24px !important;
    box-shadow: none !important;
    text-shadow: none !important;
}
body #kob-register-form .kob-submit:hover,
body #kob-submit:hover {
    background: #000 !important;
    border-color: #000 !important;
}

/* — grid layout 2-col — */
body #kob-register-form .kob-row,
body .kob-section-label ~ .kob-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    margin-bottom: 16px !important;
    width: 100% !important;
}
body #kob-register-form .kob-field.kob-full,
body .kob-section-label ~ .kob-field.kob-full {
    grid-column: 1 / -1 !important;
    width: 100% !important;
}
@media (max-width: 640px) {
    body #kob-register-form .kob-row,
    body .kob-section-label ~ .kob-row {
        grid-template-columns: 1fr !important;
    }
}
/* ═══════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════
   KOB CLEANUP 2 — final pass: eyes gone, uniform inputs, black button
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 1. EYES: hide ALL password reveal buttons — no survivors ── */
body #kob-register-form .kob-pw-reveal,
body #kob-register-form .kob-pw-reveal-v3,
body #kob-register-form .kob-pw-toggle,
body #kob-register-form .coviapath-pw-toggle,
body #kob-register-form button[class*="pw-reveal"],
body #kob-register-form button[class*="pw-toggle"],
body #kob-register-form .kob-pw-wrap > button {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

/* ── 2. Normalize the 3 specific inputs + file to match the rest ── */
body #kob-register-form input[name="insurance_member_id"],
body #kob-register-form input[name="insurance_group_number"],
body #kob-register-form input[name="insurance_proof"] {
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    border: 1.5px solid #111111 !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    outline: none !important;
    box-shadow: none !important;
    caret-color: #111111 !important;
}
body #kob-register-form input[name="insurance_proof"] {
    height: auto !important;
    padding: 12px 16px !important;
}
body #kob-register-form input[name="insurance_proof"]::file-selector-button {
    background: #111 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 8px 14px !important;
    margin-right: 12px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
}

/* ── 3. SUBMIT BUTTON: black rectangle, rounded, matches Pay button ── */
body #kob-register-form .kob-submit,
body #kob-submit,
button#kob-submit {
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    display: block !important;
    background: #111 !important;
    background-color: #111 !important;
    background-image: none !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    border: 1.5px solid #111 !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    cursor: pointer !important;
    margin-top: 20px !important;
    padding: 0 24px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    opacity: 1 !important;
}
body #kob-register-form .kob-submit:hover,
body #kob-submit:hover,
button#kob-submit:hover {
    background: #000 !important;
    background-color: #000 !important;
    border-color: #000 !important;
}
body #kob-register-form .kob-submit:disabled,
body #kob-submit:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}
/* ═══════════════════════════════════════════════════════════════════════ */

/* ── Force exact 1.5px black border, 10px radius on insurance inputs ── */
html body #kob-register-form input[name="insurance_member_id"],
html body #kob-register-form input[name="insurance_group_number"],
html body #kob-register-form input[name="insurance_proof"],
html body #kob-register-form input[name="insurance_sub_fname"],
html body #kob-register-form input[name="insurance_sub_lname"],
html body #kob-register-form input[name="insurance_sub_dob"],
html body #kob-register-form #kob-payer-search,
html body #kob-register-form #kob-relationship {
    border-width: 1.5px !important;
    border-style: solid !important;
    border-color: #111 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* ── KOB ADDRESS FORM v2 — 3-col state/zip row ── */
body #kob-register-form .kob-row.kob-row-3 {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr !important;
    gap: 16px !important;
    margin-bottom: 16px !important;
}
@media (max-width: 640px) {
    body #kob-register-form .kob-row.kob-row-3 {
        grid-template-columns: 1fr !important;
    }
}
/* Hide the old "Enter address manually" button if it still exists */
body #kob-register-form #kob-toggle-manual,
body #kob-register-form .kob-manual-link {
    display: none !important;
}

/* ── KOB ADDRESS FIX: show manual fields by default, keep Google widget above ── */
body #kob-register-form #kob-manual-address {
    display: block !important;
    visibility: visible !important;
}
/* Clean up the manual fields to match the rest of the form */
body #kob-register-form #kob-manual-address input[type="text"],
body #kob-register-form #kob-manual-address select {
    width: 100% !important;
    height: 46px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
    border: 1.5px solid #111 !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    outline: none !important;
    box-shadow: none !important;
}
body #kob-register-form #kob-manual-address label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #111 !important;
    margin-bottom: 6px !important;
}
/* Hide the old "Enter address manually" toggle — fields are always visible now */
body #kob-register-form #kob-toggle-manual,
body #kob-register-form .kob-manual-link {
    display: none !important;
}
/* Hide the ZIP fallback widgets — not needed now */
body #kob-register-form #kob-zip-fallback-wrap,
body #kob-register-form #kob-zip-force-wrap {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   KOB ADDRESS TOGGLE — collapsible manual entry, clickable hint text
   ═══════════════════════════════════════════════════════════════════════ */

/* Hide old manual address link + old fallback widgets */
body #kob-register-form #kob-toggle-manual,
body #kob-register-form .kob-manual-link,
body #kob-register-form #kob-zip-fallback-wrap,
body #kob-register-form #kob-zip-force-wrap {
    display: none !important;
}

/* The toggle hint — clickable text under Google widget */
body #kob-register-form #kob-address-status {
    display: block !important;
    margin-top: 10px !important;
    color: #111111 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: underline !important;
    cursor: pointer !important;
    user-select: none !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    float: left !important;
    clear: both !important;
}

/* Manual fields — white bg, black border */
body #kob-register-form #kob-manual-address input[type="text"],
body #kob-register-form #kob-manual-address select {
    width: 100% !important;
    height: 46px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    border: 1.5px solid #111111 !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    outline: none !important;
    box-shadow: none !important;
}
body #kob-register-form #kob-manual-address label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #111 !important;
    margin-bottom: 6px !important;
    margin-top: 12px !important;
}

/* Hide City + State visible fields — Google provides them silently */
body #kob-register-form #kob-city-manual,
body #kob-register-form #kob-state-manual,
body #kob-register-form #kob-manual-address .kob-row.kob-row-3 > .kob-field:nth-child(1),
body #kob-register-form #kob-manual-address .kob-row.kob-row-3 > .kob-field:nth-child(2) {
    display: none !important;
}

/* The old 3-col row becomes ZIP-only, full width */
body #kob-register-form #kob-manual-address .kob-row.kob-row-3 {
    display: block !important;
    margin-bottom: 16px !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   KOB ABSOLUTE FIX — Kill all black inputs, remove placeholders
   ═══════════════════════════════════════════════════════════════════════ */

/* 1. Force EVERY input/select in the form to be white with black border */
body #kob-register-form input,
body #kob-register-form select,
body #kob-register-form textarea {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    border: 1.5px solid #111111 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    outline: none !important;
    height: 48px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    box-sizing: border-box !important;
}

/* 2. Fix the file upload button (Choose File) */
body #kob-register-form input[type="file"]::file-selector-button {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #111111 !important;
    border: 1.5px solid #111111 !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    margin-right: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}

/* 3. Remove ALL placeholders visually */
body #kob-register-form input::placeholder,
body #kob-register-form textarea::placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

/* 4. Force the address toggle text to look like a link */
body #kob-register-form #kob-address-status {
    color: #111 !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    display: inline-block !important;
    margin-top: 12px !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   KOB Booking Widget — Desktop Size Override (1000×850)
   ═══════════════════════════════════════════════════════════════════════ */
@media (min-width: 992px) {
  .kob-book-appointment-container,
  #kc-kivicareBookAppointment-6ae8235323c74,
  div[id^="kc-kivicareBookAppointment-"] {
    width: 1000px !important;
    max-width: 1000px !important;
    height: 850px !important;
    max-height: 850px !important;
    min-height: 850px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }

  .kob-book-appointment-container .kivi-widget,
  .kob-book-appointment-container #kivicare-widget-main-content,
  .kob-book-appointment-container .widget-layout {
    height: 100% !important;
    max-height: 100% !important;
  }

  .kob-book-appointment-container .iq-card.iq-card-sm.tab-content {
    height: calc(100% - 20px) !important;
    overflow-y: auto !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   KOB Booking Widget — Desktop Size (up to 1000×850, responsive)
   ═══════════════════════════════════════════════════════════════════════ */
@media (min-width: 992px) {
  .kob-book-appointment-container,
  #kc-kivicareBookAppointment-6ae8235323c74,
  div[id^="kc-kivicareBookAppointment-"] {
    width: 1000px !important;
    max-width: 96vw !important;
    min-height: 850px !important;
    max-height: 90vh !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow-y: auto !important;
    border-radius: 12px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   KOB — Remove black backgrounds from Member ID, Group, Submit
   ═══════════════════════════════════════════════════════════════════════ */

/* Member ID / Group Number / Subscriber fields — force white bg, black text */
html body #kob-register-form input[name="insurance_member_id"],
html body #kob-register-form input[name="insurance_group_number"],
html body #kob-register-form input[name="insurance_sub_fname"],
html body #kob-register-form input[name="insurance_sub_lname"],
html body #kob-register-form input[name="insurance_sub_dob"] {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  caret-color: #111111 !important;
  border: 1.5px solid #111111 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  padding: 12px 16px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

/* Focus state for those same fields */
html body #kob-register-form input[name="insurance_member_id"]:focus,
html body #kob-register-form input[name="insurance_group_number"]:focus,
html body #kob-register-form input[name="insurance_sub_fname"]:focus,
html body #kob-register-form input[name="insurance_sub_lname"]:focus,
html body #kob-register-form input[name="insurance_sub_dob"]:focus {
  border-color: #4a7a68 !important;
  box-shadow: 0 0 0 3px rgba(125,204,173,0.28) !important;
  outline: none !important;
}

/* Placeholder text on those fields — light gray, not white */
html body #kob-register-form input[name="insurance_member_id"]::placeholder,
html body #kob-register-form input[name="insurance_group_number"]::placeholder,
html body #kob-register-form input[name="insurance_sub_fname"]::placeholder,
html body #kob-register-form input[name="insurance_sub_lname"]::placeholder {
  color: #999999 !important;
  -webkit-text-fill-color: #999999 !important;
  opacity: 1 !important;
}

/* Relationship select — same treatment */
html body #kob-register-form select[name="insurance_relationship"] {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  border: 1.5px solid #111111 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  padding: 12px 16px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

/* Payer search box (top of insurance section) */
html body #kob-register-form #kob-payer-search {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  caret-color: #111111 !important;
  border: 1.5px solid #111111 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

/* SUBMIT BUTTON — remove black background, use clear style */
html body #kob-register-form #kob-submit,
html body #kob-register-form button.kob-submit {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  border: 2px solid #111111 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  padding: 14px 24px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

html body #kob-register-form #kob-submit:hover,
html body #kob-register-form button.kob-submit:hover {
  background: #7DCCAD !important;
  background-color: #7DCCAD !important;
  color: #0f2e23 !important;
  -webkit-text-fill-color: #0f2e23 !important;
  border-color: #5FB892 !important;
}

html body #kob-register-form #kob-submit:active,
html body #kob-register-form button.kob-submit:active {
  background: #5FB892 !important;
  background-color: #5FB892 !important;
  transform: translateY(1px) !important;
}


/* ═══════════════════════════════════════════════════════════════════════
   KOB — Submit button: enforce white bg / black text (escalated specificity)
   ═══════════════════════════════════════════════════════════════════════ */
html body #kob-register-form #kob-submit#kob-submit.kob-submit,
html body #kob-register-form button#kob-submit.kob-submit,
html body #kob-register-form button.kob-submit.kob-submit[type="button"] {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  border: 2px solid #111111 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html body #kob-register-form #kob-submit#kob-submit.kob-submit:hover,
html body #kob-register-form button#kob-submit.kob-submit:hover,
html body #kob-register-form button.kob-submit.kob-submit[type="button"]:hover {
  background: #7DCCAD !important;
  background-color: #7DCCAD !important;
  color: #0f2e23 !important;
  -webkit-text-fill-color: #0f2e23 !important;
  border-color: #5FB892 !important;
}

html body #kob-register-form #kob-submit#kob-submit.kob-submit:active,
html body #kob-register-form button#kob-submit.kob-submit:active {
  background: #5FB892 !important;
  background-color: #5FB892 !important;
}
html body #kob-register-form #kob-submit:hover,
html body #kob-register-form button#kob-submit.kob-submit:hover {
  background: #7DCCAD !important;
  background-color: #7DCCAD !important;
  color: #0f2e23 !important;
  -webkit-text-fill-color: #0f2e23 !important;
  border-color: #5FB892 !important;
}
/* FINAL submit button override — specificity +1:not(:disabled) beats all base rules */
html body #kob-register-form #kob-submit:not(:disabled),
html body #kob-register-form button#kob-submit.kob-submit:not(:disabled),
html body #kob-register-form .kob-form button.kob-submit:not(:disabled),
html body #kob-register-form .kob-submit:not(:disabled) {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  border: 2px solid #111111 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html body #kob-register-form #kob-submit:hover:not(:disabled),
html body #kob-register-form button#kob-submit.kob-submit:hover:not(:disabled),
html body #kob-register-form .kob-form button.kob-submit:hover:not(:disabled),
html body #kob-register-form .kob-submit:hover:not(:disabled) {
  background: #7DCCAD !important;
  background-color: #7DCCAD !important;
  background-image: none !important;
  color: #0f2e23 !important;
  -webkit-text-fill-color: #0f2e23 !important;
  border-color: #5FB892 !important;
  box-shadow: none !important;
}

html body #kob-register-form #kob-submit:active:not(:disabled),
html body #kob-register-form .kob-submit:active:not(:disabled) {
  background: #5FB892 !important;
  background-color: #5FB892 !important;
  color: #0f2e23 !important;
  -webkit-text-fill-color: #0f2e23 !important;
}
html body #kob-register-form input[name="insurance_member_id"],
html body #kob-register-form input[name="insurance_group_number"] {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  border: 2px solid #111111 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  padding: 12px 16px !important;
}
html body input[name="insurance_member_id"],
html body input[name="insurance_group_number"],
html body input[name="insurance_sub_fname"],
html body input[name="insurance_sub_lname"],
html body input[name="insurance_sub_dob"] {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  caret-color: #111111 !important;
  border: 1.5px solid #111111 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  padding: 12px 16px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}
html body .kob-form input[name="insurance_member_id"][type="text"],
html body .kob-form input[name="insurance_group_number"][type="text"],
html body .kob-form input[name="insurance_sub_fname"][type="text"],
html body .kob-form input[name="insurance_sub_lname"][type="text"],
html body .kob-form input[name="insurance_sub_dob"],
html body .kob-form input[name="insurance_member_id"][maxlength="32"],
html body .kob-form input[name="insurance_group_number"][maxlength="20"] {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  caret-color: #111111 !important;
  border: 1.5px solid #111111 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}
/* Beats #kob-register-form input[type="text"] — includes ID + class + element chain */
html body #kob-register-form input[name="insurance_member_id"][type="text"],
html body #kob-register-form input[name="insurance_group_number"][type="text"],
html body #kob-register-form input[name="insurance_sub_fname"][type="text"],
html body #kob-register-form input[name="insurance_sub_lname"][type="text"],
html body #kob-register-form input[name="insurance_sub_dob"],
html body #kob-register-form input[name="insurance_member_id"],
html body #kob-register-form input[name="insurance_group_number"] {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  caret-color: #111111 !important;
  border: 1.5px solid #111111 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html body #kob-register .kob-form input[name="insurance_member_id"],
html body #kob-register .kob-form input[name="insurance_group_number"] {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  border: 1.5px solid #111111 !important;
  box-shadow: none !important;
}


/* ═══════════════════════════════════════════════════════════════════════
   KOB INSURANCE FORM REDESIGN — card-page visual parity
   Added: 20261105-073700
   Scope: INSURANCE section + SUBSCRIBER section only.
   Rollback: cp kob-register-v2.css.bak-insredesign-20261105-073700 kob-register-v2.css
   ═══════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────
   1. HIDE GOOGLE PLACES WIDGET (search input, hint, status, .pac-container)
   ───────────────────────────────────────────────────────────────────── */
body #kob-register-form .kob-address-wrap,
body #kob-register-form #kob-address-search,
body #kob-register-form #kob-address-status,
body #kob-register-form .kob-address-hint-row,
body #kob-register-form .kob-address-hint,
.pac-container {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* ─────────────────────────────────────────────────────────────────────
   2. SECTION HEADER STYLE — match card page "Billing Address" pattern
   ───────────────────────────────────────────────────────────────────── */
body #kob-register-form .kob-section-label {
    display: block !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: #666666 !important;
    margin: 28px 0 12px !important;
    padding: 0 0 10px !important;
    border-bottom: 1px solid #e5e5e5 !important;
    line-height: 1.2 !important;
}

/* First section header needs no top padding after the address section */
body #kob-register-form .kob-manual-address + .kob-section-label,
body #kob-register-form div:first-of-type > .kob-section-label:first-child {
    margin-top: 16px !important;
}

/* ─────────────────────────────────────────────────────────────────────
   3. INSURANCE SECTION — clean 2-column grid on desktop
   ───────────────────────────────────────────────────────────────────── */
body #kob-register-form .kob-section-label + .kob-field,
body #kob-register-form .kob-section-label + .kob-row {
    margin-bottom: 16px !important;
}

body #kob-register-form .kob-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    margin-bottom: 16px !important;
    align-items: start !important;
}

body #kob-register-form .kob-row .kob-field {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    margin: 0 !important;
}

/* Full-width fields inside insurance (payer search, relationship select) */
body #kob-register-form .kob-field.kob-full {
    margin-bottom: 16px !important;
    width: 100% !important;
}

/* ─────────────────────────────────────────────────────────────────────
   4. SUBSCRIBER FIELDS — match grid rhythm, no extra spacing
   ───────────────────────────────────────────────────────────────────── */
body #kob-register-form #kob-subscriber-fields {
    margin-top: 8px !important;
}

body #kob-register-form #kob-subscriber-fields .kob-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    margin-bottom: 16px !important;
}

/* Subscriber row with 3 columns (First/Middle/Last) — keep proportional */
body #kob-register-form #kob-subscriber-fields .kob-row.kob-row-3 {
    grid-template-columns: 1fr 80px 1fr !important;
}

/* Subscriber address row (City/State/ZIP/Country) — 4 clean columns */
body #kob-register-form #kob-subscriber-fields .kob-row.kob-row-4 {
    grid-template-columns: 1.4fr 0.6fr 0.8fr 0.8fr !important;
}

/* ─────────────────────────────────────────────────────────────────────
   5. INPUT + SELECT + LABEL ALIGNMENT (inherit base, tighten spacing)
   ───────────────────────────────────────────────────────────────────── */
body #kob-register-form .kob-section-label ~ .kob-row .kob-field label,
body #kob-register-form .kob-section-label ~ .kob-field label,
body #kob-register-form #kob-subscriber-fields label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #111111 !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
}

body #kob-register-form .kob-section-label ~ .kob-row .kob-field input,
body #kob-register-form .kob-section-label ~ .kob-row .kob-field select,
body #kob-register-form .kob-section-label ~ .kob-field input,
body #kob-register-form .kob-section-label ~ .kob-field select,
body #kob-register-form #kob-subscriber-fields input,
body #kob-register-form #kob-subscriber-fields select {
    width: 100% !important;
    height: 46px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #111111 !important;
    background: #ffffff !important;
    border: 1.5px solid #111111 !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    transition: border-color .15s ease, box-shadow .15s ease !important;
}

body #kob-register-form .kob-section-label ~ .kob-row .kob-field input:focus,
body #kob-register-form .kob-section-label ~ .kob-row .kob-field select:focus,
body #kob-register-form .kob-section-label ~ .kob-field input:focus,
body #kob-register-form .kob-section-label ~ .kob-field select:focus,
body #kob-register-form #kob-subscriber-fields input:focus,
body #kob-register-form #kob-subscriber-fields select:focus {
    border-color: #4a7a68 !important;
    box-shadow: 0 0 0 3px rgba(125,204,173,0.28) !important;
    outline: none !important;
}

/* ─────────────────────────────────────────────────────────────────────
   6. MOBILE — single column stack under 640px
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    body #kob-register-form .kob-row,
    body #kob-register-form #kob-subscriber-fields .kob-row,
    body #kob-register-form #kob-subscriber-fields .kob-row.kob-row-3,
    body #kob-register-form #kob-subscriber-fields .kob-row.kob-row-4 {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    body #kob-register-form .kob-section-label {
        margin-top: 24px !important;
        font-size: 11px !important;
    }
}

/* ─────────────────────────────────────────────────────────────────────
   7. SUBSCRIBER FIELDS — hide unless relationship != Self
   (existing JS handles display:none; this only ensures CSS doesn't fight)
   ───────────────────────────────────────────────────────────────────── */
body #kob-register-form #kob-subscriber-fields[style*="display: none"] {
    display: none !important;
}

/* END KOB INSURANCE FORM REDESIGN */



/* ═══════════════════════════════════════════════════════════════════════
   NUCLEAR FOCUS FIX — insurance inputs must stay WHITE when focused
   Overrides the legacy rule at line 6884-6890 that sets
   background: #111111 !important on :focus.
   Added: 20261105-075049
   Rollback: cp kob-register-v2.css.bak-focusfix-20261105-075049 kob-register-v2.css
   ═══════════════════════════════════════════════════════════════════════ */
html body #kob-register-form input[name="insurance_member_id"]:focus,
html body #kob-register-form input[name="insurance_group_number"]:focus,
html body #kob-register-form input[name="insurance_sub_fname"]:focus,
html body #kob-register-form input[name="insurance_sub_lname"]:focus,
html body #kob-register-form input[name="insurance_sub_dob"]:focus,
html body #kob-register-form input[name="insurance_payer_id"]:focus,
html body #kob-register-form input[name="insurance_relationship"]:focus {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  caret-color: #111111 !important;
  border: 1.5px solid #4a7a68 !important;
  border-color: #4a7a68 !important;
  box-shadow: 0 0 0 3px rgba(125,204,173,0.28) !important;
  outline: none !important;
}

/* Also fix any autofill blackout (Chrome/Edge autofill can set background via inner shadow) */
html body #kob-register-form input[name="insurance_member_id"]:-webkit-autofill,
html body #kob-register-form input[name="insurance_group_number"]:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-text-fill-color: #111111 !important;
  transition: background-color 5000s ease-in-out 0s !important;
}



/* ═══════════════════════════════════════════════════════════════════════
   GLOBAL INSURANCE FIELD STYLE — matches by NAME, not by form ancestry
   Fixes: visible insurance fields are siblings of #kob-register-form
   (browser HTML parser drops nested <form> tags on innerHTML injection),
   so `#kob-register-form input[...]` selectors don't match them.
   Added: 20261105-075245
   ═══════════════════════════════════════════════════════════════════════ */

/* Match ANY visible input with these names — no form ancestor required */
body input[name="insurance_member_id"]:not([type="hidden"]),
body input[name="insurance_group_number"]:not([type="hidden"]),
body input[name="insurance_sub_fname"]:not([type="hidden"]),
body input[name="insurance_sub_lname"]:not([type="hidden"]),
body input[name="insurance_sub_dob"]:not([type="hidden"]) {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  caret-color: #111111 !important;
  border: 1.5px solid #111111 !important;
  border-radius: 10px !important;
  height: 46px !important;
  padding: 0 16px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}

body input[name="insurance_member_id"]:not([type="hidden"]):focus,
body input[name="insurance_group_number"]:not([type="hidden"]):focus,
body input[name="insurance_sub_fname"]:not([type="hidden"]):focus,
body input[name="insurance_sub_lname"]:not([type="hidden"]):focus,
body input[name="insurance_sub_dob"]:not([type="hidden"]):focus {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  border-color: #4a7a68 !important;
  box-shadow: 0 0 0 3px rgba(125,204,173,0.28) !important;
  outline: none !important;
}

body input[name="insurance_member_id"]:not([type="hidden"])::placeholder,
body input[name="insurance_group_number"]:not([type="hidden"])::placeholder {
  color: #999999 !important;
  -webkit-text-fill-color: #999999 !important;
  opacity: 1 !important;
}

/* Also handle Chrome autofill blackout */
body input[name="insurance_member_id"]:-webkit-autofill,
body input[name="insurance_group_number"]:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-text-fill-color: #111111 !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

/* Select fields — same treatment for payer/relationship dropdowns */
body select[name="insurance_relationship"]:not([type="hidden"]),
body select[name="state_manual"] {
  background-color: #ffffff !important;
  color: #111111 !important;
  border: 1.5px solid #111111 !important;
  border-radius: 10px !important;
  height: 46px !important;
  padding: 0 16px !important;
  font-size: 15px !important;
  box-sizing: border-box !important;
}

body select[name="insurance_relationship"]:focus,
body select[name="state_manual"]:focus {
  border-color: #4a7a68 !important;
  box-shadow: 0 0 0 3px rgba(125,204,173,0.28) !important;
  outline: none !important;
}



/* ═══════════════════════════════════════════════════════════════════════
   UNIFORM WIDTH + STATE/ZIP VISIBILITY FIX
   Added: 20261105-080150
   ═══════════════════════════════════════════════════════════════════════ */

/* 1. Force ALL form rows to single-column full-width */
body #kob-register-form .kob-row,
body #kob-subscriber-fields .kob-row,
body #kob-register-form .kob-row.kob-row-3,
body #kob-register-form .kob-row.kob-row-4 {
    display: block !important;
    margin-bottom: 16px !important;
}
body #kob-register-form .kob-row > .kob-field,
body #kob-subscriber-fields .kob-row > .kob-field,
body #kob-register-form .kob-field.kob-full {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 14px !important;
    box-sizing: border-box !important;
}
body #kob-register-form .kob-row > .kob-field:last-child {
    margin-bottom: 0 !important;
}

/* 2. Force every input/select to full-width, uniform height */
body #kob-register-form input[type="text"]:not([type="hidden"]),
body #kob-register-form input[type="email"]:not([type="hidden"]),
body #kob-register-form input[type="password"]:not([type="hidden"]),
body #kob-register-form input[type="tel"]:not([type="hidden"]),
body #kob-register-form input[type="date"]:not([type="hidden"]),
body #kob-register-form select,
body #kob-subscriber-fields input:not([type="hidden"]),
body #kob-subscriber-fields select {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 46px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
}

/* 3. STATE + ZIP: force visible — currently 0x0 due to grid collapse */
body #kob-register-form #kob-state-manual,
body #kob-register-form input[name="postal_code_manual"] {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* 4. Hide ALL radio/checkbox inputs inside .kob-radio-group from full-width rule */
body #kob-register-form .kob-radio-group input[type="radio"] {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
}

/* 5. Insurance ID inputs — force white (regardless of form ancestry) */
body input[name="insurance_member_id"]:not([type="hidden"]),
body input[name="insurance_group_number"]:not([type="hidden"]),
body input[name="insurance_sub_fname"]:not([type="hidden"]),
body input[name="insurance_sub_lname"]:not([type="hidden"]),
body input[name="insurance_sub_dob"]:not([type="hidden"]) {
    background: #ffffff !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    width: 100% !important;
    height: 46px !important;
    box-sizing: border-box !important;
}

/* 6. Mobile — ensure full width still holds */
@media (max-width: 768px) {
    body #kob-register-form .kob-row,
    body #kob-subscriber-fields .kob-row {
        display: block !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   FINAL LAYOUT — uniform widths + notice card + state/zip visibility
   Added: 20261105-080406
   ═══════════════════════════════════════════════════════════════════════ */

/* 1. All rows single-column, all fields full-width */
body #kob-register-form .kob-row,
body #kob-subscriber-fields .kob-row,
body #kob-register-form .kob-row.kob-row-3,
body #kob-register-form .kob-row.kob-row-4 {
    display: block !important;
    margin-bottom: 16px !important;
}
body #kob-register-form .kob-row > .kob-field,
body #kob-subscriber-fields .kob-row > .kob-field,
body #kob-register-form .kob-field.kob-full {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 14px !important;
    box-sizing: border-box !important;
}
body #kob-register-form .kob-row > .kob-field:last-child {
    margin-bottom: 0 !important;
}

/* 2. All inputs/selects full-width, matching insurance input size */
body #kob-register-form input[type="text"]:not([type="hidden"]),
body #kob-register-form input[type="email"]:not([type="hidden"]),
body #kob-register-form input[type="password"]:not([type="hidden"]),
body #kob-register-form input[type="tel"]:not([type="hidden"]),
body #kob-register-form input[type="date"]:not([type="hidden"]),
body #kob-register-form select,
body #kob-subscriber-fields input:not([type="hidden"]),
body #kob-subscriber-fields select {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 46px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
}

/* 3. STATE + ZIP visible (were 0x0) */
body #kob-register-form #kob-state-manual,
body #kob-register-form input[name="postal_code_manual"] {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* 4. Radio buttons stay inline */
body #kob-register-form .kob-radio-group input[type="radio"] {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
}

/* 5. White background on all insurance-named inputs */
body input[name="insurance_member_id"]:not([type="hidden"]),
body input[name="insurance_group_number"]:not([type="hidden"]),
body input[name="insurance_sub_fname"]:not([type="hidden"]),
body input[name="insurance_sub_lname"]:not([type="hidden"]),
body input[name="insurance_sub_dob"]:not([type="hidden"]) {
    background: #ffffff !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    width: 100% !important;
    height: 46px !important;
    box-sizing: border-box !important;
}

/* 6. Self-pay notice card — match exactly, applied to insurance step too */
body .kob-selfpay-notice {
    background: #f9fafb !important;
    border: 1.5px solid #111111 !important;
    border-radius: 10px !important;
    padding: 16px 20px !important;
    margin-bottom: 20px !important;
}
body .kob-selfpay-notice h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 0 6px !important;
    color: #111 !important;
}
body .kob-selfpay-notice p {
    font-size: 14px !important;
    color: #444 !important;
    margin: 0 0 6px !important;
    line-height: 1.4 !important;
}
body .kob-selfpay-notice .kob-selfpay-summary {
    font-size: 13px !important;
    color: #666 !important;
    margin-top: 8px !important;
}

@media (max-width: 640px) {
    body #kob-register-form .kob-row {
        display: block !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   FINAL LAYOUT — uniform widths + notice card + state/zip visibility
   Added: 20261105-080422
   ═══════════════════════════════════════════════════════════════════════ */

/* 1. All rows single-column, all fields full-width */
body #kob-register-form .kob-row,
body #kob-subscriber-fields .kob-row,
body #kob-register-form .kob-row.kob-row-3,
body #kob-register-form .kob-row.kob-row-4 {
    display: block !important;
    margin-bottom: 16px !important;
}
body #kob-register-form .kob-row > .kob-field,
body #kob-subscriber-fields .kob-row > .kob-field,
body #kob-register-form .kob-field.kob-full {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 14px !important;
    box-sizing: border-box !important;
}
body #kob-register-form .kob-row > .kob-field:last-child {
    margin-bottom: 0 !important;
}

/* 2. All inputs/selects full-width, matching insurance input size */
body #kob-register-form input[type="text"]:not([type="hidden"]),
body #kob-register-form input[type="email"]:not([type="hidden"]),
body #kob-register-form input[type="password"]:not([type="hidden"]),
body #kob-register-form input[type="tel"]:not([type="hidden"]),
body #kob-register-form input[type="date"]:not([type="hidden"]),
body #kob-register-form select,
body #kob-subscriber-fields input:not([type="hidden"]),
body #kob-subscriber-fields select {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 46px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
}

/* 3. STATE + ZIP visible (were 0x0) */
body #kob-register-form #kob-state-manual,
body #kob-register-form input[name="postal_code_manual"] {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* 4. Radio buttons stay inline */
body #kob-register-form .kob-radio-group input[type="radio"] {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
}

/* 5. White background on all insurance-named inputs */
body input[name="insurance_member_id"]:not([type="hidden"]),
body input[name="insurance_group_number"]:not([type="hidden"]),
body input[name="insurance_sub_fname"]:not([type="hidden"]),
body input[name="insurance_sub_lname"]:not([type="hidden"]),
body input[name="insurance_sub_dob"]:not([type="hidden"]) {
    background: #ffffff !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    width: 100% !important;
    height: 46px !important;
    box-sizing: border-box !important;
}

/* 6. Self-pay notice card — match exactly, applied to insurance step too */
body .kob-selfpay-notice {
    background: #f9fafb !important;
    border: 1.5px solid #111111 !important;
    border-radius: 10px !important;
    padding: 16px 20px !important;
    margin-bottom: 20px !important;
}
body .kob-selfpay-notice h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 0 6px !important;
    color: #111 !important;
}
body .kob-selfpay-notice p {
    font-size: 14px !important;
    color: #444 !important;
    margin: 0 0 6px !important;
    line-height: 1.4 !important;
}
body .kob-selfpay-notice .kob-selfpay-summary {
    font-size: 13px !important;
    color: #666 !important;
    margin-top: 8px !important;
}

@media (max-width: 640px) {
    body #kob-register-form .kob-row {
        display: block !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   BUGFIXES — state/zip 0x0, uniform widths, radio inline, file input,
              notice card green border
   Added: 20261105-080901
   ═══════════════════════════════════════════════════════════════════════ */

/* ── BUG 1: state_manual + postal_code_manual rendering at 0x0 ──
   The parent chain has zero width. Force every ancestor to full width. */
body #kob-manual-address,
body #kob-manual-address .kob-row,
body #kob-manual-address .kob-row.kob-row-3,
body #kob-manual-address .kob-row > .kob-field,
body #kob-register-form #kob-state-manual,
body #kob-register-form input[name="postal_code_manual"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    float: none !important;
    position: static !important;
}
body #kob-register-form #kob-state-manual,
body #kob-register-form input[name="postal_code_manual"] {
    height: 46px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
    border: 1.5px solid #111111 !important;
    border-radius: 10px !important;
}
body #kob-register-form .kob-manual-address .kob-row.kob-row-3 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    margin-bottom: 16px !important;
}

/* ── BUG 2: insurance fields 198px — force them wider via the row ──
   Insurance row currently splits into 2 columns at 198px each.
   Force .kob-row to be display:block (single column, full width). */
body #kob-register-form > .kob-row,
body #kob-register-form .kob-section-label ~ .kob-row,
body #kob-register-form .kob-section-label ~ .kob-field,
body #kob-register-form div.kob-row {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: unset !important;
    gap: 0 !important;
}
body #kob-register-form div.kob-row > .kob-field {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 14px !important;
}
body input[name="insurance_member_id"]:not([type="hidden"]),
body input[name="insurance_group_number"]:not([type="hidden"]),
body input[name="insurance_sub_fname"]:not([type="hidden"]),
body input[name="insurance_sub_lname"]:not([type="hidden"]),
body input[name="insurance_sub_dob"]:not([type="hidden"]) {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 46px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    border: 1.5px solid #111111 !important;
    border-radius: 10px !important;
}

/* ── BUG 3: notice card border — green instead of black ── */
body .kob-selfpay-notice {
    border: 1.5px solid #4a7a68 !important;
    border-color: #4a7a68 !important;
    background: #f9fafb !important;
    border-radius: 10px !important;
    padding: 16px 20px !important;
    margin-bottom: 20px !important;
}
body .kob-selfpay-notice h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 0 6px !important;
    color: #111 !important;
}
body .kob-selfpay-notice p {
    font-size: 14px !important;
    color: #444 !important;
    margin: 0 0 6px !important;
    line-height: 1.4 !important;
}
body .kob-selfpay-notice .kob-selfpay-summary {
    font-size: 13px !important;
    color: #666 !important;
    margin-top: 8px !important;
}

/* ── BUG 4: gender radio circles floating — force inline-flex ── */
body #kob-register-form .kob-radio-group {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    align-items: center !important;
    width: 100% !important;
}
body #kob-register-form .kob-radio {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-direction: row !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    vertical-align: middle !important;
}
body #kob-register-form .kob-radio input[type="radio"] {
    display: inline-block !important;
    margin: 0 !important;
    vertical-align: middle !important;
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    position: static !important;
}
body #kob-register-form .kob-radio span {
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: 1.4 !important;
    font-size: 15px !important;
}

/* ── BUG 5: file input — style native selector button + inline text ── */
body #kob-register-form input[type="file"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 46px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    color: #111 !important;
    background: #ffffff !important;
    border: 1.5px solid #111111 !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    line-height: 1.4 !important;
}
body #kob-register-form input[type="file"]::file-selector-button {
    display: inline-block !important;
    background: #111111 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 8px 14px !important;
    margin-right: 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    vertical-align: middle !important;
    transition: background 0.15s !important;
}
body #kob-register-form input[type="file"]::file-selector-button:hover {
    background: #4a7a68 !important;
}


/* ═══════════════════════════════════════════════════════════════════════
   FILE INPUT — white background, black border, inline selector button
   Added: 20261105-081141
   ═══════════════════════════════════════════════════════════════════════ */
body #kob-register-form input[type="file"] {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 46px !important;
    padding: 10px 16px !important;
    background: #ffffff !important;
    color: #111111 !important;
    border: 1.5px solid #111111 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    line-height: 1.4 !important;
}
body #kob-register-form input[type="file"]::file-selector-button {
    display: inline-block !important;
    background: #ffffff !important;
    color: #111111 !important;
    border: 1.5px solid #111111 !important;
    border-radius: 6px !important;
    padding: 8px 14px !important;
    margin-right: 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    vertical-align: middle !important;
}
body #kob-register-form input[type="file"]::file-selector-button:hover {
    background: #f9fafb !important;
}
body #kob-register-form input[type="file"]::-webkit-file-upload-button {
    background: #ffffff !important;
    color: #111111 !important;
    border: 1.5px solid #111111 !important;
    border-radius: 6px !important;
    padding: 8px 14px !important;
    margin-right: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}



/* ═══════════════════════════════════════════════════════════════════════
   STATE + ZIP — FORCE VISIBLE (override old "hide because Google fills"
   rules targeting nth-child(1)/nth-child(2) in .kob-row-3)
   Added: 20261105-081430
   ═══════════════════════════════════════════════════════════════════════ */

/* Show the .kob-field wrappers that were hidden by nth-child rules */
body #kob-register-form #kob-manual-address .kob-row.kob-row-3,
body #kob-register-form #kob-manual-address .kob-row.kob-row-3 > .kob-field,
body #kob-register-form #kob-manual-address .kob-row.kob-row-3 > .kob-field:nth-child(1),
body #kob-register-form #kob-manual-address .kob-row.kob-row-3 > .kob-field:nth-child(2),
body #kob-register-form #kob-manual-address .kob-row.kob-row-3 > .kob-field:nth-child(3) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
}

/* Show #kob-state-manual and #kob-city-manual (also hidden by old rules) */
body #kob-register-form #kob-manual-address #kob-city-manual,
body #kob-register-form #kob-manual-address input[name="city_manual"],
body #kob-register-form #kob-manual-address #kob-state-manual,
body #kob-register-form #kob-manual-address input[name="postal_code_manual"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: 46px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    color: #111111 !important;
    background: #ffffff !important;
    border: 1.5px solid #111111 !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
}

/* Ensure the parent manual block stays visible too */
body #kob-register-form #kob-manual-address {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
}

/* Fix the file input "black box" — the ::file-selector-button was showing
   system default in some browsers despite our styling. Force white bg with
   black border via appearance: none on Webkit */
body #kob-register-form input[type="file"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    background: #ffffff !important;
    color: #111111 !important;
    border: 1.5px solid #111111 !important;
    border-radius: 10px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}
body #kob-register-form input[type="file"]::-webkit-file-upload-button {
    -webkit-appearance: none !important;
    appearance: none !important;
    background: #ffffff !important;
    color: #111111 !important;
    border: 1.5px solid #111111 !important;
    border-radius: 6px !important;
    padding: 8px 14px !important;
    margin-right: 12px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    cursor: pointer !important;
}
body #kob-register-form input[type="file"]::file-selector-button {
    background: #ffffff !important;
    color: #111111 !important;
    border: 1.5px solid #111111 !important;
    border-radius: 6px !important;
    padding: 8px 14px !important;
    margin-right: 12px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    cursor: pointer !important;
}



/* ═══════════════════════════════════════════════════════════════════════
   STATE + ZIP — FORCE VISIBLE (override old "hide because Google fills"
   rules targeting nth-child(1)/nth-child(2) in .kob-row-3)
   Added: 20261105-081434
   ═══════════════════════════════════════════════════════════════════════ */

/* Show the .kob-field wrappers that were hidden by nth-child rules */
body #kob-register-form #kob-manual-address .kob-row.kob-row-3,
body #kob-register-form #kob-manual-address .kob-row.kob-row-3 > .kob-field,
body #kob-register-form #kob-manual-address .kob-row.kob-row-3 > .kob-field:nth-child(1),
body #kob-register-form #kob-manual-address .kob-row.kob-row-3 > .kob-field:nth-child(2),
body #kob-register-form #kob-manual-address .kob-row.kob-row-3 > .kob-field:nth-child(3) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
}

/* Show #kob-state-manual and #kob-city-manual (also hidden by old rules) */
body #kob-register-form #kob-manual-address #kob-city-manual,
body #kob-register-form #kob-manual-address input[name="city_manual"],
body #kob-register-form #kob-manual-address #kob-state-manual,
body #kob-register-form #kob-manual-address input[name="postal_code_manual"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: 46px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    color: #111111 !important;
    background: #ffffff !important;
    border: 1.5px solid #111111 !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
}

/* Ensure the parent manual block stays visible too */
body #kob-register-form #kob-manual-address {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
}

/* Fix the file input "black box" — the ::file-selector-button was showing
   system default in some browsers despite our styling. Force white bg with
   black border via appearance: none on Webkit */
body #kob-register-form input[type="file"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    background: #ffffff !important;
    color: #111111 !important;
    border: 1.5px solid #111111 !important;
    border-radius: 10px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}
body #kob-register-form input[type="file"]::-webkit-file-upload-button {
    -webkit-appearance: none !important;
    appearance: none !important;
    background: #ffffff !important;
    color: #111111 !important;
    border: 1.5px solid #111111 !important;
    border-radius: 6px !important;
    padding: 8px 14px !important;
    margin-right: 12px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    cursor: pointer !important;
}
body #kob-register-form input[type="file"]::file-selector-button {
    background: #ffffff !important;
    color: #111111 !important;
    border: 1.5px solid #111111 !important;
    border-radius: 6px !important;
    padding: 8px 14px !important;
    margin-right: 12px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    cursor: pointer !important;
}



/* ═══════════════════════════════════════════════════════════════════════
   NOTICE CARD — bolder green border + left accent
   Replaces previous 1.5px black border on .kob-selfpay-notice
   Added: 20261105-082747
   ═══════════════════════════════════════════════════════════════════════ */
body .kob-selfpay-notice,
body .login-register-panel[data-kob-stage="insurance"] .kob-selfpay-notice {
    background: #ffffff !important;
    border: 2px solid #3d6b5a !important;
    border-left: 4px solid #3d6b5a !important;
    border-radius: 10px 12px 12px 10px !important;
    padding: 18px 22px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 1px 3px rgba(61, 107, 90, 0.08) !important;
}
body .kob-selfpay-notice h3,
body .login-register-panel[data-kob-stage="insurance"] .kob-selfpay-notice h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 0 6px !important;
    color: #111 !important;
    letter-spacing: -0.01em !important;
}
body .kob-selfpay-notice p,
body .login-register-panel[data-kob-stage="insurance"] .kob-selfpay-notice p {
    font-size: 14px !important;
    color: #444 !important;
    margin: 0 0 6px !important;
    line-height: 1.5 !important;
}
body .kob-selfpay-notice .kob-selfpay-summary,
body .login-register-panel[data-kob-stage="insurance"] .kob-selfpay-notice .kob-selfpay-summary {
    font-size: 13px !important;
    color: #3d6b5a !important;
    font-weight: 600 !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
}

/* Mobile: reduce padding, keep border visible */
@media (max-width: 640px) {
    body .kob-selfpay-notice {
        padding: 14px 16px !important;
        border-left-width: 4px !important;
    }
}

