/* Enhanced Category Select Styles */
.category-select {
    font-family: system-ui, -apple-system, sans-serif;
}

.category-select optgroup {
    font-weight: 600;
    color: #495057;
    background-color: #f8f9fa;
    padding: 8px 12px;
    font-size: 0.9rem;
}

.category-select option {
    padding: 8px 16px;
    font-size: 0.95rem;
}

.category-select option:hover {
    background-color: #e9ecef;
}

/* Photo Upload Styles */
.profile-photo-wrapper {
    transition: transform 0.2s ease;
}

.profile-photo-wrapper:hover {
    transform: scale(1.02);
}

.photo-upload-overlay {
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.photo-upload-overlay:hover {
    opacity: 1 !important;
}

/* Contact Type Edit Styles */
.contact-type-display:hover .contact-type-edit-btn {
    opacity: 1 !important;
}

/* Inline Category Editor Styles */
.inline-category-editor {
    position: relative;
}

.category-display:hover {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 2px 4px;
    margin: -2px -4px;
}

.autocomplete-dropdown {
    position: absolute;
    z-index: 1050;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    width: 250px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    top: 100%;
    left: 0;
    margin-top: 2px;
}

.autocomplete-group-header {
    background-color: #f8f9fa;
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 12px;
    border-bottom: 1px solid #e9ecef;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.autocomplete-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f1f3f4;
    font-size: 0.9rem;
}

.autocomplete-item:hover,
.autocomplete-item.selected {
    background-color: #e3f2fd;
    color: #1976d2;
}

.autocomplete-item.current {
    background-color: #fff3e0;
    border-left: 3px solid #ff9800;
}

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

/* Violation Title Autocomplete Styles */
.has-autocomplete {
    /* No background icon needed since dropdown provides visual indication */
}

/* Custom Autocomplete Dropdown */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ced4da;
    border-top: none;
    border-radius: 0 0 0.375rem 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
}

/* Tom Select Bootstrap Theme Overrides - Force Bootstrap styling */
.ts-wrapper {
    position: relative !important;
    display: block !important;
    width: 200px !important;
    max-width: 200px !important;
    min-width: 200px !important;
    box-sizing: border-box !important;
}

/* Remove form-select class styling from multi-select Tom Select */
.ts-wrapper.multi.form-select {
    background-image: none !important;
    padding-right: 0.75rem !important;
}

/* Ensure parent container of Tom Select has proper width */
.ts-wrapper,
.ts-wrapper.single,
.ts-wrapper.single.input-active,
.ts-wrapper.single.dropdown-active,
.ts-wrapper.single.focus,
.ts-wrapper.single.has-items {
    width: 100% !important;
    max-width: 200px !important;
    display: block !important;
}

/* Set minimum width for Tom Select parent containers */
.ts-wrapper:not([class*="col-"]) {
    min-width: 200px !important;
}

/* Or target specific parent containers if needed */
.form-group:has(.ts-wrapper),
.mr-1:has(.ts-wrapper),
div:has(.ts-wrapper) {
    min-width: 200px !important;
}

.ts-wrapper.single .ts-control,
.ts-wrapper.single.input-active .ts-control {
    background: #fff !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    box-shadow: none !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

.ts-wrapper.single .ts-control:focus,
.ts-wrapper.single .ts-control:focus-within,
.ts-wrapper.single.focus .ts-control {
    border-color: #86b7fe !important;
    outline: 0 !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}

.ts-wrapper.single .ts-control input[type="text"] {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    flex: 0 1 auto !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: inherit !important;
    line-height: inherit !important;
    color: #212529 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-shadow: none !important;
}

.ts-wrapper.single .ts-control input[type="text"]::placeholder {
    color: #6c757d !important;
    opacity: 1 !important;
}

.ts-control .clear-button {
    position: absolute !important;
    right: 2rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    cursor: pointer !important;
    padding: 0.25rem !important;
    color: #6c757d !important;
    font-size: 1.2em !important;
    line-height: 1 !important;
    z-index: 2 !important;
    background: none !important;
    border: none !important;
}

.ts-control .clear-button:hover {
    color: #495057 !important;
}

.ts-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: white !important;
    border: 1px solid #ced4da !important;
    border-top: none !important;
    border-radius: 0 0 0.25rem 0.25rem !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    max-height: 200px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    margin-top: -1px !important;
}

.ts-dropdown .ts-dropdown-content {
    padding: 0 !important;
    max-height: 200px !important;
    overflow-y: auto !important;
    scrollbar-width: thin !important;
    scrollbar-color: #ced4da transparent !important;
}

/* Webkit scrollbar styling for dropdown */
.ts-dropdown .ts-dropdown-content::-webkit-scrollbar {
    width: 8px !important;
}

.ts-dropdown .ts-dropdown-content::-webkit-scrollbar-track {
    background: transparent !important;
}

.ts-dropdown .ts-dropdown-content::-webkit-scrollbar-thumb {
    background: #ced4da !important;
    border-radius: 4px !important;
}

.ts-dropdown .ts-dropdown-content::-webkit-scrollbar-thumb:hover {
    background: #adb5bd !important;
}

.ts-dropdown .option {
    padding: 0.5rem 0.75rem !important;
    border-bottom: 1px solid #f8f9fa !important;
    cursor: pointer !important;
    transition: background-color 0.15s ease-in-out !important;
    color: #212529 !important;
    background: white !important;
}

.ts-dropdown .option:last-child {
    border-bottom: none !important;
}

.ts-dropdown .option:hover,
.ts-dropdown .option.active {
    background-color: #f8f9fa !important;
    color: #212529 !important;
}

.ts-dropdown .option.selected {
    background-color: #0d6efd !important;
    color: white !important;
}

.ts-dropdown .optgroup-header {
    padding: 0.25rem 0.75rem !important;
    background-color: #e9ecef !important;
    color: #6c757d !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-bottom: 1px solid #dee2e6 !important;
}

.ts-dropdown .no-results {
    padding: 0.75rem !important;
    text-align: center !important;
    color: #6c757d !important;
    font-style: italic !important;
}

/* Force proper padding for clear button plugin */
.ts-wrapper.single.plugin-clear_button .ts-control {
    padding-right: 3rem !important;
}

/* Remove unwanted Tom Select default styling */
.ts-wrapper.single .ts-control,
.ts-wrapper.single.input-active .ts-control {
    cursor: text !important;
}

/* Loading state */
.ts-wrapper.loading .ts-control::after {
    content: "" !important;
    position: absolute !important;
    right: 0.75rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 1rem !important;
    height: 1rem !important;
    border: 2px solid #f3f3f3 !important;
    border-top: 2px solid #0d6efd !important;
    border-radius: 50% !important;
    animation: spin 1s linear infinite !important;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* Fix the item div that contains selected text */
.ts-control .item {
    max-width: calc(100% - 3rem) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    display: inline-block !important;
}

/* Fix input field when in focus - keep it same width as unfocused */
.ts-wrapper.focus .ts-control input,
.ts-wrapper.input-active .ts-control input,
.ts-wrapper.dropdown-active .ts-control input {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 1 auto !important;
}

/* Force Tom Select to never exceed container width */
.ts-wrapper[style],
.ts-wrapper.single[style],
.ts-wrapper.single.input-active[style],
.ts-wrapper.single.dropdown-active[style],
.ts-wrapper.single.focus[style],
.ts-wrapper.single.has-items[style] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: auto !important;
}

.ts-wrapper,
.ts-wrapper.single,
.ts-wrapper.single.input-active,
.ts-wrapper.single.dropdown-active,
.ts-wrapper.single.focus,
.ts-wrapper.single.has-items {
    width: 100% !important;
    max-width: 100% !important;
    min-width: auto !important;
    display: block !important;
}

.ts-wrapper.single .ts-control[style],
.ts-wrapper.single.input-active .ts-control[style],
.ts-wrapper.single.dropdown-active .ts-control[style],
.ts-wrapper.single.focus .ts-control[style],
.ts-wrapper.single.has-items .ts-control[style] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: auto !important;
}

.ts-wrapper.single .ts-control,
.ts-wrapper.single.input-active .ts-control,
.ts-wrapper.single.dropdown-active .ts-control,
.ts-wrapper.single.focus .ts-control,
.ts-wrapper.single.has-items .ts-control {
    width: 100% !important;
    max-width: 200px !important;
    min-width: auto !important;
    resize: none !important;
    box-sizing: border-box !important;
}

/* Override for modals, invoice calculator, and EasyAdmin pages - use full width */
.modal .ts-wrapper,
.modal .ts-wrapper.single,
.modal .ts-wrapper.single.input-active,
.modal .ts-wrapper.single.dropdown-active,
.modal .ts-wrapper.single.focus,
.modal .ts-wrapper.single.has-items,
[data-controller*="invoice-calculator"] .ts-wrapper,
[data-controller*="invoice-calculator"] .ts-wrapper.single,
[data-controller*="invoice-calculator"] .ts-wrapper.single.input-active,
[data-controller*="invoice-calculator"] .ts-wrapper.single.dropdown-active,
[data-controller*="invoice-calculator"] .ts-wrapper.single.focus,
[data-controller*="invoice-calculator"] .ts-wrapper.single.has-items,
body.ea .ts-wrapper,
body.ea .ts-wrapper.single,
body.ea .ts-wrapper.single.input-active,
body.ea .ts-wrapper.single.dropdown-active,
body.ea .ts-wrapper.single.focus,
body.ea .ts-wrapper.single.has-items {
    max-width: 100% !important;
}

.modal .ts-wrapper.single .ts-control,
.modal .ts-wrapper.single.input-active .ts-control,
.modal .ts-wrapper.single.dropdown-active .ts-control,
.modal .ts-wrapper.single.focus .ts-control,
.modal .ts-wrapper.single.has-items .ts-control,
[data-controller*="invoice-calculator"] .ts-wrapper.single .ts-control,
[data-controller*="invoice-calculator"] .ts-wrapper.single.input-active .ts-control,
[data-controller*="invoice-calculator"] .ts-wrapper.single.dropdown-active .ts-control,
[data-controller*="invoice-calculator"] .ts-wrapper.single.focus .ts-control,
[data-controller*="invoice-calculator"] .ts-wrapper.single.has-items .ts-control,
body.ea .ts-wrapper.single .ts-control,
body.ea .ts-wrapper.single.input-active .ts-control,
body.ea .ts-wrapper.single.dropdown-active .ts-control,
body.ea .ts-wrapper.single.focus .ts-control,
body.ea .ts-wrapper.single.has-items .ts-control {
    max-width: 100% !important;
}

.autocomplete-item {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.15s ease-in-out;
}

.autocomplete-item:hover,
.autocomplete-item.selected {
    background-color: #f8f9fa;
}

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

.autocomplete-item strong {
    color: #007bff;
    font-weight: 600;
}

/* Invoice status styling - consistent for all statuses */
[class*="invoice-status-"] {
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    padding: 0.35rem 0.7rem !important;
    border-radius: 0.25rem !important;
    border: 1px solid transparent !important;
}

/* Pending */
.invoice-status-1 {
    background-color: #ffc107 !important;
    color: #212529 !important;
    border-color: #ffb307 !important;
}

/* Cancelled */
.invoice-status-2 {
    background-color: #6c757d !important;
    color: white !important;
    border-color: #5a6268 !important;
}

/* Refunded */
.invoice-status-3 {
    background-color: #17a2b8 !important;
    color: white !important;
    border-color: #138496 !important;
}

/* Paid */
.invoice-status-4 {
    background-color: #28a745 !important;
    color: white !important;
    border-color: #20c997 !important;
}

/* Delivery Failed - Missing Contacts */
.invoice-status-5 {
    background-color: #dc3545 !important;
    color: white !important;
    border-color: #c82333 !important;
}

.invoice-status-5:before {
    content: "⚠ ";
    margin-right: 0.25rem;
}

.autocomplete-group-header {
    padding: 0.25rem 0.75rem;
    background-color: #e9ecef;
    color: #6c757d;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #dee2e6;
}

.autocomplete-loading,
.autocomplete-no-results,
.autocomplete-error {
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

.autocomplete-loading {
    color: #6c757d;
}

.autocomplete-loading::before {
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    vertical-align: middle;
}

.autocomplete-no-results {
    color: #6c757d;
    font-style: italic;
}

.autocomplete-error {
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
}

/* PerfectHOA Pricing Styles */

.perfecthoa-pricing-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
}

/* Billing Toggle */
.perfecthoa-billing-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 30px;
}

.billing-option {
    font-size: 16px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.3s ease;
}

.billing-option.active {
    color: #111827;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    margin: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d1d5db;
    transition: 0.3s;
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #111827;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.save-badge {
    background-color: #d1fae5;
    color: #059669;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Unit Selector */
.perfecthoa-unit-selector {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.perfecthoa-unit-selector label {
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    color: #111827;
    margin-right: 20px;
}

.perfecthoa-unit-selector select {
    min-width: 200px;
    padding: 0px 16px;
    font-size: 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: #f9fafb;
    color: #374151;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.perfecthoa-unit-selector select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Pricing Container */
.perfecthoa-pricing-container {
    margin-bottom: 30px;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.pricing-left {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-right: 1px solid #e5e7eb;
}

.pricing-right {
    padding: 50px 40px;
    background-color: #fafafa;
}

.plan-title {
    font-size: 18px;
    color: #6b7280;
    margin: 0 0 24px 0;
    font-weight: 400;
}

.price-display {
    margin-bottom: 12px;
}

.price {
    font-size: 72px;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

.billing-info {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 40px 0;
}

.billing-period {
    font-weight: 500;
}

.cta-button {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    max-width: 300px;
}

.cta-button:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
}

.cta-button:active {
    transform: translateY(0);
}

.pricing-right h4 {
    font-size: 20px;
    color: #111827;
    margin: 0 0 24px 0;
    font-weight: 600;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
    color: #374151;
}

.features-list li:before {
    content: "✓";
    font-size: 20px;
    color: #059669;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: -2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-card {
        grid-template-columns: 1fr;
    }

    .pricing-left {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding: 30px 24px;
    }

    .pricing-right {
        padding: 30px 24px;
    }

    .price {
        font-size: 56px;
    }

    .perfecthoa-unit-selector {
        padding: 20px;
    }

    .perfecthoa-unit-selector label {
        display: block;
        margin-bottom: 12px;
    }

    .perfecthoa-unit-selector select {
        width: 100%;
    }

    .perfecthoa-billing-toggle {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .perfecthoa-billing-toggle {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .save-badge {
        width: 100%;
        text-align: center;
    }
}


/* Sortable Drag and Drop Styles */
.sortable-ghost {
    opacity: 0.4;
    background-color: #f8f9fa;
}

.sortable-chosen {
    cursor: grabbing !important;
}

.sortable-drag {
    opacity: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
}

/* Sortable Grip Icon Cursor */
.fa-grip-vertical {
    cursor: grab;
}

.fa-grip-vertical:active {
    cursor: grabbing;
}


.dropzone-area {
    border: 2px dashed #0087F7;
    border-radius: 5px;
    background: #f8f9fa;
    padding: 20px;
    min-height: 200px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dropzone-area:hover {
    background: #e9ecef;
}

.dropzone-area .dz-message {
    text-align: center;
    margin: 2em 0;
    color: #666;
}

.dropzone-area .dz-preview {
    display: inline-block;
    width: 120px;
    margin: 10px;
    vertical-align: top;
    position: relative;
}

.dropzone-area .dz-preview .dz-image {
    width: 120px;
    height: 120px;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropzone-area .dz-preview .dz-image img {
    max-width: 100%;
    max-height: 100%;
}

.dropzone-area .dz-preview .dz-details {
    text-align: center;
    font-size: 11px;
    margin-top: 5px;
}

.dropzone-area .dz-preview .dz-filename {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropzone-area .dz-preview .dz-size {
    color: #999;
}

.dropzone-area .dz-preview .dz-remove {
    display: block;
    text-align: center;
    color: #d9534f;
    font-size: 11px;
    margin-top: 5px;
    text-decoration: none;
}

.dropzone-area .dz-preview .dz-remove:hover {
    text-decoration: underline;
}

/* Custom modal size - between sm (300px) and default (500px) */
.modal-md {
    max-width: 400px;
}

/* Center buttons in confirmation modals */
.modal-md .modal-footer {
    justify-content: center;
}

/* Remove Bootstrap form-select styling from TomSelect wrapper */
.ts-wrapper.form-select {
    height: auto !important;
    padding: 0 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    border-radius: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

/* Floating Action Bar - Fixed Bottom */
.floating-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e3edf8;
    padding: 15px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

/* Sticky Action Bar - Stays within container */
.sticky-action-bar {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 16px 24px;
    border-top: 1px solid #dee2e6;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
    margin-top: 20px;
    border-radius: 8px;
    z-index: 100;
}