/* ==========================================================================
   USOF New Form theme — royal blue
   Loaded after style.css; overrides tokens and styles the Start Filing flow.
   ========================================================================== */

:root {
    --usof-primary: #4267D9;
    --usof-primary-dark: #3556C0;
    --usof-primary-soft: #EDF3FC;
    --usof-navy: #0F4A85;
    --usof-ink: #1B2A41;
    --usof-muted: #5B6B82;
    --usof-line: #D9E0EA;
    --usof-green: #1BB262;
    --usof-danger: #E5484D;

    /* Re-point legacy tokens so every page picks up the new palette */
    --primary-color: var(--usof-primary);
    --secondary-color: var(--usof-navy);
    --success-color: var(--usof-primary);
    --footer-border: rgba(66, 103, 217, 0.45);
    --brand-cyan: var(--usof-primary);
    --brand-cyan-dark: var(--usof-primary-dark);
    --brand-blue-dark: var(--usof-navy);
    --page-bg: #FFFFFF;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #fff;
    color: var(--usof-ink);
}

/* ---------- Header ---------- */
.site-header {
    padding: 12px 0;
    box-shadow: 0 1px 0 rgba(15, 74, 133, 0.06);
}
.header-logo img { height: 52px; width: auto; }
.header-nav a { color: #111827; font-size: 15px; font-weight: 500; }
.header-nav a:hover,
.header-nav a.active { color: var(--usof-primary); }
.header-nav ul { gap: 34px; }
.header-actions .btn-success,
.btn-success {
    background-color: var(--usof-primary);
    color: #fff;
    border-radius: 6px;
}
.header-actions .btn-success { padding: 14px 28px; font-size: 15px; font-weight: 500; }
.btn-success:hover { background-color: var(--usof-primary-dark); filter: none; }
.btn-light {
    background: #fff;
    color: var(--usof-primary);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
}
.btn-light:hover { background: #F3F6FF; transform: translateY(-1px); }

/* ---------- Page hero banner ---------- */
.usof-hero,
.page-hero {
    background: linear-gradient(180deg, #5274DE 0%, #4267D9 100%);
    color: #fff;
    text-align: center;
    padding: 72px 0;
}
.usof-hero-title { font-size: 36px; font-weight: 600; margin: 0 0 14px; line-height: 1.2; }
.usof-breadcrumb { font-size: 16px; }
.usof-breadcrumb a { color: #fff; text-decoration: none; }
.usof-breadcrumb a:hover { text-decoration: underline; }

/* ---------- Section + card ---------- */
.usof-section { padding: 80px 0; background: #fff; }
.usof-wrap { max-width: 800px; margin: 0 auto; padding: 0 20px; }

.filing-shell,
.status-shell,
.status-result,
.status-result-card,
.organization-search-card,
.usof-card,
.filing-form-card,
.status-box {
    position: relative;
    background-color: #edf4ff;
    border: 1px solid #4770ef;
    border-radius: 29px;
    box-shadow: none;
    padding: 79px 58px 57px;
    width: min(100%, 780px);
    margin: 0 auto;
    scroll-margin-top: 100px;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .filing-shell,
    .status-shell,
    .status-result,
    .status-result-card,
    .organization-search-card,
    .usof-card,
    .filing-form-card,
    .status-box {
        padding: 58px 38px 42px;
    }
}

@media (max-width: 620px) {
    .filing-shell,
    .status-shell,
    .status-result,
    .status-result-card,
    .organization-search-card,
    .usof-card,
    .filing-form-card,
    .status-box {
        padding: 39px 16px 28px;
        border-radius: 21px;
    }
}
.usof-card--center { text-align: center; }
.usof-icon { display: flex; justify-content: center; margin-bottom: 28px; }
.usof-card-title,
.status-check-heading {
    color: var(--usof-navy);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    margin: 0 0 24px;
}
.usof-card-text,
.status-description,
.status-box .hero-subtext {
    color: #000;
    font-size: 16px;
    line-height: 1.55;
    text-align: center;
    margin: 0 auto 28px;
}
.status-heading-danger { color: var(--usof-navy); }
.status-business-info p.status-due-line { color: var(--usof-danger); }
.status-divider { border-top: 1px solid var(--usof-navy); opacity: .7; margin: 32px 0; }
.status-business-info .status-business-name,
.support-heading { color: var(--usof-navy); font-weight: 600; font-size: 22px; }
.status-business-info p { margin: 0 0 8px; }
.status-box .btn-success { padding: 15px 28px; font-size: 16px; }

/* ---------- Search bar ---------- */
.start-filing-search-wrap { max-width: 640px; margin: 0 auto; text-align: left; }
.usof-search-bar,
.status-search-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--usof-line);
    border-radius: 10px;
    padding: 12px 14px 12px 20px;
}
.usof-search-bar:focus-within { border-color: var(--usof-primary); box-shadow: 0 0 0 3px rgba(66, 103, 217, .15); }
.start-filing-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: var(--usof-ink);
    padding: 6px 0;
    min-width: 0;
    text-align: left;
    font-family: inherit;
}
.start-filing-input::placeholder { color: #555; }
.usof-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--usof-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 22px;
    font-size: 16px;
    cursor: pointer;
    transition: background .2s ease;
}
.usof-search-btn:hover { background: var(--usof-primary-dark); }
.usof-search-btn:disabled { opacity: .7; cursor: wait; }

.usof-loading { margin-top: 20px; text-align: center; }
.usof-loading-text { font-size: 14px; color: var(--usof-muted); margin-bottom: 10px; font-weight: 500; }
.usof-loading-track { height: 4px; background: #D6E0F7; border-radius: 4px; overflow: hidden; position: relative; }
.usof-loading-bar {
    position: absolute; top: 0; bottom: 0;
    background: var(--usof-primary); border-radius: 4px;
    animation: indeterminateBar 1.5s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
}
@keyframes indeterminateBar {
    0% { left: -35%; right: 100%; }
    60% { left: 100%; right: -90%; }
    100% { left: 100%; right: -90%; }
}

.start-filing-results-container { margin-top: 24px; text-align: left; }
.start-filing-notice {
    background: #fff;
    border: 1px solid #C9D6F5;
    color: var(--usof-navy);
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 13.5px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    text-align: center;
    margin-bottom: 14px;
}
.start-filing-notice i { color: var(--usof-primary); font-size: 16px; flex-shrink: 0; }
.usof-results-list { display: flex; flex-direction: column; gap: 8px; }
.start-filing-result-item {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 20px;
    border: 1px solid var(--usof-line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: all .2s ease;
}
.start-filing-result-item:hover {
    border-color: var(--usof-primary);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(66, 103, 217, .15);
}
.usof-result-main { flex: 1; text-align: left; }
.result-company-name { font-size: 15px; font-weight: 600; color: var(--usof-navy); margin-bottom: 4px; }
.result-company-meta { font-size: 13px; color: var(--usof-muted); display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.usof-dot { color: #B8C4DA; }
.sos-status-pill { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 9999px; text-transform: uppercase; letter-spacing: .04em; }
.sos-status-active { background: #DCFCE7; color: #15803D; }
.sos-status-inactive { background: #FEE2E2; color: #B91C1C; }
.btn-select-entity {
    background: var(--usof-primary); color: #fff; border: none; border-radius: 6px;
    padding: 9px 16px; font-size: 13px; font-weight: 500;
    display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; cursor: pointer;
    transition: background .2s ease;
}
.start-filing-result-item:hover .btn-select-entity { background: var(--usof-primary-dark); }

.usof-empty { text-align: center; padding: 26px 20px; background: #fff; border: 1px dashed #B8C4DA; border-radius: 10px; margin-top: 20px; }
.usof-empty i { font-size: 30px; color: #8FA3CC; margin-bottom: 8px; display: inline-block; }
.usof-empty-title { font-size: 15px; font-weight: 700; color: var(--usof-navy); }
.usof-empty p { font-size: 13.5px; color: var(--usof-muted); margin: 4px 0 0; }
.usof-manual { margin-top: 22px; text-align: center; }
.usof-data-notice { color: var(--usof-muted); font-size: 13px; line-height: 1.6; text-align: center; margin: 22px 0 0; }

/* ---------- Links ---------- */
.usof-link,
.btn-link {
    background: none; border: none; padding: 0;
    color: var(--usof-primary);
    font-size: 14px; font-weight: 500;
    cursor: pointer; text-decoration: none;
    font-family: inherit;
}
.usof-link:hover { text-decoration: underline; color: var(--usof-primary-dark); }

/* ---------- Review panels ("tables") ---------- */
.usof-panel {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}
.usof-panel-head {
    background: var(--usof-primary);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 20px;
}
.usof-panel-body { padding: 4px 20px 14px; }
.usof-panel-foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 0 4px; }
.usof-panel-foot .usof-link { font-size: 17px; }

.usof-row {
    display: grid;
    grid-template-columns: 1fr 1.4fr auto;
    align-items: center;
    column-gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--usof-line);
    min-height: 52px;
}
.usof-row:last-child { border-bottom: none; }
.usof-row-label { font-size: 16px; color: #000; }
.usof-row-value { font-size: 16px; color: #000; min-width: 0; }
.usof-row-action { justify-self: end; }
.usof-static { display: block; line-height: 1.45; }

/* Inputs */
.form-input-field {
    border: 1px solid var(--usof-line);
    border-radius: 8px;
    padding: 12px 14px;
    background: #fff;
    color: #000;
    font-size: 15px;
}
.form-input-field::placeholder { color: #6B7A90; opacity: 1; }
.form-input-field:focus { border-color: var(--usof-primary); box-shadow: 0 0 0 3px rgba(66, 103, 217, .15); outline: none; }
.form-input-field.error { border-color: var(--usof-danger); background: #FFF7F7; }
select.form-input-field {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234267D9' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}
/* Locked values read as plain table text */
.usof-row .form-input-field:disabled {
    background: transparent;
    border-color: transparent;
    padding-left: 0;
    color: #000;
    opacity: 1;
    -webkit-text-fill-color: #000;
}
.form-input-icon { color: var(--usof-primary); }
.form-label { color: #000; font-size: 16px; font-weight: 400; }
.usof-field { padding: 12px 0 4px; border-top: 1px solid var(--usof-line); gap: 8px; }
.usof-field:first-child { border-top: none; }
.usof-panel-body .form-section-desc { color: #000; font-size: 15px; line-height: 1.55; margin: 14px 0 12px; }
.usof-muted { color: var(--usof-muted); font-size: 14px; padding: 14px 0; }
.usof-hint { padding: 0; margin: 4px 0 0; font-size: 13px; }

.usof-suggest {
    background: #fff; border: 1px solid var(--usof-line); border-radius: 8px;
    margin-top: 6px; box-shadow: 0 8px 20px rgba(15, 74, 133, .12);
    max-height: 200px; overflow-y: auto;
}
.usof-suggest .f-search-option {
    width: 100%; text-align: left; padding: 10px 12px; border: none; background: none;
    border-bottom: 1px solid #EEF1F6; cursor: pointer; font-size: 13px; font-family: inherit;
}
.usof-suggest .f-search-option:hover { background: var(--usof-primary-soft); }

/* Officers */
.officer-list { gap: 0; margin: 0; }
.officer-card {
    display: grid;
    grid-template-columns: 1fr 1.4fr auto;
    align-items: center;
    column-gap: 20px;
    background: transparent;
    border-left: none;
    border-bottom: 1px solid var(--usof-line);
    border-radius: 0;
    padding: 14px 0;
}
.officer-name { color: #000; font-size: 16px; font-weight: 400; margin: 0 0 2px; }
.officer-meta { color: #333; font-size: 13px; }
.officer-address { color: #000; font-size: 15px; line-height: 1.45; }
.officer-actions { gap: 14px; }
.add-officer-link { margin-top: 0; }
.usof-pager { display: flex; gap: 14px; }
.usof-pager button { background: none; border: none; color: var(--usof-primary); font-size: 16px; cursor: pointer; padding: 0; font-family: inherit; opacity: .75; }
.usof-pager button.is-active { opacity: 1; font-weight: 700; text-decoration: underline; }

.officer-form-panel { background: var(--usof-primary-soft); border-radius: 10px; padding: 18px; margin: 14px 0 6px; }
.officer-form-title { color: var(--usof-navy); font-size: 17px; font-weight: 600; margin: 0 0 16px; }

/* Checkout */
.checkout-amount { font-size: 28px; font-weight: 600; color: var(--usof-navy); margin: 14px 0 4px; }
.checkout-note { font-size: 14px; color: var(--usof-muted); padding-bottom: 6px; }

/* Footer nav */
.form-card-footer { margin-top: 24px; }
.step-indicator { color: var(--usof-primary); font-size: 20px; font-weight: 500; }
.btn-next { padding: 12px 24px; font-size: 16px; border-radius: 6px; gap: 10px; }
.btn-prev { color: var(--usof-navy); font-size: 16px; font-weight: 500; }
.footer-nav-btns { gap: 24px; }

/* Selected-business banner + alerts */
.verified-entity-card {
    background: #fff; border: 1px solid #C9D6F5; border-radius: 12px;
    padding: 14px 18px; margin-bottom: 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.verified-entity-title { font-size: 12px; font-weight: 700; color: var(--usof-green); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.verified-entity-name { font-size: 18px; font-weight: 600; color: var(--usof-navy); margin: 0; }
.btn-change-entity {
    background: #fff; border: 1px solid var(--usof-primary); color: var(--usof-primary);
    border-radius: 6px; padding: 8px 14px; font-size: 13px; font-weight: 500; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px; transition: all .2s ease;
}
.btn-change-entity:hover { background: var(--usof-primary); color: #fff; }
.usof-alert {
    background: #FFF6E0; border: 1px solid #F2B84B; border-radius: 10px;
    padding: 14px 18px; margin-bottom: 18px; display: flex; align-items: flex-start; gap: 12px;
}
.usof-alert i { color: #D97706; font-size: 18px; margin-top: 2px; }
.usof-alert strong { display: block; color: #92400E; margin-bottom: 4px; }
.usof-alert span { color: #78350F; font-size: 14px; }
.usof-overlay {
    position: absolute; inset: -10px; z-index: 50; border-radius: 12px;
    background: rgba(237, 243, 252, .88);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    color: var(--usof-primary); font-weight: 600; font-size: 15px;
}
.usof-overlay i { font-size: 2rem; }

.usof-success { text-align: center; padding: 40px 10px; }
.usof-success-icon {
    width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 50%;
    background: var(--usof-green); color: #fff; font-size: 36px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 30px rgba(27, 178, 98, .3);
}

/* ---------- Status badge on result pages ---------- */
.status-box { text-align: center; }
.status-badge { margin-bottom: 20px; }

/* ---------- Support CTA band (Bryan's design) ---------- */
.support-cta-section {
    background: url('assets/Call\ Us.png') center / cover no-repeat;
    color: #fff;
    padding: 73px 0;
}
.support-cta-container {
    padding: 0 20px;
}
.support-cta-headline {
    line-height: 1.25;
    margin-bottom: 30px;
    font-size: 34px;
    font-weight: 600;
}
.support-cta-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 35px;
    opacity: 0.9;
}
.support-cta-highlight,
.support-highlight {
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 40px;
}
.support-cta-section .btn-success,
.support-cta-section .call-button {
    background-color: #FFFFFF !important;
    color: #3C62D8 !important;
    border: none !important;
}
.support-cta-section .btn-success:hover,
.support-cta-section .call-button:hover {
    background-color: #FFFFFF !important;
    color: #3C62D8 !important;
}
.desktop-only {
    display: inline;
}

/* ---------- Footer accents ---------- */
.footer-top-border { background: var(--usof-primary); }

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .usof-hero, .page-hero { padding: 48px 0; }
    .usof-hero-title { font-size: 28px; }
    .usof-section { padding: 40px 0; }
    .usof-card, .filing-form-card, .status-box { padding: 28px 18px; border-radius: 24px; }
    .usof-card-title, .status-check-heading { font-size: 24px; }
    .usof-row, .officer-card { grid-template-columns: 1fr; row-gap: 6px; }
    .usof-row-action, .officer-actions { justify-self: start; }
    .usof-search-bar { flex-wrap: wrap; }
    .usof-search-btn { width: 100%; justify-content: center; }
    .start-filing-result-item { flex-direction: column; align-items: flex-start; }
    .btn-select-entity { width: 100%; justify-content: center; }
    .officer-form-row { grid-template-columns: 1fr; }
    .header-logo img { height: 40px; }
    .support-cta-headline { font-size: 24px; }
    .support-cta-section { padding: 56px 0; }
    .desktop-only { display: none !important; }
}

/* ==========================================================================
   Bryne Final Design Extensions — Start Filing & Status Flow
   ========================================================================== */
.filing-page { color: #151515; background: #fff; }
.filing-hero { min-height: 235px; padding: 81px 0 70px; display: flex; align-items: center; justify-content: center; background: #3f63d6; }
.filing-section { padding: 79px 20px 78px; background: #fff; }

.filing-intro { text-align: center; margin-bottom: 42px; }
.filing-intro h2 { margin: 0 0 31px; color: #074781; font-size: 32px; line-height: 1.2; font-weight: 500; }
.filing-intro p { margin: 0 auto; font-size: 18px; line-height: 1.28; color: #151515; }

.filing-wizard, .form-step { width: 100%; }
.form-step { display: none; }
.form-step.active { display: block; }
.form-step[hidden] { display: none !important; }
.form-panel { overflow: hidden; margin-bottom: 17px; border-radius: 10px; background: #fff; }
.panel-heading { margin: 0; padding: 10px 20px; color: #fff; background: #3f66dc; font-size: 20px; line-height: 1.2; font-weight: 400; }

.business-summary { margin: 0; padding: 0 20px; }
.business-summary > div { display: grid; grid-template-columns: 38% 1fr auto; align-items: center; gap: 14px; border-bottom: 1px solid #ddd; padding-block: 15px; }
.business-summary > div:last-child { border: 0; }
.business-summary dt, .business-summary dd { margin: 0; font-size: 16px; line-height: 1.18; }
.business-summary .row-action button,
.officer-actions button,
.officer-tools button { padding: 0; border: 0; color: #315edc; background: transparent; font: inherit; cursor: pointer; }
.business-summary .row-action { justify-self: end; }

.wizard-footer { min-height: 47px; display: flex; align-items: flex-end; justify-content: space-between; margin-top: 20px; }
.step-indicator { color: #315edc; font-size: 18px; }
.wizard-actions { display: flex; align-items: center; gap: 27px; }
.wizard-next, .wizard-prev { min-height: 42px; border: 0; font: inherit; font-size: 16px; cursor: pointer; }
.wizard-next { min-width: 122px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 8px 20px; border-radius: 6px; color: #fff; background: #3c62d8; }
.wizard-next:hover { background: #3053bf; color: #fff; }
.wizard-next:disabled { opacity: 0.6; cursor: wait; }
.wizard-next span { font-size: 25px; line-height: 0; }
.wizard-prev { padding: 8px 0; color: #06467f; background: transparent; }
.wizard-prev:hover { text-decoration: underline; }

.officer-list { margin: 0; padding: 0 20px; display: block; }
.officer-row { min-height: 62px; display: grid; grid-template-columns: 1.25fr 1.25fr auto; align-items: center; gap: 18px; border-bottom: 1px solid #ddd; padding-block: 15px; }
.officer-row strong { display: block; font-size: 16px; line-height: 1.3; font-weight: 500; }
.officer-row span { display: block; font-size: 14px; line-height: 1.3; }
.officer-row address { font-size: 16px; line-height: 1.3; font-style: normal; }
.officer-actions { display: flex; gap: 13px; align-items: center; }
.officer-tools { display: flex; align-items: center; justify-content: space-between; padding: 25px 20px; }
.officer-tools > button { font-size: 18px; }
.officer-tools nav { display: flex; gap: 14px; }
.officer-tools nav button { font-size: 16px; }

.field-panel { padding-bottom: 15px; }
.field-panel label { display: block; margin: 15px 20px 0; font-size: 16px; line-height: 1.35; }
.field-panel select, .field-panel input { width: 100%; min-height: 42px; margin-top: 15px; padding: 9px 15px; border: 1px solid #ddd; border-radius: 9px; color: #222; background: #fff; font: inherit; font-size: 14px; }
.field-panel select:focus, .field-panel input:focus { border-color: #3f66dc; outline: none; }
.field-panel label + label { padding-top: 15px; border-top: 1px solid #ddd; }

.compact-panel { padding-bottom: 15px; }
.legal-copy { margin: 13px 18px 11px; font-size: 16px; line-height: 1.35; }
.compact-panel > select { width: calc(100% - 36px); margin: 0 18px; }

.checkout-panel { padding-bottom: 25px; }
.checkout-panel strong, .checkout-panel span { display: block; margin-left: 18px; }
.checkout-panel strong { margin-top: 24px; color: #3564df; font-size: 34px; font-weight: 500; }
.checkout-panel span { margin-top: 3px; font-size: 14px; font-weight: 500; }

#step-2 .wizard-footer, #step-3 .wizard-footer { margin-top: 10px; }

@media (max-width: 620px) {
    .wizard-actions { gap: 16px; }
    .wizard-next { min-width: 104px; }
}

/* Status result layout */
.status-result { max-width: 780px; text-align: center; }
.status-badge { display: inline-flex; margin-bottom: 24px; }
.status-result-heading { font-size: 30px; font-weight: 700; color: #073f7b; margin-bottom: 20px; line-height: 1.25; }
.status-heading-danger { color: #EF6C6C !important; }
.status-divider { border: none; border-top: 1px solid rgba(7, 63, 123, 0.18); margin: 32px 0; }
.status-business-info p { font-size: 16px; line-height: 1.6; color: #151515; margin: 0 0 12px 0; }
.status-business-info p:last-child { margin-bottom: 0; }
.status-business-info .status-business-name { color: #074781; font-weight: 600; font-size: 18px; }
.status-business-info p.status-due-line { color: #EF6C6C; font-weight: 600; }
.status-search-form { max-width: 640px; margin: 36px auto 0; text-align: left; }
.status-search-wrapper { position: relative; }
.status-search-btn { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #3c62d8; color: #fff; border: 0; border-radius: 8px; cursor: pointer; }
.status-search-btn:hover { background: #3053bf; }

/* Organization search card */
.organization-search-card {
    padding: 64px 58px 58px;
    background-color: #edf4ff;
    border: 1px solid #4770ef;
    border-radius: 29px;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}
.organization-search-icon { display: block; width: 90px; height: 90px; margin: 0 auto 30px; }
.organization-search-card h2 { margin: 0 0 24px; color: #073f7b; font-size: 32px; line-height: 1.22; font-weight: 600; }
.organization-search-card p { max-width: 650px; margin: 0 auto; color: #151515; font-size: 16px; line-height: 1.45; }
.organization-search-form {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 32px;
    padding: 8px 10px 8px 18px;
    background: #fff;
    border: 1px solid #bfdbff;
    border-radius: 12px;
}
.organization-search-form input {
    min-width: 0;
    flex: 1;
    padding: 8px 10px 8px 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #151515;
    font: inherit;
    font-size: 16px;
}
.organization-search-form input::placeholder { color: #616161; opacity: 1; }
.organization-search-form .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    background-color: #3c62d8;
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
    flex-shrink: 0;
}
.organization-search-form .btn:hover { background-color: #3053bf; }

/* ==========================================================================
   Modern Officer Modal Dialog
   ========================================================================== */
.officer-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.officer-modal-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 520px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: officerModalScale 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes officerModalScale {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(6px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.officer-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 22px 24px 18px;
    border-bottom: 1px solid #f1f5f9;
}

.officer-modal-title {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: #074781;
    line-height: 1.3;
}

.officer-modal-subtitle {
    margin: 4px 0 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}

.officer-modal-close {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.officer-modal-close:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.officer-modal-body {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #ffffff;
}

.officer-modal-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.officer-modal-label {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.officer-modal-input,
.officer-modal-select {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    background: #ffffff;
    color: #0f172a;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.officer-modal-input:focus,
.officer-modal-select:focus {
    border-color: #3c62d8;
    box-shadow: 0 0 0 3px rgba(60, 98, 216, 0.15);
    outline: none;
}

.officer-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.officer-modal-grid.single-col {
    grid-template-columns: 1fr;
}

@media (max-width: 540px) {
    .officer-modal-grid {
        grid-template-columns: 1fr;
    }
}

.officer-modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
    padding: 16px 24px 20px;
    border-top: 1px solid #f1f5f9;
    background: #fafbfc;
}

.officer-modal-btn-cancel {
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.officer-modal-btn-cancel:hover {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #94a3b8;
}

.officer-modal-btn-save {
    padding: 9px 22px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: #3c62d8;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 2px 6px rgba(60, 98, 216, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.officer-modal-btn-save:hover {
    background: #2d4ec2;
    box-shadow: 0 4px 12px rgba(60, 98, 216, 0.35);
}
