.bp-simulator-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 20px 80px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1E293B;
}

/* Fluid Entrance Animations */
.bp-animated-enter {
    animation: bpSlideFadeUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes bpSlideFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bp-bounce-float {
    animation: bpFloat 3.5s ease-in-out infinite;
}

@keyframes bpFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.bp-pulse-gold {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFC300;
    box-shadow: 0 0 0 3px rgba(255, 195, 0, 0.25);
    animation: bpPulseGlow 2s infinite;
    margin-right: 6px;
}

@keyframes bpPulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(255, 195, 0, 0.7); }
    70% { box-shadow: 0 0 0 7px rgba(255, 195, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 195, 0, 0); }
}

/* ================= HERO HEADER ================= */
.bp-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #071322 0%, #0B1F3A 65%, #102B50 100%);
    border-radius: 18px;
    padding: 36px 40px;
    color: #ffffff;
    margin-bottom: 28px;
    box-shadow: 0 16px 36px rgba(11, 31, 58, 0.12);
    border: 1px solid rgba(255, 195, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.bp-hero::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 195, 0, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

@media (max-width: 768px) {
    .bp-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 26px 20px;
    }
}

.bp-eyebrow {
    display: inline-flex;
    align-items: center;
    color: #FFC300;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.bp-hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.8rem, 3.2vw, 2.3rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 1.2;
}

.bp-gold-text {
    color: #FFC300;
}

.bp-hero-desc {
    font-size: 0.96rem;
    color: #CBD5E1;
    max-width: 720px;
    margin: 0;
    line-height: 1.55;
}

.bp-hero-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 195, 0, 0.3);
    padding: 12px 20px;
    border-radius: 14px;
    backdrop-filter: blur(8px);
    flex-shrink: 0;
}

.bp-badge-text {
    color: #FFC300;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.bp-hero-badge small {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.4;
}

/* ================= 2-COLUMN WORKSPACE ================= */
.bp-workspace-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 24px;
    align-items: flex-start;
}

@media (max-width: 1024px) {
    .bp-workspace-grid {
        grid-template-columns: 1fr;
    }
}

.bp-panel {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(11, 31, 58, 0.04);
}

.bp-input-panel {
    padding: 28px;
}

.bp-results-panel {
    padding: 24px;
}

.bp-sticky-inner {
    position: sticky;
    top: 24px;
}

/* ================= FORM STYLING ================= */
.bp-form-group {
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid #F1F5F9;
}

.bp-form-group:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 8px;
}

.bp-group-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.bp-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.bp-step-num {
    width: 24px;
    height: 24px;
    background: #0B1F3A;
    color: #FFC300;
    font-size: 0.78rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bp-group-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0B1F3A;
    margin: 0;
}

.bp-opt-tag {
    font-size: 0.75rem;
    color: #64748B;
    font-weight: 500;
}

.bp-badge-digits {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    background: #EFF6FF;
    color: #2563EB;
    transition: all 0.2s ease;
}

/* ================= DYNAMIC TRADE CORRIDOR BAR ================= */
.bp-corridor-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 14px;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(11, 31, 58, 0.03);
    transition: all 0.25s ease;
}

.bp-corridor-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.bp-cp-flag {
    font-size: 1.6rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bp-corridor-pill:hover .bp-cp-flag {
    transform: scale(1.15);
}

.bp-cp-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bp-cp-role {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748B;
}

.bp-cp-name {
    font-size: 0.85rem;
    color: #0B1F3A;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bp-corridor-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0B1F3A;
    color: #FFC300;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 2px 8px rgba(11, 31, 58, 0.2);
}

.bp-ca-pulse {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid #FFC300;
    opacity: 0.5;
    animation: bpArrowPulse 2s infinite ease-out;
}

@keyframes bpArrowPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* Lane Grid */
.bp-lane-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 600px) {
    .bp-lane-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= IMAGE 3 FINDER CARD & DIRECTION SECTION ================= */
.bp-finder-card-title {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    color: #071E3D;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.bp-dir-section {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.bp-dir-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #071E3D;
}

.bp-dir-options {
    display: flex;
    align-items: center;
    gap: 24px;
}

.bp-radio-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #1E293B;
    user-select: none;
}

.bp-radio-item input[type="radio"] {
    width: 19px;
    height: 19px;
    accent-color: #071E3D;
    cursor: pointer;
    margin: 0;
}

.bp-radio-text {
    font-size: 0.98rem;
    font-weight: 500;
    color: #1E293B;
}

/* ================= CORRIDOR LANES & UPDATE NOTE ================= */
.bp-lane-section {
    margin-bottom: 8px;
}

.bp-lane-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 640px) {
    .bp-lane-grid {
        grid-template-columns: 1fr;
    }
}

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

.bp-lane-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #071E3D;
    margin-bottom: 2px;
}

.bp-update-note {
    font-size: 0.88rem;
    color: #64748B;
    margin: 12px 0 20px 0;
    line-height: 1.45;
}

/* ================= RECTANGULAR FLAG IMAGES (IMAGE 2 STYLE) ================= */
.bp-flag-img {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    image-rendering: -webkit-optimize-contrast;
}

.bp-radar-flag-img {
    width: 38px;
    height: 25px;
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.bp-flag-fallback {
    display: inline-block;
    font-size: 1.1rem;
    line-height: 1;
}

/* ================= CUSTOM FLAG DROPDOWN (IMAGE 2 REPLICA) ================= */
.bp-csd {
    position: relative;
    outline: none;
    user-select: none;
}

.bp-csd-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    height: 48px;
    background: #FFFFFF;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

.bp-csd:focus .bp-csd-trigger,
.bp-csd.is-open .bp-csd-trigger {
    border-color: #071E3D;
    box-shadow: 0 0 0 3px rgba(7, 30, 61, 0.1);
}

.bp-csd-flag {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.bp-csd-label {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bp-csd-arrow {
    font-size: 0.8rem;
    color: #6B7280;
    transition: transform 0.18s ease;
    flex-shrink: 0;
}

.bp-csd.is-open .bp-csd-arrow {
    transform: rotate(180deg);
}

.bp-csd-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    z-index: 900;
    max-height: 320px;
    overflow-y: auto;
    list-style: none;
    padding: 4px 0;
    margin: 0;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.bp-csd.is-open .bp-csd-list {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.bp-csd-list::-webkit-scrollbar {
    width: 6px;
}
.bp-csd-list::-webkit-scrollbar-track {
    background: #F8FAFC;
}
.bp-csd-list::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 3px;
}
.bp-csd-list::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

.bp-csd-group-label {
    padding: 8px 14px 4px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6B7280;
    background: #FAFAFA;
    cursor: default;
    pointer-events: none;
    border-top: 1px solid #F3F4F6;
    border-bottom: 1px solid #F3F4F6;
    margin: 4px 0 2px;
}

.bp-csd-group-label:first-child {
    border-top: none;
    margin-top: 0;
}

.bp-csd-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    cursor: pointer;
    transition: background 0.12s ease;
}

.bp-csd-item:hover,
.bp-csd-item.is-focused {
    background: #F3F4F6;
}

.bp-csd-item.is-selected {
    background: #EFF6FF;
}

.bp-csd-item.is-selected::after {
    content: '✓';
    margin-left: auto;
    font-size: 0.82rem;
    font-weight: 800;
    color: #2563EB;
}

.bp-csd-item-flag {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.bp-csd-item-name {
    font-size: 0.92rem;
    color: #111827;
    font-weight: 400;
}

.bp-csd-item.is-selected .bp-csd-item-name {
    color: #1D4ED8;
    font-weight: 600;
}

/* ================= PRODUCT COMMODITY IDENTIFIER (IMAGE 3 STYLE) ================= */
.bp-describe-section {
    margin-top: 8px;
    margin-bottom: 18px;
}

.bp-describe-label {
    font-size: 1rem;
    font-weight: 700;
    color: #071E3D;
    margin-bottom: 8px;
    display: block;
}

.bp-search-action-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
    margin-bottom: 8px;
}

.bp-input-code-flex {
    flex: 1;
    min-width: 0;
    position: relative;
}

.bp-input-code-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.bp-input-code-wrap .bp-search-icon {
    position: absolute;
    left: 14px;
    font-size: 0.95rem;
    color: #64748B;
    pointer-events: none;
    display: none; /* Clean look matching Image 3 without icon */
}

.bp-input-code-wrap .bp-input-code {
    width: 100%;
    height: 48px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    padding: 0 40px 0 14px;
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 1rem;
    font-weight: 600;
    color: #071E3D;
    background: #FFFFFF;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bp-input-code-wrap .bp-input-code:focus {
    border-color: #071E3D;
    box-shadow: 0 0 0 3px rgba(7, 30, 61, 0.12);
}

/* Bharti Yellow Find Duty Action Button */
.bp-find-btn {
    background: #FFC300;
    color: #0B1F3A;
    border: 1px solid rgba(11, 31, 58, 0.15);
    border-radius: 6px;
    padding: 0 32px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    min-width: 120px;
    transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 6px rgba(255, 195, 0, 0.35);
    flex-shrink: 0;
}

.bp-find-btn:hover {
    background: #E5AC00;
    box-shadow: 0 4px 14px rgba(229, 172, 0, 0.45);
}

.bp-find-btn:active {
    transform: translateY(1px);
}

.bp-find-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

.bp-find-btn.bp-ready-pulse {
    animation: bpFindPulse 1.8s infinite ease-in-out;
}

@keyframes bpFindPulse {
    0%, 100% {
        box-shadow: 0 2px 6px rgba(255, 195, 0, 0.35);
        transform: translateY(0);
    }
    50% {
        box-shadow: 0 6px 18px rgba(255, 195, 0, 0.65), 0 0 0 4px rgba(255, 195, 0, 0.25);
        transform: translateY(-2px);
    }
}

.bp-describe-help {
    font-size: 0.88rem;
    color: #64748B;
    margin-top: 6px;
    line-height: 1.45;
}

.bp-describe-help a {
    color: #0284C7;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

.bp-describe-help a:hover {
    color: #0369A1;
}

/* ================= OPTIONAL VALUATION ACCORDION ================= */
.bp-val-expandable {
    margin-top: 18px;
    border-top: 1px solid #F1F5F9;
    padding-top: 14px;
}

.bp-val-expander-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.bp-val-expander-btn:hover {
    background: #F1F5F9;
    border-color: #CBD5E1;
}

.bp-ve-icon {
    font-size: 1rem;
}

.bp-ve-text {
    flex: 1;
}

.bp-ve-text small {
    color: #64748B;
    font-weight: 400;
}

.bp-ve-badge {
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 12px;
    background: #E2E8F0;
    color: #475569;
    font-weight: 700;
}

.bp-ve-chevron {
    font-size: 0.85rem;
    color: #64748B;
    transition: transform 0.2s ease;
}

.bp-val-expandable.is-expanded .bp-ve-chevron {
    transform: rotate(180deg);
}


.bp-autocomplete-anchor {
    position: relative;
}

.bp-input-code-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.bp-search-icon {
    position: absolute;
    left: 12px;
    font-size: 0.95rem;
    color: #64748B;
    pointer-events: none;
}

.bp-input {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #0B1F3A;
    background: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    border-radius: 10px;
    outline: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bp-input-code {
    padding-left: 16px;
    padding-right: 38px;
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #0B1F3A;
}

/* Autocomplete Dropdown - Disabled per user request */
.bp-ac-dropdown {
    display: none !important;
}

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

.bp-ac-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 14px;
    background: #F8FAFC;
    color: #475569;
    border-bottom: 1px solid #E2E8F0;
}

.bp-ac-title {
    font-size: 0.74rem;
    font-weight: 700;
    color: #0B1F3A;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bp-ac-hint {
    font-size: 0.72rem;
    color: #64748B;
    font-weight: 500;
}

.bp-ac-list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
    max-height: 280px;
    overflow-y: auto;
}

.bp-ac-item {
    padding: 9px 14px;
    cursor: pointer;
    border-bottom: 1px solid #F1F5F9;
    transition: background 0.15s ease, border-left-color 0.15s ease;
    border-left: 3px solid transparent;
}

.bp-ac-item:last-child {
    border-bottom: none;
}

.bp-ac-item:hover, .bp-ac-item.active {
    background: #FFFDF5;
    border-left-color: #FFC300;
}

.bp-ac-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.bp-ac-code {
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-weight: 800;
    font-size: 0.92rem;
    color: #0B1F3A;
}

.bp-ac-level-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    background: #EFF6FF;
    color: #2563EB;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.bp-ac-level-badge[data-level*="HS-4"] {
    background: #FEF3C7;
    color: #B45309;
    border: 1px solid rgba(180, 83, 9, 0.2);
}

.bp-ac-level-badge[data-level*="HS-6"] {
    background: #E0E7FF;
    color: #4338CA;
    border: 1px solid rgba(67, 56, 202, 0.2);
}

.bp-ac-level-badge[data-level*="HS-8"] {
    background: #ECFDF5;
    color: #047857;
    border: 1px solid rgba(4, 120, 87, 0.2);
}

.bp-ac-level-badge[data-level*="HS-10"] {
    background: #F1F5F9;
    color: #334155;
    border: 1px solid rgba(51, 65, 85, 0.15);
}

.bp-ac-desc {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1E293B;
    line-height: 1.35;
    white-space: normal;
}

.bp-ac-breadcrumb {
    font-size: 0.72rem;
    color: #64748B;
    margin-top: 3px;
    line-height: 1.3;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.bp-ac-bc-icon {
    color: #94A3B8;
    font-size: 0.75rem;
}

.bp-ac-declarable-tag {
    font-size: 0.65rem;
    background: #ECFDF5;
    color: #047857;
    border: 1px solid rgba(4, 120, 87, 0.25);
    padding: 1px 6px;
    border-radius: 3px;
    font-weight: 700;
    margin-left: 6px;
}

.bp-ac-empty {
    padding: 16px 14px;
    text-align: center;
    color: #64748B;
    font-size: 0.85rem;
}

.bp-field-hint {
    font-size: 0.78rem;
    color: #64748B;
    margin-top: 4px;
}

/* Quick Samples (Clean Chips) */
.bp-quick-samples {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.bp-sample-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
}

.bp-sample-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bp-chip {
    padding: 4px 10px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.bp-chip:hover {
    background: #FFFBEB;
    border-color: #FFC300;
    color: #0B1F3A;
    transform: translateY(-1px);
}

/* Mode Switcher Pill */
.bp-mode-toggle {
    display: inline-flex;
    background: #F1F5F9;
    padding: 2px;
    border-radius: 999px;
    border: 1px solid #E2E8F0;
}

.bp-mode-btn {
    padding: 4px 12px;
    border: none;
    background: transparent;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748B;
    cursor: pointer;
    transition: all 0.2s;
}

.bp-mode-btn.active {
    background: #FFC300;
    color: #0B1F3A;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.bp-mode-toggle-sub {
    grid-column: 1 / -1;
    display: inline-flex;
    background: #E2E8F0;
    padding: 3px;
    border-radius: 8px;
    gap: 4px;
    margin-bottom: 4px;
    width: fit-content;
}

/* Valuation Grid */
.bp-val-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
    padding: 14px;
    background: #F8FAFC;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    animation: bpSlideFadeUp 0.3s ease;
}

@media (max-width: 600px) {
    .bp-val-grid {
        grid-template-columns: 1fr;
    }
}

.bp-curr-input {
    position: relative;
    display: flex;
    align-items: center;
}

.bp-curr-prefix {
    position: absolute;
    left: 12px;
    font-weight: 700;
    color: #64748B;
    pointer-events: none;
}

.bp-curr-input input {
    padding-left: 28px;
}

/* Submit Action Button & Code Ready Banner */
.bp-form-footer {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #E2E8F0;
}

/* ================= NOMENCLATURE READY BANNER ================= */
.bp-code-ready-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    border: 1.5px solid #86EFAC;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.08);
    animation: bpSlideFadeUp 0.25s ease both;
}

.bp-crb-icon {
    width: 26px;
    height: 26px;
    background: #16A34A;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    flex-shrink: 0;
}

.bp-crb-content {
    flex: 1;
    min-width: 0;
}

.bp-crb-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
    flex-wrap: wrap;
}

.bp-crb-code {
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 0.95rem;
    color: #14532D;
    font-weight: 800;
}

.bp-crb-pill {
    font-size: 0.68rem;
    font-weight: 700;
    background: #16A34A;
    color: #FFFFFF;
    padding: 1px 7px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bp-crb-desc {
    font-size: 0.8rem;
    color: #166534;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bp-alert-error {
    background: #FEE2E2;
    border-left: 4px solid #EF4444;
    color: #991B1B;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.bp-submit-btn {
    width: 100%;
    padding: 15px 20px;
    background: #FFC300;
    color: #0B1F3A;
    border: none;
    border-radius: 12px;
    font-size: 1.02rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    box-shadow: 0 6px 18px rgba(255, 195, 0, 0.28);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bp-submit-btn:hover {
    background: #E5AC00;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 195, 0, 0.4);
}

.bp-submit-btn.bp-ready-pulse {
    animation: bpCalculatePulse 1.8s infinite ease-in-out;
}

@keyframes bpCalculatePulse {
    0%, 100% {
        box-shadow: 0 6px 18px rgba(255, 195, 0, 0.35);
        transform: translateY(0);
    }
    50% {
        box-shadow: 0 12px 30px rgba(255, 195, 0, 0.7), 0 0 0 5px rgba(255, 195, 0, 0.35);
        transform: translateY(-3px);
    }
}

.bp-submit-hint {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: #64748B;
    margin-top: 8px;
    font-weight: 500;
}

.bp-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    animation: none !important;
}

.bp-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(11, 31, 58, 0.25);
    border-top-color: #0B1F3A;
    border-radius: 50%;
    animation: bpSpin 0.7s linear infinite;
}

@keyframes bpSpin {
    to { transform: rotate(360deg); }
}

.bp-submit-btn.is-loading .bp-spinner {
    display: inline-block;
}

/* ================= RADAR HUD SCANNING ANIMATION STATE ================= */
.bp-calc-loading-box {
    background: linear-gradient(135deg, #071322 0%, #0B1F3A 100%);
    border: 1px solid rgba(255, 195, 0, 0.3);
    border-radius: 18px;
    padding: 36px 26px;
    color: #FFFFFF;
    box-shadow: 0 20px 45px rgba(11, 31, 58, 0.2);
    animation: bpResultPop 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.bp-scanner-hud {
    display: flex;
    gap: 24px;
    align-items: center;
}

@media (max-width: 600px) {
    .bp-scanner-hud {
        flex-direction: column;
        text-align: center;
    }
}

.bp-radar-frame {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid rgba(255, 195, 0, 0.3);
    position: relative;
    background: rgba(16, 185, 129, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: inset 0 0 16px rgba(16, 185, 129, 0.2);
}

.bp-radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 50%;
    transform-origin: 0 0;
    background: conic-gradient(from 0deg, rgba(255, 195, 0, 0.6), transparent 90deg);
    animation: bpRadarSweep 1.6s linear infinite;
    pointer-events: none;
}

@keyframes bpRadarSweep {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.bp-radar-flag {
    font-size: 2rem;
    z-index: 2;
    position: relative;
    animation: bpFloat 2s ease-in-out infinite;
}

.bp-radar-blip {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10B981;
    animation: bpBlipBlink 1.4s infinite;
}
.bp-radar-blip.blip-1 { top: 25%; left: 30%; animation-delay: 0.2s; }
.bp-radar-blip.blip-2 { bottom: 25%; right: 28%; animation-delay: 0.7s; }

@keyframes bpBlipBlink {
    0%, 100% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.3); }
}

.bp-scanner-info {
    flex: 1;
    min-width: 0;
}

.bp-scan-badge-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.bp-scan-badge {
    font-size: 0.68rem;
    font-weight: 800;
    color: #FFC300;
    background: rgba(255, 195, 0, 0.15);
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.08em;
}

.bp-scan-timer {
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 0.75rem;
    color: #94A3B8;
}

.bp-scanner-info h4 {
    font-size: 1.05rem;
    color: #FFFFFF;
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.3;
}

.bp-scan-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 14px;
}

.bp-scan-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFC300 0%, #10B981 100%);
    border-radius: 999px;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bp-scan-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.bp-scan-checklist li {
    font-size: 0.8rem;
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.bp-scan-checklist li.is-active {
    color: #FFC300;
    font-weight: 700;
}

.bp-scan-checklist li.is-done {
    color: #10B981;
}

/* ================= RESULTS DASHBOARD ================= */
.bp-empty-box {
    padding: 50px 24px;
    text-align: center;
}

.bp-empty-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.bp-empty-box h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0B1F3A;
    margin: 0 0 8px;
}

.bp-empty-box p {
    font-size: 0.88rem;
    color: #64748B;
    line-height: 1.55;
    max-width: 380px;
    margin: 0 auto;
}

/* Live Results Box */
.bp-result-box {
    animation: bpResultPop 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes bpResultPop {
    from {
        opacity: 0;
        transform: scale(0.98) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.bp-res-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid #E2E8F0;
}

.bp-res-tag {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #FFC300;
    background: #0B1F3A;
    padding: 2px 8px;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bp-res-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0B1F3A;
    margin: 0 0 2px;
}

.bp-res-sub {
    font-size: 0.82rem;
    color: #64748B;
    margin: 0;
}

.bp-btn-outline {
    padding: 6px 12px;
    background: #ffffff;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0B1F3A;
    cursor: pointer;
    transition: all 0.2s;
}

.bp-btn-outline:hover {
    background: #F8FAFC;
    border-color: #0B1F3A;
}

/* Hero Duty Rate Card */
.bp-hero-duty-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0B1F3A;
    border-radius: 12px;
    padding: 20px 24px;
    color: #ffffff;
    margin-bottom: 18px;
    border-left: 5px solid #FFC300;
    box-shadow: 0 8px 24px rgba(11, 31, 58, 0.15);
}

.bp-card-glow {
    position: relative;
    overflow: hidden;
}

.bp-card-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 195, 0, 0.4), transparent);
}

@media (max-width: 500px) {
    .bp-hero-duty-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}

.bp-duty-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #CBD5E1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.bp-duty-rate {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #FFC300;
    font-family: 'JetBrains Mono', Consolas, monospace;
}

.bp-duty-meta {
    display: block;
    font-size: 0.8rem;
    color: #94A3B8;
    margin-top: 4px;
}

.bp-hero-duty-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

@media (max-width: 500px) {
    .bp-hero-duty-right {
        align-items: flex-start;
    }
}

.bp-vat-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    padding: 6px 12px;
    text-align: right;
}

.bp-vat-label {
    display: block;
    font-size: 0.68rem;
    color: #CBD5E1;
    text-transform: uppercase;
}

.bp-vat-value {
    font-size: 1.05rem;
    color: #FFFFFF;
    font-family: 'JetBrains Mono', Consolas, monospace;
}

.bp-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.badge-success { background: #DCFCE7; color: #166534; }
.badge-warning { background: #FEF3C7; color: #92400E; }
.badge-danger { background: #FEE2E2; color: #991B1B; }

/* 3-Pack Rate Cards */
.bp-rates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

@media (max-width: 600px) {
    .bp-rates-grid {
        grid-template-columns: 1fr;
    }
}

.bp-rate-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 12px 14px;
    transition: all 0.25s ease;
}

.bp-rate-remedy {
    background: #FFFDF5;
    border-color: #F0C13A;
}

.bp-r-title {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
}

.bp-r-val {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0B1F3A;
    margin: 2px 0;
    font-family: 'JetBrains Mono', Consolas, monospace;
}

.bp-rate-box small {
    display: block;
    font-size: 0.72rem;
    color: #64748B;
}

/* Measures & Table */
.bp-measures-card, .bp-pga-alerts-card, .bp-breakdown-card {
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(11, 31, 58, 0.03);
}

.bp-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.bp-card-head h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0B1F3A;
    margin: 0;
}

.bp-alerts-pill, .bp-currency-pill {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    background: #F1F5F9;
    color: #475569;
}

.bp-measures-table-wrap {
    overflow-x: auto;
}

.bp-measures-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
}

.bp-measures-table th {
    text-align: left;
    padding: 8px 10px;
    background: #F8FAFC;
    color: #475569;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    border-bottom: 1px solid #E2E8F0;
}

.bp-measures-table td {
    padding: 10px;
    border-bottom: 1px solid #F1F5F9;
    color: #1E293B;
}

.bp-measure-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-app { background: #DCFCE7; color: #166534; }
.badge-flag { background: #FEF3C7; color: #92400E; }
.badge-mand { background: #FEE2E2; color: #991B1B; }

/* Compliance Signals (PGA / FDA) */
.bp-signals-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bp-sig-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    border-left: 4px solid #CBD5E1;
    background: #F8FAFC;
    transition: transform 0.2s ease;
}

.bp-sig-item:hover {
    transform: translateX(2px);
}

.bp-sig-item.sig-warning { border-left-color: #F59E0B; background: #FFFBEB; }
.bp-sig-item.sig-danger { border-left-color: #EF4444; background: #FEF2F2; }
.bp-sig-item.sig-info { border-left-color: #2563EB; background: #EFF6FF; }

.bp-sig-item strong {
    display: block;
    font-size: 0.84rem;
    color: #0B1F3A;
}

.bp-sig-item p {
    font-size: 0.76rem;
    color: #475569;
    margin: 2px 0 0;
    line-height: 1.45;
}

/* Landed Cost Breakdown List */
.bp-breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    font-size: 0.82rem;
    border-radius: 6px;
    color: #475569;
}

.bp-row:nth-child(even) { background: #F8FAFC; }
.bp-row strong { color: #0B1F3A; }

.bp-breakdown-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 8px 4px;
    margin-top: 6px;
    border-top: 2px solid #E2E8F0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0B1F3A;
}

.bp-breakdown-total strong {
    font-size: 1.15rem;
    color: #0B1F3A;
    font-family: 'JetBrains Mono', Consolas, monospace;
}

/* Advisor Banner */
.bp-advisor-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
}

.bp-adv-text strong {
    display: block;
    font-size: 0.8rem;
    color: #0B1F3A;
}

.bp-adv-text p {
    font-size: 0.72rem;
    color: #64748B;
    margin: 2px 0 0;
}

.bp-adv-link {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0B1F3A;
    text-decoration: none;
    white-space: nowrap;
}

.bp-adv-link:hover { color: #FFC300; }

@media print {
    .bp-hero, .bp-input-panel, header, footer, .bp-btn-outline, .bp-advisor-box, .bp-ac-dropdown { display: none !important; }
    .bp-workspace-grid { display: block !important; }
    .bp-sticky-inner { position: static !important; }
}

/* ==============================================================================
   INTERACTIVE NOMENCLATURE SCHEDULE TREE STYLES
   Statutory Multi-Level Tree with Expandable Branches matching HMRC / USITC / TARIC
============================================================================== */

/* Tree Trigger Button in Search Row - Corporate Theme */
.bp-tree-btn {
    background: #FFFFFF;
    color: #0B1F3A;
    border: 1.5px solid #0B1F3A;
    border-radius: 6px;
    padding: 0 20px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    white-space: nowrap;
    transition: all 0.15s ease;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(11, 31, 58, 0.08);
}

.bp-tree-btn:hover {
    background: #0B1F3A;
    border-color: #0B1F3A;
    color: #FFC300;
    box-shadow: 0 4px 14px rgba(11, 31, 58, 0.22);
    transform: translateY(-1px);
}

.bp-tree-btn-icon {
    font-size: 1.05rem;
}

/* Ready Banner "View in Tree" Button */
.bp-crb-tree-btn {
    margin-left: auto;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 5px;
    padding: 3px 10px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #0B1F3A;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s ease;
}

.bp-crb-tree-btn:hover {
    background: #0B1F3A;
    border-color: #0B1F3A;
    color: #FFC300;
}

/* ================= MODAL BACKDROP & DIALOG ================= */
.bp-tree-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 31, 58, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: bpModalFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.bp-tree-modal-backdrop[hidden] {
    display: none !important;
}

@keyframes bpModalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.bp-tree-modal-dialog {
    background: #FFFFFF;
    width: 100%;
    max-width: 1100px;
    height: 90vh;
    max-height: 860px;
    border-radius: 16px;
    box-shadow: 0 25px 65px -10px rgba(11, 31, 58, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: bpDialogSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes bpDialogSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Modal Header Bar */
.bp-tree-modal-header {
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    padding: 20px 28px 16px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
}

.bp-tree-modal-title-wrap {
    flex: 1;
    min-width: 0;
}

.bp-tree-modal-heading-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.bp-tree-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
    letter-spacing: -0.02em;
    font-family: 'Outfit', 'Inter', sans-serif;
}

.bp-tree-modal-badge {
    background: #F1F5F9;
    color: #475569;
    border: 1px solid #CBD5E1;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.bp-tree-subtitle {
    font-size: 0.92rem;
    color: #64748B;
    margin: 0;
    line-height: 1.45;
}

.bp-tree-modal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.bp-tree-action-btn {
    background: #F8FAFC;
    border: 1px solid #CBD5E1;
    color: #334155;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.bp-tree-action-btn:hover {
    background: #E2E8F0;
    color: #0F172A;
}

.bp-tree-action-icon {
    font-size: 1rem;
    font-weight: 900;
}

.bp-tree-close-btn {
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    color: #475569;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.bp-tree-close-btn:hover {
    background: #FEE2E2;
    border-color: #FCA5A5;
    color: #DC2626;
}

/* Modal Search / Filter Toolbar */
.bp-tree-toolbar {
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    padding: 10px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
}

.bp-tree-search-wrap {
    position: relative;
    flex: 1;
    max-width: 520px;
    display: flex;
    align-items: center;
}

.bp-tree-search-icon {
    position: absolute;
    left: 12px;
    font-size: 0.85rem;
    color: #94A3B8;
    pointer-events: none;
}

.bp-tree-filter-input {
    width: 100%;
    height: 38px;
    border: 1px solid #CBD5E1;
    border-radius: 7px;
    padding: 0 34px 0 34px;
    font-size: 0.86rem;
    color: #0F172A;
    background: #FFFFFF;
    outline: none;
    transition: all 0.15s ease;
}

.bp-tree-filter-input:focus {
    border-color: #0B1F3A;
    box-shadow: 0 0 0 3px rgba(11, 31, 58, 0.12);
}

.bp-tree-filter-clear {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #94A3B8;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 4px;
}

.bp-tree-filter-clear:hover {
    color: #475569;
}

.bp-tree-stats-badge {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748B;
}

/* ================= TREE VIEW CANVAS ================= */
.bp-tree-container {
    flex: 1;
    overflow-y: auto;
    padding: 24px 32px 40px;
    background: #FFFFFF;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bp-tree-container::-webkit-scrollbar {
    width: 8px;
}
.bp-tree-container::-webkit-scrollbar-track {
    background: #F8FAFC;
}
.bp-tree-container::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}
.bp-tree-container::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* Loading State */
.bp-tree-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    gap: 16px;
    color: #64748B;
    font-size: 0.95rem;
    font-weight: 500;
}

.bp-tree-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #E2E8F0;
    border-top-color: #0B1F3A;
    border-radius: 50%;
    animation: bpSpin 0.7s linear infinite;
}

/* Error State */
.bp-tree-error {
    background: #FEF2F2;
    border: 1px solid #FCA5A5;
    color: #991B1B;
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 0.9rem;
    margin: 20px 0;
}

/* Tree Branch and Node Styling */
.bp-tree-root {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bp-tree-node {
    list-style: none;
    position: relative;
    margin: 2px 0;
}

/* Row Content */
.bp-tree-row {
    display: flex;
    align-items: flex-start;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.12s ease, border-color 0.12s ease;
    gap: 8px;
    min-height: 32px;
    position: relative;
}

.bp-tree-row:hover {
    background-color: rgba(45, 212, 191, 0.08); /* Soft teal tint matching screenshot */
}

/* Focus and Active Highlighting */
.bp-tree-row.is-selected-match {
    background-color: #F0FDF4;
    border: 1px solid #86EFAC;
}

/* Expand / Collapse Toggle Arrow (Teal matching screenshot) */
.bp-tree-toggle {
    background: none;
    border: none;
    padding: 0;
    margin: 2px 0 0 0;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0D9488; /* Teal #0d9488 */
    font-size: 0.82rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: transform 0.15s ease, color 0.15s ease;
}

.bp-tree-toggle:hover {
    color: #042F2E;
    transform: scale(1.15);
}

.bp-tree-toggle-spacer {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #CBD5E1;
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* Node Main Text */
.bp-tree-content {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #1E293B;
}

.bp-tree-code-label {
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-weight: 700;
    color: #0F172A;
    white-space: nowrap;
}

.bp-tree-code-label.is-clickable-code {
    color: #0284C7;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bp-tree-code-label.is-clickable-code:hover {
    color: #0369A1;
}

.bp-tree-sep {
    color: #64748B;
    font-weight: 400;
}

.bp-tree-desc {
    color: #1E293B;
    font-weight: 400;
}

/* Intermediate Group Heading (e.g. "Other parts and accessories of bodies (including cabs)") */
.bp-tree-group-desc {
    font-weight: 700;
    color: #0F172A;
}

/* Chapter Heading Level */
.bp-tree-node[data-level="chapter"] > .bp-tree-row .bp-tree-content {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0B1F3A;
}

/* Heading Level (e.g. 87.08) */
.bp-tree-node[data-level="heading"] > .bp-tree-row .bp-tree-content {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0B1F3A;
}

/* Subheading Level (e.g. 8708.10) */
.bp-tree-node[data-level="subheading"] > .bp-tree-row .bp-tree-code-label {
    font-weight: 700;
    color: #0F172A;
}

/* Statutory 10-Digit Declarable Items */
.bp-tree-node[data-level="statutory"] > .bp-tree-row {
    padding-top: 4px;
    padding-bottom: 4px;
}

.bp-tree-node[data-level="statutory"] > .bp-tree-row:hover {
    background-color: #F0FDF4;
    border-radius: 6px;
}

.bp-tree-declarable-tag {
    background: #DCFCE7;
    color: #15803D;
    border: 1px solid #86EFAC;
    padding: 1px 7px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    margin-left: 4px;
}

.bp-tree-select-action {
    margin-left: auto;
    opacity: 0;
    transform: translateX(4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.bp-tree-row:hover .bp-tree-select-action {
    opacity: 1;
    transform: translateX(0);
}

.bp-tree-select-btn {
    background: #0B1F3A;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    padding: 3px 12px;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.12s ease;
}

.bp-tree-select-btn:hover {
    background: #FFC300;
    color: #0B1F3A;
}

/* Children Container & Connector Lines (Matching Teal Tree in Screenshot) */
.bp-tree-children {
    list-style: none;
    padding-left: 24px;
    margin: 0;
    position: relative;
    border-left: 1.5px solid #2DD4BF; /* Teal connector line matching screenshot */
    margin-left: 10px;
}

/* Horizontal branch connector └─ */
.bp-tree-node::before {
    content: '';
    position: absolute;
    top: 16px;
    left: -14px;
    width: 14px;
    height: 1.5px;
    background-color: #2DD4BF;
}

.bp-tree-root > .bp-tree-node::before {
    display: none;
}

/* Collapsed State */
.bp-tree-node.is-collapsed > .bp-tree-children {
    display: none !important;
}

/* Match Filter Highlight */
.bp-tree-match-highlight {
    background: #FEF08A;
    color: #854D0E;
    font-weight: 700;
    padding: 0 2px;
    border-radius: 2px;
}

.bp-tree-node.is-filter-hidden {
    display: none !important;
}

/* Modal Footer */
.bp-tree-footer {
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    padding: 12px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
    font-size: 0.82rem;
    color: #64748B;
}

.bp-tree-footer-legend {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.bp-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.bp-tree-sym-arrow {
    color: #0D9488;
    font-weight: 700;
}

.bp-legend-declarable {
    background: #DCFCE7;
    color: #15803D;
    border: 1px solid #86EFAC;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.72rem;
}

.bp-tree-cancel-btn {
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    color: #475569;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.12s ease;
}

.bp-tree-cancel-btn:hover {
    background: #F1F5F9;
    color: #0F172A;
}

@media (max-width: 768px) {
    .bp-tree-modal-backdrop {
        padding: 8px;
    }
    .bp-tree-modal-dialog {
        height: 96vh;
        max-height: 96vh;
        border-radius: 12px;
    }
    .bp-tree-modal-header {
        padding: 14px 16px;
    }
    .bp-tree-title {
        font-size: 1.25rem;
    }
    .bp-tree-toolbar {
        padding: 8px 16px;
        flex-direction: column;
        align-items: stretch;
    }
    .bp-tree-container {
        padding: 14px 16px 24px;
    }
    .bp-tree-children {
        padding-left: 14px;
        margin-left: 6px;
    }
    .bp-tree-footer {
        padding: 10px 16px;
        flex-direction: column;
        align-items: stretch;
    }
}

/* ==========================================================================
   BHARTI TARIFF POWERHOUSE - SUITE UMBRELLA NAVIGATION
   ========================================================================== */
.bp-umbrella-nav {
    background: #071526;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 24px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bp-umbrella-container {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.bp-umbrella-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bp-umbrella-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FFFFFF;
}

.bp-brand-svg {
    color: #FFC300;
}

.bp-umbrella-brand-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: #FFFFFF;
}

.bp-umbrella-divider {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.85rem;
}

.bp-umbrella-edition {
    color: #94A3B8;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.bp-umbrella-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bp-u-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #CBD5E1;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.bp-u-tab-svg {
    color: #94A3B8;
    transition: color 0.18s;
}

.bp-u-tab:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.bp-u-tab:hover .bp-u-tab-svg {
    color: #FFC300;
}

.bp-u-tab.is-active {
    background: #0B1F3A;
    color: #FFC300;
    border-color: #FFC300;
    font-weight: 700;
    box-shadow: 0 0 0 1px #FFC300, 0 4px 12px rgba(11, 31, 58, 0.4);
}

.bp-u-tab.is-active .bp-u-tab-svg {
    color: #FFC300;
}

.bp-u-tab-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #94A3B8;
}

.bp-u-tab.is-active .bp-u-tab-tag {
    background: rgba(255, 195, 0, 0.2);
    color: #FFC300;
}

.bp-u-tab-tag.tag-gold {
    background: rgba(255, 195, 0, 0.15);
    color: #FFC300;
}

/* ==========================================================================
   BHARTI TARIFF DIRECTORY (FLEXPORT STYLE)
   ========================================================================== */
.bp-directory-shell {
    background: #F8FAFC;
    min-height: 100vh;
}

.bp-dir-hero {
    background: radial-gradient(ellipse at 50% 0%, #11284A 0%, #071526 85%);
    color: #FFFFFF;
    padding: 38px 24px 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bp-dir-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.bp-dir-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #FFC300;
    background: rgba(255, 195, 0, 0.12);
    border: 1px solid rgba(255, 195, 0, 0.28);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.bp-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FFC300;
    box-shadow: 0 0 6px #FFC300;
}

.bp-dir-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.15rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 12px;
    color: #FFFFFF;
    letter-spacing: -0.02em;
}

.bp-dir-desc {
    max-width: 780px;
    margin: 0 auto 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    line-height: 1.55;
}

.bp-dir-desc strong {
    color: #FFFFFF;
}

/* Jurisdiction Selector Segments */
.bp-jur-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.bp-jur-pills {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    gap: 6px;
}

.bp-jur-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 7px;
    transition: all 0.18s ease;
}

.bp-jur-pill .bp-jur-flag {
    font-size: 1.25rem;
}

.bp-jur-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.bp-jur-pill .bp-jur-text {
    font-size: 0.84rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
}

.bp-jur-pill .bp-jur-regime {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.55);
}

.bp-jur-pill:hover {
    background: rgba(255, 255, 255, 0.12);
}

.bp-jur-pill.is-active {
    background: #FFFFFF;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.bp-jur-pill.is-active .bp-jur-text {
    color: #0B1F3A;
}

.bp-jur-pill.is-active .bp-jur-regime {
    color: #64748B;
    font-weight: 600;
}

/* Fast Search Box */
.bp-dir-search-wrap {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.bp-dir-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.bp-search-svg-icon {
    position: absolute;
    left: 16px;
    color: #64748B;
    pointer-events: none;
}

.bp-dir-search-input {
    width: 100%;
    padding: 14px 44px 14px 46px;
    font-size: 0.92rem;
    font-weight: 500;
    color: #0B1F3A;
    background: #FFFFFF;
    border: 2px solid transparent;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
    outline: none;
    transition: all 0.2s ease;
}

.bp-dir-search-input:focus {
    border-color: #FFC300;
    box-shadow: 0 6px 24px rgba(255, 195, 0, 0.35);
}

.bp-dir-clear-btn {
    position: absolute;
    right: 16px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #E2E8F0;
    color: #475569;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
}

.bp-dir-spinner {
    position: absolute;
    right: 44px;
    width: 16px;
    height: 16px;
    border: 2px solid #CBD5E1;
    border-top-color: #0B1F3A;
    border-radius: 50%;
    animation: bpSpin 0.6s linear infinite;
}

.bp-dir-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(11, 31, 58, 0.16);
    z-index: 500;
    overflow: hidden;
    text-align: left;
}

.bp-dir-sr-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
}

.bp-dir-sr-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 380px;
    overflow-y: auto;
}

.bp-dir-sr-item {
    border-bottom: 1px solid #F1F5F9;
}

.bp-dir-sr-item:last-child {
    border-bottom: none;
}

.bp-dir-sr-link {
    display: block;
    padding: 12px 18px;
    text-decoration: none;
    color: #0F172A;
    transition: background 0.15s;
}

.bp-dir-sr-link:hover {
    background: #F8FAFC;
}

.bp-dir-sr-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.bp-dir-sr-code {
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-weight: 800;
    color: #0B1F3A;
    font-size: 0.95rem;
}

.bp-dir-sr-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
}

.tag-chapter {
    background: #FEF3C7;
    color: #B45309;
    border: 1px solid #FDE68A;
}

.tag-heading {
    background: #DBEAFE;
    color: #1E40AF;
    border: 1px solid #BFDBFE;
}

.bp-dir-sr-title {
    font-size: 0.88rem;
    font-weight: 500;
    color: #334155;
    line-height: 1.4;
}

.bp-dir-sr-sec {
    color: #64748B;
    font-size: 0.72rem;
    margin-top: 2px;
    display: block;
}

.bp-dir-sr-empty {
    padding: 24px;
    text-align: center;
    color: #64748B;
    font-size: 0.9rem;
}

/* ==========================================================================
   WORKSPACE & BREADCRUMBS
   ========================================================================== */
.bp-dir-workspace {
    max-width: 1300px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

.bp-breadcrumbs-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: #FFFFFF;
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    margin-bottom: 24px;
}

.bp-breadcrumbs-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 6px;
    font-size: 0.86rem;
}

.bp-breadcrumbs-list a {
    color: #0B1F3A;
    font-weight: 600;
    text-decoration: none;
}

.bp-breadcrumbs-list a:hover {
    color: #B45309;
    text-decoration: underline;
}

.bp-breadcrumbs-list .bp-bc-sep {
    color: #94A3B8;
    font-size: 0.8rem;
}

.bp-breadcrumbs-list .bp-bc-muted {
    color: #64748B;
}

.bp-breadcrumbs-list .is-current strong {
    color: #0F172A;
    font-weight: 700;
}

.bp-bc-badge span {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #1D4ED8;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

/* ==========================================================================
   LEVEL 1: 22 SECTIONS GRID
   ========================================================================== */
.bp-sections-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
}

.bp-si-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: #0B1F3A;
    margin: 0 0 6px;
}

.bp-si-desc {
    color: #64748B;
    font-size: 0.9rem;
    margin: 0;
}

.bp-si-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    color: #0B1F3A;
    background: #FFFFFF;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #CBD5E1;
}

/* ==========================================================================
   DIRECTORY SUB-HEADER (Inner Pages: Chapter & Heading Level)
   ========================================================================== */
.bp-dir-subbar {
    background: #0B1F3A;
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 24px;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 14px rgba(11, 31, 58, 0.18);
}

.bp-dir-subbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.bp-subbar-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    flex-wrap: wrap;
}

.bp-sb-crumb {
    color: #94A3B8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

.bp-sb-crumb:hover {
    color: #FFC300;
}

.bp-sb-sep {
    color: #64748B;
    font-size: 0.78rem;
}

.bp-sb-muted {
    color: #94A3B8;
}

.bp-sb-current {
    color: #FFFFFF;
    font-weight: 700;
}

.bp-subbar-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bp-subbar-jurs {
    display: flex;
    gap: 6px;
}

.bp-subbar-jur-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #E2E8F0;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
}

.bp-subbar-jur-pill:hover,
.bp-subbar-jur-pill.is-active {
    background: #FFFFFF;
    color: #0B1F3A;
    border-color: #FFFFFF;
    font-weight: 700;
}

.bp-subbar-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #FFC300;
    font-size: 0.80rem;
    font-weight: 700;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 195, 0, 0.10);
    border: 1px solid rgba(255, 195, 0, 0.25);
    transition: all 0.15s;
}

.bp-subbar-back-btn:hover {
    background: #FFC300;
    color: #0B1F3A;
}

.bp-sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 16px;
    align-items: start;
}

.bp-section-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(11, 31, 58, 0.03);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bp-section-card:hover {
    border-color: #CBD5E1;
    box-shadow: 0 6px 16px rgba(11, 31, 58, 0.06);
    transform: translateY(-2px);
}

.bp-sec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.bp-sec-header-left {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bp-sec-roman {
    font-size: 0.70rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #0B1F3A;
    background: #FEF3C7;
    border: 1px solid #FDE68A;
    padding: 2px 6px;
    border-radius: 4px;
}

.bp-sec-range {
    font-size: 0.74rem;
    font-weight: 600;
    color: #64748B;
}

.bp-sec-count {
    font-size: 0.70rem;
    font-weight: 700;
    color: #475569;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    padding: 2px 7px;
    border-radius: 4px;
}

.bp-sec-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: #0B1F3A;
    margin: 0 0 6px;
    line-height: 1.3;
}

.bp-sec-desc {
    color: #64748B;
    font-size: 0.80rem;
    line-height: 1.42;
    margin: 0 0 12px;
}

.bp-sec-chapters {
    border-top: 1px solid #F1F5F9;
    padding-top: 10px;
    margin-top: 0;
}

.bp-sec-ch-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bp-ch-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #1E293B;
    text-decoration: none;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.75rem;
    line-height: 1.35;
    transition: all 0.15s ease;
}

.bp-ch-chip:hover {
    background: #0B1F3A;
    color: #FFFFFF;
    border-color: #0B1F3A;
}

.bp-chip-num {
    font-weight: 800;
    font-family: 'JetBrains Mono', Consolas, monospace;
    color: #0B1F3A;
    font-size: 0.74rem;
}

.bp-ch-chip:hover .bp-chip-num {
    color: #FFC300;
}

.bp-ch-chip-desc {
    color: #64748B;
    max-width: 130px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bp-ch-chip:hover .bp-ch-chip-desc {
    color: #CBD5E1;
}

/* ==========================================================================
   UNIFIED CHAPTER VIEW (Flexport-Style: Multi-Heading In One Page)
   ========================================================================== */
.bp-chapter-unified-header {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 22px 26px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(11, 31, 58, 0.04);
}

.bp-cuh-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.bp-cuh-badge {
    background: #0B1F3A;
    color: #FFC300;
    font-size: 0.80rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 5px;
    letter-spacing: 0.03em;
}

.bp-cuh-sec {
    color: #64748B;
    font-size: 0.82rem;
    font-weight: 500;
}

.bp-cuh-jur {
    color: #475569;
    font-size: 0.80rem;
    font-weight: 600;
    margin-left: auto;
}

.bp-cuh-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0B1F3A;
    margin: 0 0 14px;
    line-height: 1.3;
}

.bp-cuh-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid #F1F5F9;
    padding-top: 14px;
}

.bp-cuh-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bp-cuh-pill {
    background: #F1F5F9;
    color: #334155;
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 6px;
}

.bp-cuh-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F8FAFC;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    padding: 6px 12px;
    min-width: 320px;
    transition: all 0.15s;
}

.bp-cuh-filter:focus-within {
    border-color: #0B1F3A;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(11, 31, 58, 0.08);
}

.bp-cuh-filter-icon {
    font-size: 0.85rem;
    color: #64748B;
}

.bp-cuh-filter-input {
    border: none;
    background: transparent;
    font-size: 0.84rem;
    outline: none;
    width: 100%;
}

.bp-cuh-count {
    font-size: 0.76rem;
    font-weight: 700;
    color: #475569;
    white-space: nowrap;
}

.bp-cuh-jump-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed #E2E8F0;
    flex-wrap: wrap;
}

.bp-jump-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #94A3B8;
    letter-spacing: 0.04em;
}

.bp-jump-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.bp-jump-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #334155;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.76rem;
    text-decoration: none;
    transition: all 0.15s;
}

.bp-jump-pill:hover {
    background: #0B1F3A;
    color: #FFFFFF;
    border-color: #0B1F3A;
}

.bp-jump-pill strong {
    color: #0B1F3A;
    font-family: 'JetBrains Mono', Consolas, monospace;
}

.bp-jump-pill:hover strong {
    color: #FFC300;
}

.bp-heading-block {
    margin-bottom: 32px;
    scroll-margin-top: 60px;
}

.bp-heading-block-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    padding: 0 4px;
}

.bp-hbh-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.18rem;
    font-weight: 700;
    color: #0B1F3A;
    margin: 0;
    line-height: 1.35;
}

.bp-hbh-code {
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-weight: 800;
    color: #0B1F3A;
    margin-right: 4px;
}

.bp-hbh-desc {
    font-weight: 600;
    color: #1E293B;
}

.bp-hbh-lines-count {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748B;
    background: #F1F5F9;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

/* ==========================================================================
   STATUTORY TARIFF TABLE (Flexport exact columns & styling)
   ========================================================================== */
.bp-tariff-table-wrap {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    overflow-x: auto;
    box-shadow: 0 1px 3px rgba(11, 31, 58, 0.02);
}

.bp-tariff-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.84rem;
}

.bp-tariff-table thead th {
    background: #F8FAFC;
    color: #374151;
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.01em;
    padding: 9px 14px;
    text-align: left;
    border-bottom: 1px solid #E2E8F0;
    white-space: nowrap;
}

.bp-tariff-table tbody tr {
    border-bottom: 1px solid #F1F5F9;
    transition: background 0.12s;
}

.bp-tariff-table tbody tr:hover {
    background: #F8FAFC;
}

.bp-line-row.is-category-row {
    background: #FCFDFE;
}

.bp-line-row.is-intermediate-row {
    background: #FFFFFF;
}

.bp-line-row.is-declarable-row {
    background: #FFFFFF;
}

.bp-cell-code {
    padding: 8px 14px;
    vertical-align: top;
}

.bp-code-val.is-bold-code {
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: 0.01em;
}

.bp-code-val.is-muted-code {
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 0.82rem;
    font-weight: 500;
    color: #475569;
}

.bp-code-blank {
    color: #CBD5E1;
    font-weight: 600;
    padding-left: 6px;
}

.bp-cell-desc {
    padding: 8px 14px;
    vertical-align: top;
}

.bp-desc-indent {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.bp-indent-bullet {
    color: #94A3B8;
    font-weight: 600;
    letter-spacing: -0.05em;
    white-space: nowrap;
}

.bp-desc-text {
    color: #1F2937;
    font-weight: 500;
    line-height: 1.45;
}

.bp-desc-text.is-parent-desc {
    color: #111827;
    font-weight: 700;
}

.bp-remedy-inline-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.bp-rem-badge {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.bp-rem-badge.badge-warning {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FDE68A;
}

.bp-rem-badge.badge-info {
    background: #EFF6FF;
    color: #1E40AF;
    border: 1px solid #DBEAFE;
}

.bp-cell-duty {
    padding: 8px 14px;
    vertical-align: top;
}

.bp-duty-text.is-free-rate {
    color: #059669;
    font-weight: 700;
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 0.84rem;
}

.bp-duty-text.is-mfn-rate {
    color: #111827;
    font-weight: 700;
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 0.84rem;
}

.bp-duty-dash {
    color: #CBD5E1;
    font-weight: 500;
}

.bp-cell-col2 {
    padding: 8px 14px;
    vertical-align: top;
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 0.82rem;
    color: #4B5563;
    white-space: nowrap;
}

.bp-cell-special {
    padding: 8px 14px;
    vertical-align: top;
    font-size: 0.78rem;
    color: #4B5563;
    line-height: 1.35;
}

.bp-special-val {
    display: block;
    color: #4B5563;
}

.bp-cell-units {
    padding: 8px 14px;
    vertical-align: top;
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 0.80rem;
    color: #6B7280;
    white-space: nowrap;
}

.bp-cell-action {
    padding: 8px 14px;
    vertical-align: top;
}

.bp-btn-calculate-row {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #0B1F3A;
    color: #FFC300;
    font-weight: 700;
    font-size: 0.74rem;
    padding: 4px 9px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid #0B1F3A;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.bp-btn-calculate-row:hover {
    background: #FFC300;
    color: #0B1F3A;
    border-color: #FFC300;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(255, 195, 0, 0.35);
}

.bp-btn-chevron {
    display: inline-block;
    transition: transform 0.15s ease;
}

.bp-btn-calculate-row:hover .bp-btn-chevron {
    transform: translateX(2px);
}

.bp-sub-note {
    font-size: 0.74rem;
    color: #CBD5E1;
}

.bp-jur-iso-tag {
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    color: #FFC300;
    letter-spacing: 0.04em;
}

.bp-jur-pill.is-active .bp-jur-iso-tag {
    background: #0B1F3A;
    color: #FFC300;
}

.bp-sb-iso {
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 0.72rem;
    font-weight: 800;
    background: rgba(255, 195, 0, 0.15);
    color: #FFC300;
    padding: 1px 5px;
    border-radius: 3px;
    margin-right: 4px;
}

.bp-sb-jur-code {
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-weight: 800;
    font-size: 0.72rem;
}

/* Enterprise Suite Footer Banner */
.bp-suite-footer-banner {
    margin-top: 48px;
    background: linear-gradient(135deg, #071526 0%, #0B1F3A 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    padding: 28px 32px;
    color: #FFFFFF;
}

.bp-sfb-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.bp-sfb-badge {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #FFC300;
    margin-bottom: 6px;
}

.bp-sfb-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 6px;
    color: #FFFFFF;
}

.bp-sfb-desc {
    color: #94A3B8;
    font-size: 0.85rem;
    max-width: 650px;
    margin: 0;
    line-height: 1.45;
}

.bp-sfb-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Directory CTA Banner */
.bp-dir-cta-banner {
    background: #071526;
    color: #FFFFFF;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 36px 24px;
}

.bp-dir-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.bp-dcb-copy h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    margin: 0 0 6px;
    color: #FFFFFF;
}

.bp-dcb-copy p {
    color: #94A3B8;
    font-size: 0.86rem;
    margin: 0;
    max-width: 700px;
}

.bp-dcb-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bp-btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFC300;
    color: #0B1F3A;
    font-weight: 700;
    font-size: 0.86rem;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.bp-btn-gold:hover {
    background: #FFD233;
    transform: translateY(-1px);
}

.bp-btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 600;
    font-size: 0.86rem;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.bp-btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .bp-dir-title { font-size: 1.65rem; }
    .bp-sections-grid { grid-template-columns: 1fr; }
    .bp-headings-grid { grid-template-columns: 1fr; }
    .bp-umbrella-tabs { width: 100%; flex-direction: column; }
    .bp-u-tab { width: 100%; justify-content: center; }
    .bp-heading-filter-bar { flex-direction: column; align-items: stretch; }
    .bp-hl-input { max-width: 100%; }
    .bp-dir-cta-inner { flex-direction: column; align-items: stretch; }
    .bp-dcb-actions { flex-direction: column; width: 100%; }
    .bp-btn-gold, .bp-btn-outline-white { width: 100%; justify-content: center; }
}




/* ==========================================================================
   BHARTI TARIFF POWERHOUSE - 3-TIER USAGE QUOTA & ENTERPRISE PAYWALL MODALS
   ========================================================================== */
.bp-umbrella-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.bp-quota-wrap {
    display: flex;
    align-items: center;
}

.bp-quota-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #E2E8F0;
    transition: all 0.2s ease;
    user-select: none;
}

.bp-quota-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.28);
}

.bp-quota-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #38BDF8;
    box-shadow: 0 0 8px #38BDF8;
    animation: bpQuotaPulse 2.2s infinite;
}

@keyframes bpQuotaPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

/* Guest Tier (Amber / Gold Accent) */
.bp-quota-guest {
    border-color: rgba(255, 195, 0, 0.35);
    background: rgba(255, 195, 0, 0.08);
    color: #F8FAFC;
}
.bp-quota-guest .bp-quota-dot {
    background: #FFC300;
    box-shadow: 0 0 8px #FFC300;
}
.bp-quota-guest strong {
    color: #FFC300;
}

/* Registered Member Tier (Emerald Accent) */
.bp-quota-registered,
.bp-quota-member {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.1);
    color: #F8FAFC;
}
.bp-quota-registered .bp-quota-dot,
.bp-quota-member .bp-quota-dot {
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
}
.bp-quota-registered strong,
.bp-quota-member strong {
    color: #34D399;
}

/* Admin / Super Admin (Unlimited Luxury) */
.bp-quota-admin {
    border-color: rgba(168, 85, 247, 0.4);
    background: rgba(168, 85, 247, 0.12);
    color: #F8FAFC;
}
.bp-quota-admin .bp-quota-dot {
    background: #C084FC;
    box-shadow: 0 0 8px #C084FC;
}
.bp-quota-admin strong {
    color: #E9D5FF;
}

/* Exhausted Limit State (Red Sentry Alert) */
.bp-quota-pill.is-exhausted {
    border-color: rgba(239, 68, 68, 0.5) !important;
    background: rgba(239, 68, 68, 0.14) !important;
    color: #FCA5A5 !important;
    animation: bpQuotaShake 0.4s ease;
}
.bp-quota-pill.is-exhausted .bp-quota-dot {
    background: #EF4444 !important;
    box-shadow: 0 0 8px #EF4444 !important;
}

@keyframes bpQuotaShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

/* ==========================================================================
   PAYWALL MODALS OVERLAY & DIALOG
   ========================================================================== */
.bp-paywall-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(7, 21, 38, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: bpFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.bp-paywall-modal-overlay[hidden] {
    display: none !important;
}

@keyframes bpFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.bp-paywall-modal {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: linear-gradient(145deg, #0B1F3A 0%, #071526 100%);
    border: 1px solid rgba(255, 195, 0, 0.35);
    border-radius: 18px;
    padding: 36px 32px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 195, 0, 0.12);
    color: #F8FAFC;
    text-align: center;
    animation: bpZoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.bp-pwm-enterprise {
    border-color: rgba(255, 195, 0, 0.6);
    box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.8), 0 0 50px rgba(255, 195, 0, 0.18);
}

@keyframes bpZoomIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.bp-pwm-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #94A3B8;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.15s ease;
}

.bp-pwm-close:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
    transform: rotate(90deg);
}

.bp-pwm-icon-wrap {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 195, 0, 0.14);
    border: 1px solid rgba(255, 195, 0, 0.35);
    color: #FFC300;
    box-shadow: 0 8px 24px rgba(255, 195, 0, 0.2);
}

.bp-icon-gold {
    background: linear-gradient(135deg, rgba(255, 195, 0, 0.25) 0%, rgba(255, 195, 0, 0.1) 100%);
    border-color: #FFC300;
    box-shadow: 0 10px 28px rgba(255, 195, 0, 0.3);
}

.bp-pwm-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FFC300;
    background: rgba(255, 195, 0, 0.12);
    border: 1px solid rgba(255, 195, 0, 0.3);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.bp-badge-gold {
    color: #0B1F3A;
    background: #FFC300;
    border-color: #FFC300;
}

.bp-pwm-title {
    font-family: 'Outfit', -apple-system, sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.bp-pwm-desc {
    color: #94A3B8;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0 0 20px;
}

.bp-pwm-desc strong {
    color: #F8FAFC;
}

.bp-pwm-features {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 24px;
}

.bp-pwm-feat-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: #CBD5E1;
    line-height: 1.4;
}

.bp-pwm-feat-item strong {
    color: #FFFFFF;
}

.bp-pwm-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
    color: #34D399;
    font-weight: 800;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.bp-pwm-star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 195, 0, 0.2);
    color: #FFC300;
    font-weight: 800;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.bp-pwm-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bp-pwm-btn-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #FFC300;
    color: #0B1F3A;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 13px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.18s ease;
    box-shadow: 0 4px 16px rgba(255, 195, 0, 0.35);
}

.bp-pwm-btn-main:hover {
    background: #FFD233;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 195, 0, 0.45);
}

.bp-pwm-btn-sub {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 11px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.18s ease;
}

.bp-pwm-btn-sub:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.45);
}

.bp-pwm-footer {
    margin-top: 18px;
    color: #64748B;
    font-size: 0.75rem;
}

@media (max-width: 600px) {
    .bp-paywall-modal {
        padding: 28px 20px;
    }
    .bp-pwm-title {
        font-size: 1.25rem;
    }
}
