:root {
    --bm-primary: #2563eb;
    --bm-primary-hover: #1d4ed8;
    --bm-bg-subtle: #f8fafc;
    --bm-border-color: #e2e8f0;
    --bm-text-main: #0f172a;
    --bm-text-secondary: #475569;
    --bm-card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
}

[data-bs-theme="dark"] {
    --bm-bg-subtle: #0f172a;
    --bm-border-color: #334155;
    --bm-text-main: #f8fafc;
    --bm-text-secondary: #94a3b8;
    --bm-card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.5);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--bm-text-main);
    background-color: var(--bm-bg-subtle) !important;
}

.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.fs-75 { font-size: 0.8125rem; }
.fs-8 { font-size: 0.8rem; }
.fs-9 { font-size: 0.725rem; }
.py-15 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.p-25 { padding: 0.625rem; }
.cursor-pointer { cursor: pointer; }
.border-dashed { border-style: dashed !important; border-width: 2px !important; border-color: var(--bm-border-color) !important; }

/* Sticky Sidebars */
.sticky-sidebar-card {
    position: sticky;
    top: 5.5rem;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
}

/* Custom Navigation Progress Items List UI styling */
.step-navigation-list .step-nav-item {
    display: flex;
    align-items: center;
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--bm-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}
.step-navigation-list .step-nav-item:hover {
    background-color: rgba(37, 99, 235, 0.05);
    color: var(--bm-primary);
}
.step-navigation-list .step-nav-item.active {
    background-color: #f0f4ff;
    color: var(--bm-primary);
    font-weight: 600;
}
.step-navigation-list .step-nav-item.completed .step-nav-icon-box {
    background-color: #d1fae5;
    color: #059669;
    border-color: #a7f3d0;
}
.step-navigation-list .step-nav-item.completed .step-nav-check {
    display: inline-block !important;
    color: #10b981;
}
.step-nav-icon-box {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--bm-border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}
.step-navigation-list .step-nav-item.active .step-nav-icon-box {
    background-color: var(--bm-primary);
    color: white;
    border-color: var(--bm-primary);
}

/* Header Step Badges */
.step-badge-main {
    width: 42px;
    height: 42px;
    background-color: var(--bm-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}
.step-badge-mini {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.725rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Service Multi-Selection Platform Component Matrix */
.service-selection-card {
    background-color: #fff;
    transition: all 0.2s ease;
}
.service-selection-card:hover {
    border-color: var(--bm-primary) !important;
    transform: translateY(-1px);
}
.service-selection-card.active {
    border-color: var(--bm-primary) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background-color: #f8fafc;
}
.service-selection-card .icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image Dropzones Layout Specifications */
.upload-dropzone {
    background-color: var(--bm-bg-subtle);
    transition: all 0.2s ease;
}
.upload-dropzone:hover {
    border-color: var(--bm-primary) !important;
    background-color: rgba(37, 99, 235, 0.02);
}
.upload-preview-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #fff;
    border-radius: 0.5rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.upload-preview-overlay img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0.25rem;
}
.remove-preview-btn {
    position: absolute;
    top: 6px; right: 6px;
    z-index: 10;
}

/* Interactive Input Checkbox / Radio Panel Elements Modification Overrides */
.custom-checkbox-card, .custom-radio-card {
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.custom-checkbox-card:hover, .custom-radio-card:hover {
    border-color: var(--bm-primary) !important;
}

/* Custom Accordion Custom Form Alignment Structure mapping */
.custom-accordion .accordion-item {
    border-color: var(--bm-border-color) !important;
}
.custom-accordion .accordion-button:not(.collapsed) {
    background-color: #fff !important;
    color: var(--bm-primary) !important;
    box-shadow: none !important;
}
.custom-accordion .accordion-button:focus {
    box-shadow: none !important;
}
.stop-propagation-switch {
    margin-bottom: 0;
}