:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --info-color: #17a2b8;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

.main-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin: 20px auto;
    max-width: 100%; /* Changed from 1400px to 100% */
    width: calc(100% - 40px); /* Added to account for 20px margin on each side */
}


.header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    text-align: center;
    position: relative;
}

.header .connection-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.filters-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

.search-box {
    position: relative;
}

.search-box input {
    padding-left: 3rem;
    border-radius: 25px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s ease;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

.suggestion-item:last-child {
    border-bottom: none;
}

/* Searchable Dropdown Styles */
.searchable-dropdown {
    position: relative;
    width: 100%;
}

.searchable-dropdown .dropdown-input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.searchable-dropdown .dropdown-input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    outline: none;
}

.searchable-dropdown .dropdown-arrow {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.searchable-dropdown.open .dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.searchable-dropdown .dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1001;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    margin-top: 4px;
}

.searchable-dropdown.open .dropdown-list {
    display: block;
}

.searchable-dropdown .dropdown-item {
    padding: 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.searchable-dropdown .dropdown-item:hover,
.searchable-dropdown .dropdown-item.highlighted {
    background-color: var(--secondary-color);
    color: white;
}

.searchable-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

.searchable-dropdown .dropdown-item.selected {
    background-color: rgba(52, 152, 219, 0.1);
    font-weight: 600;
}

.searchable-dropdown .no-results {
    padding: 0.75rem;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}

.searchable-dropdown .dropdown-search {
    padding: 0.5rem;
    border-bottom: 1px solid #dee2e6;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.searchable-dropdown .dropdown-search input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    font-size: 0.875rem;
}

.searchable-dropdown .dropdown-search input:focus {
    border-color: var(--secondary-color);
    outline: none;
}

/* Filter Select Styles - Updated for searchable dropdowns */
.filter-select {
    border-radius: 15px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.btn-modern {
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.table-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 1rem;
}

.table thead th {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 1rem 0.75rem;
    position: relative;
}

.table thead th.sortable {
    cursor: pointer;
}

.table thead th.sortable:hover {
    background: rgba(255,255,255,0.1);
}

.sort-indicator {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.table tbody td {
    padding: 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid #f8f9fa;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.table tbody tr.selected {
    background-color: rgba(52, 152, 219, 0.1);
}

.action-btn {
    padding: 0.25rem 0.5rem;
    margin: 0 0.1rem;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
}

.action-btn:hover {
    transform: scale(1.1);
}

.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
}

.stats-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin: 0.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.stats-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stats-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.bulk-actions {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem;
    display: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.advanced-search-panel {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: none;
}

.dashboard-summary {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.recent-activity {
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    padding: 0.75rem;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background-color: #f8f9fa;
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.export-menu {
    position: relative;
    display: inline-block;
}

.export-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    min-width: 200px;
    display: none;
}

.export-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s ease;
}

.export-item:hover {
    background-color: #f8f9fa;
}

.export-item:last-child {
    border-bottom: none;
}

/* Animation for dropdown opening */
@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.searchable-dropdown.open .dropdown-list {
    animation: dropdownSlide 0.2s ease-out;
}

/* Loading state for dropdowns */
.searchable-dropdown.loading .dropdown-input {
    background-image: url("data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3e%3cg opacity='0.5'%3e%3cpath d='M10 3v4l3-3-3-3z' fill='%236c757d'/%3e%3canimateTransform attributeName='transform' type='rotate' values='0 10 10;360 10 10' dur='1s' repeatCount='indefinite'/%3e%3c/g%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
}

.searchable-dropdown.loading .dropdown-arrow {
    display: none;
}

/* Table responsive improvements */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

/* Custom scrollbar for webkit browsers */
.table-responsive::-webkit-scrollbar {
    height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* MOBILE RESPONSIVE DESIGN */
@media (max-width: 768px) {
    /* Fix pagination overflow - MAIN FIX */
    .d-flex.justify-content-between.align-items-center.p-3 {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem !important;
        align-items: stretch !important;
    }
    
    .d-flex.justify-content-between.align-items-center.p-3 > div:first-child {
        order: 2;
        text-align: center;
        width: 100%;
    }
    
    .d-flex.justify-content-between.align-items-center.p-3 > nav {
        order: 1;
        width: 100%;
    }
    
    /* Pagination improvements */
    .pagination {
        flex-wrap: wrap;
        gap: 2px;
        justify-content: center;
        margin-bottom: 0;
    }
    
    .pagination .page-item {
        margin: 1px;
    }
    
    .pagination .page-link {
        padding: 0.375rem 0.5rem;
        font-size: 0.8rem;
        min-width: 32px;
        text-align: center;
        min-height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Records per page selector */
    .d-flex.align-items-center {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    #recordInfo {
        margin-bottom: 0.5rem;
        width: 100%;
        text-align: center;
        font-size: 0.9rem;
    }
    
    /* Container and layout fixes */
    .main-container {
        margin: 10px;
        border-radius: 15px;
    }
    
    .header {
        padding: 1.5rem 1rem;
        border-radius: 15px 15px 0 0;
    }
    
    .header h1 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .header p {
        font-size: 0.85rem;
    }
    
    .connection-status {
        position: static !important;
        display: inline-block;
        margin-bottom: 1rem;
    }
    
    /* User info panel mobile */
    .user-info-panel .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .user-info-panel .ms-auto {
        margin: 0 !important;
    }
    
    /* Filters section */
    .filters-section {
        padding: 1rem;
    }
    
    .filters-section .row.g-3 {
        margin: 0;
    }
    
    .filters-section .col-lg-3,
    .filters-section .col-lg-2,
    .filters-section .col-md-4,
    .filters-section .col-md-3,
    .filters-section .col-md-2 {
        padding: 0.25rem;
    }
    
    /* Action buttons in mobile */
    .filters-section .d-flex.gap-2 {
        gap: 0.25rem !important;
    }
    
    .filters-section .btn-sm {
        padding: 0.375rem 0.5rem;
        font-size: 0.75rem;
    }
    
    /* Table improvements */
    .table-responsive {
        font-size: 0.8rem;
    }
    
    .table thead th {
        padding: 0.75rem 0.5rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    .table tbody td {
        padding: 0.5rem 0.4rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .table-container {
        margin: 0.5rem;
        border-radius: 10px;
    }
    
    /* Hide less important columns on mobile */
    .table th:nth-child(5),
    .table td:nth-child(5),
    .table th:nth-child(9),
    .table td:nth-child(9) {
        display: none;
    }
    
    /* Stats cards mobile layout */
    .stats-card {
        margin: 0.25rem;
        padding: 1rem;
    }
    
    .stats-number {
        font-size: 1.25rem;
    }
    
    .stats-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    /* Modal improvements for mobile */
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    .modal-body .row.g-3 {
        margin: 0;
    }
    
    .modal-body .col-md-6,
    .modal-body .col-md-4 {
        padding: 0.25rem;
        margin-bottom: 0.5rem;
    }
    
    /* Search suggestions mobile */
    .search-suggestions {
        max-height: 150px;
        font-size: 0.85rem;
    }
    
    .suggestion-item {
        padding: 0.5rem 0.75rem;
    }
    
    /* Export dropdown mobile */
    .export-dropdown {
        right: auto;
        left: 0;
        min-width: 250px;
        max-width: 90vw;
    }
    
    .export-item {
        padding: 0.5rem 0.75rem;
    }
    
    .export-item small {
        font-size: 0.7rem;
    }
    
    /* Advanced search panel mobile */
    .advanced-search-panel {
        margin: 0.5rem;
        padding: 1rem;
        border-radius: 10px;
    }
    
    .advanced-search-panel .row.g-3 {
        margin: 0;
    }
    
    .advanced-search-panel .col-md-3,
    .advanced-search-panel .col-md-2 {
        padding: 0.25rem;
        margin-bottom: 0.5rem;
    }
    
    .advanced-search-panel .d-flex.gap-2 {
        flex-direction: column;
        gap: 0.5rem !important;
    }
    
    .advanced-search-panel .btn-modern {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Dashboard summary mobile */
    .dashboard-summary {
        margin: 0.5rem;
        padding: 1rem;
        border-radius: 10px;
    }
    
    .dashboard-summary .row .col-md-4 {
        margin-bottom: 1rem;
    }
    
    .dashboard-summary .col-lg-8,
    .dashboard-summary .col-lg-4 {
        margin-bottom: 1rem;
    }
    
    /* Bulk actions mobile */
    .bulk-actions .d-flex {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .bulk-actions .btn-sm {
        margin: 0.1rem;
        padding: 0.375rem 0.75rem;
    }
    
    /* Toast container mobile */
    .toast-container {
        right: 10px;
        left: 10px;
        top: 10px;
    }
    
    /* Action buttons in table */
    .action-btn {
        padding: 0.2rem 0.4rem;
        margin: 0.05rem;
        font-size: 0.75rem;
    }
    
    /* Form improvements for mobile */
    .form-control,
    .form-select {
        font-size: 0.9rem;
    }
    
    .form-label {
        font-size: 0.85rem;
        font-weight: 600;
    }
    
    /* Searchable dropdown mobile fixes */
    .searchable-dropdown .dropdown-list {
        max-height: 150px;
        max-width: 100%;
    }
    
    .searchable-dropdown .dropdown-item {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .searchable-dropdown .dropdown-search input {
        font-size: 0.85rem;
    }
}

/* Extra small screens (phones in portrait) */
@media (max-width: 576px) {
    /* Compact pagination for very small screens */
    .pagination .page-item:not(.active):not(:first-child):not(:last-child) {
        display: none;
    }
    
    .pagination .page-link {
        padding: 0.25rem 0.4rem;
        font-size: 0.75rem;
        min-width: 28px;
        min-height: 28px;
    }
    
    /* Show only essential pagination items */
    .pagination .page-item:first-child,
    .pagination .page-item:last-child,
    .pagination .page-item.active {
        display: flex !important;
    }
    
    /* Containers */
    .main-container {
        margin: 5px;
        border-radius: 10px;
    }
    
    .header {
        padding: 1rem;
        border-radius: 10px 10px 0 0;
    }
    
    .header h1 {
        font-size: 1.1rem;
    }
    
    .filters-section {
        padding: 0.75rem;
    }
    
    .table-container {
        margin: 0.25rem;
        border-radius: 8px;
    }
    
    .stats-card {
        margin: 0.125rem;
        padding: 0.75rem;
        border-radius: 8px;
    }
    
    .advanced-search-panel,
    .dashboard-summary {
        margin: 0.25rem;
        padding: 0.75rem;
        border-radius: 8px;
    }
    
    /* Button improvements */
    .btn-modern {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Modal adjustments */
    .modal-dialog {
        margin: 0.25rem;
        max-width: calc(100% - 0.5rem);
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-footer {
        padding: 1rem;
    }
}

/* Landscape orientation fixes for tablets */
@media (max-width: 768px) and (orientation: landscape) {
    .header {
        padding: 1rem 2rem;
    }
    
    .user-info-panel .d-flex {
        flex-direction: row;
        text-align: left;
    }
    
    .stats-card {
        padding: 0.75rem;
    }
    
    .stats-number {
        font-size: 1.5rem;
    }
    
    .modal-dialog {
        max-width: 90%;
    }
    
    /* Better pagination for landscape */
    .pagination .page-link {
        min-width: 36px;
        min-height: 36px;
    }
}

/* Touch-friendly improvements */
@media (pointer: coarse) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .form-control,
    .form-select {
        min-height: 44px;
    }
    
    .action-btn {
        min-height: 36px;
        min-width: 36px;
    }
    
    .pagination .page-link {
        min-height: 36px;
        min-width: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Larger touch targets for checkboxes */
    input[type="checkbox"] {
        transform: scale(1.2);
        margin: 0.25rem;
    }
    
    /* Better dropdown touch experience */
    .searchable-dropdown .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Export menu touch improvements */
    .export-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* High DPI screen adjustments */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .table-responsive::-webkit-scrollbar {
        height: 8px;
    }
    
    .searchable-dropdown .dropdown-arrow {
        font-size: 1.1em;
    }
    
    .sort-indicator i {
        font-size: 0.9em;
    }
}

/* Print styles */
@media print {
    .filters-section,
    .bulk-actions,
    .modal,
    .toast-container,
    .loading {
        display: none !important;
    }
    
    .main-container {
        box-shadow: none;
        margin: 0;
        border-radius: 0;
    }
    
    .header {
        background: #2c3e50 !important;
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
    }
    
    .table thead th {
        background: #f8f9fa !important;
        color: #333 !important;
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
    }
    
    .pagination {
        display: none !important;
    }
}

/* Dark mode support (if needed) */
@media (prefers-color-scheme: dark) {
    .search-suggestions,
    .searchable-dropdown .dropdown-list,
    .export-dropdown {
        background: #2c3e50;
        border-color: #34495e;
        color: white;
    }
    
    .suggestion-item:hover,
    .searchable-dropdown .dropdown-item:hover,
    .export-item:hover {
        background-color: #34495e;
    }
    
    .modal-content {
        background: #2c3e50;
        color: white;
    }
    
    .form-control,
    .form-select {
        background: #34495e;
        border-color: #4a5568;
        color: white;
    }
    
    .table {
        background: #2c3e50;
        color: white;
    }
    
    .table tbody tr:hover {
        background-color: #34495e;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .btn-modern:hover {
        transform: none;
    }
    
    .stats-card:hover {
        transform: none;
    }
    
    .action-btn:hover {
        transform: none;
    }
    
    .searchable-dropdown.open .dropdown-list {
        animation: none;
    }
    
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Focus management for accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus,
.action-btn:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Screen reader only content */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 768px) {
    .main-container {
        margin: 10px auto;
        width: calc(100% - 20px);
        border-radius: 15px;
    }
}

@media (max-width: 576px) {
    .main-container {
        margin: 5px auto;
        width: calc(100% - 10px);
        border-radius: 10px;
    }
}

/* Amount badge specific styling */
.badge.bg-warning.text-dark {
    background-color: #ffc107 !important;
    color: #000 !important;
    font-weight: 600 !important;
    border: 1px solid #e0a800 !important;
}

.badge.bg-success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%) !important;
}


.searchable-dropdown {
    position: relative;
}
.searchable-dropdown .dropdown-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}
.searchable-dropdown.open .dropdown-list {
    display: block;
}
.dropdown-item {
    padding: 8px 12px;
    cursor: pointer;
}
.dropdown-item:hover, .dropdown-item.highlighted {
    background-color: #f8f9fa;
}
.dropdown-item.selected {
    background-color: #007bff;
    color: white;
}