* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #2c3e50;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 280px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    color: #111827;
    z-index: 1000;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 12px rgba(0,0,0,0.08);
    border-right: 1px solid #e5e7eb;
}

.sidebar.collapsed {
    transform: translateX(-100%);
}

/* Ensure hamburger button stays accessible when sidebar is collapsed */
/* Move hamburger button outside sidebar when collapsed */
.sidebar.collapsed .hamburger-btn {
    position: fixed !important;
    top: 1rem !important;
    left: 1rem !important;
    z-index: 1002 !important;
    pointer-events: auto !important;
    background-color: #374151 !important;
    box-shadow: 0 4px 12px rgba(55, 65, 81, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.sidebar.collapsed .hamburger-btn span {
    background-color: #ffffff !important;
}

.sidebar-header {
    padding: 1.5rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.sidebar-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: block;
    text-align: left;
    letter-spacing: -0.02em;
}

.sidebar-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem 0;
    gap: 0.5rem;
}

.sidebar-content::-webkit-scrollbar {
    width: 6px;
}

.sidebar-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.sidebar-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.sidebar-section {
    margin-bottom: 0.5rem;
}

.sidebar-section-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1.5rem 0.5rem 1.5rem;
    margin-bottom: 0.25rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    border-left: 3px solid transparent;
    font-weight: 500;
    gap: 0.75rem;
    margin: 0 0.5rem;
    border-radius: 8px;
    position: relative;
}

.sidebar-link:hover {
    background-color: #f3f4f6;
    color: #111827;
    border-left-color: #6b7280;
    transform: translateX(2px);
}

.sidebar-link.active {
    background: linear-gradient(90deg, #f3f4f6 0%, transparent 100%);
    color: #111827;
    border-left-color: #374151;
    font-weight: 600;
}

.sidebar-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: linear-gradient(180deg, #4b5563 0%, #374151 100%);
    border-radius: 0 2px 2px 0;
}

.sidebar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    width: 20px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.sidebar-link:hover .sidebar-icon {
    transform: scale(1.1);
}

.sidebar-link.active .sidebar-icon {
    color: #374151;
}

.sidebar-text {
    display: block;
    letter-spacing: -0.01em;
    flex: 1;
}

.sidebar-footer {
    border-top: 1px solid #e5e7eb;
    padding: 1rem 1.5rem;
    background-color: #ffffff;
    margin-top: auto;
}

.sidebar-user {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.sidebar-user-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sidebar-user-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: #111827;
    margin-bottom: 0.125rem;
}

.sidebar-user-role {
    font-size: 0.7rem;
    color: #6b7280;
    text-transform: capitalize;
    background: #e5e7eb;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

.sidebar-logout {
    border-top: 1px solid #e5e7eb;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    margin-left: 0;
    margin-right: 0;
    border-radius: 8px;
}

.sidebar-logout:hover {
    background-color: #fee2e2;
    color: #dc2626;
    border-left-color: #dc2626;
}

.sidebar-logout .sidebar-icon {
    color: #dc2626;
}

/* Hamburger Button */
.hamburger-btn {
    position: relative;
    z-index: 1001;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s;
    flex-shrink: 0;
    margin-left: auto;
    backdrop-filter: blur(10px);
}

.hamburger-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.hamburger-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Sidebar Overlay for Mobile */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* Main Content with Sidebar */
.main-content-with-sidebar {
    margin-left: 280px;
    transition: margin-left 0.3s ease, width 0.3s ease;
    min-height: calc(100vh - 80px);
    padding: 1.5rem;
    width: calc(100vw - 280px); /* Use viewport width, not parent width */
    max-width: calc(100vw - 280px);
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent horizontal scroll */
    position: relative;
    background-color: #ffffff;
}

.main-content-with-sidebar.sidebar-collapsed {
    margin-left: 0;
    width: 100vw; /* Use full viewport when sidebar is hidden */
    max-width: 100vw;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content-with-sidebar {
        margin-left: 0;
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    /* On mobile, when sidebar is collapsed, show hamburger button outside */
    .sidebar.collapsed .sidebar-header .hamburger-btn {
        position: fixed;
        top: 1rem;
        left: 1rem;
        z-index: 1002;
    }
    
    /* When sidebar is open on mobile, hamburger stays in header */
    .sidebar:not(.collapsed) .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .sidebar-overlay.active {
        display: block;
    }
}

@media (min-width: 769px) {
    .sidebar-overlay {
        display: none !important;
    }
}

/* Legacy Navbar (for login page) */
.navbar {
    background-color: #2c3e50;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 2rem;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

.main-content {
    min-height: calc(100vh - 120px);
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.container {
    max-width: 100%;
    margin: 0;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
    overflow-x: visible;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.header h1 {
    color: #1f2937;
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.btn {
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1.5;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
    border: 1px solid #2563eb;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}

.btn-primary:disabled {
    background-color: #9ca3af;
    border-color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-secondary {
    background-color: #6b7280;
    color: white;
    border: 1px solid #6b7280;
}

.btn-secondary:hover {
    background-color: #4b5563;
    border-color: #4b5563;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.25rem 0.5rem;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    align-items: start; /* Start alignment for consistent sizing */
}

.credential-card {
    background: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
    border: 1px solid #e5e7eb !important;
    overflow: hidden !important;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s !important;
    display: flex !important;
    flex-direction: column !important;
    height: 320px !important; /* Fixed height for all cards */
    width: 100% !important;
}

.credential-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    border-color: #d1d5db;
}

.card-header {
    background-color: #ffffff !important;
    color: #1f2937 !important;
    padding: 1rem 1.25rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 60px !important; /* Fixed header height */
    width: 100% !important;
    flex-shrink: 0 !important; /* Don't shrink */
    border-bottom: 1px solid #e5e7eb !important;
}

.card-header h3 {
    margin: 0 !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    flex: 1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: #1f2937 !important;
    letter-spacing: -0.01em !important;
}

.card-actions {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    flex-shrink: 0; /* Don't shrink */
}

.card-body {
    padding: 1.5rem !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 180px !important; /* Fixed body height */
    overflow: hidden !important;
    justify-content: flex-start !important;
}

.card-body p {
    margin: 0 !important;
    padding: 0.5rem 0 !important;
    line-height: 1.5 !important;
    height: 1.5rem !important; /* Fixed line height */
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
}

.card-body p strong {
    display: inline-block !important;
    min-width: 80px !important;
    flex-shrink: 0 !important;
    margin-right: 0.5rem !important;
}

.card-status {
    margin-top: auto !important; /* Push to bottom of card-body */
    padding-top: 0.5rem !important;
    height: auto !important;
    flex-shrink: 0 !important;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-online {
    background-color: #2ecc71;
    color: white;
}

.status-offline {
    background-color: #95a5a6;
    color: white;
}

.card-footer {
    padding: 1rem 1.5rem !important;
    background-color: #f8f9fa !important;
    display: flex !important;
    gap: 0.5rem !important;
    border-top: 1px solid #e9ecef !important;
    width: 100% !important;
    height: 80px !important; /* Fixed footer height */
    flex-shrink: 0 !important;
    align-items: center !important;
}

.card-footer button {
    flex: 1;
    min-width: 0; /* Allow buttons to shrink if needed */
    padding: 0.625rem 1rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    height: 38px !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.modal-header {
    background-color: #34495e;
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
}

.modal-header h2 {
    margin: 0;
}

.close {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #ddd;
}

.tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #7f8c8d;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: #2c3e50;
}

.tab-btn.active {
    color: #3498db;
    border-bottom-color: #3498db;
    font-weight: 500;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    width: 100%;
    flex-wrap: wrap;
    gap: 1rem;
}

.filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filters input {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.data-content {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: visible;
    border: 1px solid #e5e7eb;
}

.document-count {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background-color: #f0f9ff;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #1e40af;
    font-weight: 500;
    border: 1px solid #dbeafe;
}

.table-wrapper {
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Bootstrap 5 Table Enhancements */
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;         /* Use auto layout for better Bootstrap compatibility */
    min-width: 1000px;
}

/* Ensure consistent padding across all table cells */
.data-table th,
.data-table td {
    padding: 0.75rem;
    vertical-align: top;
    width: auto !important;  /* Allow columns to expand when others are hidden */
}

/* Ensure Bootstrap table classes work with our custom features */
.table.data-table th.sortable {
    cursor: pointer;
    user-select: none;
    position: relative;
}

.table.data-table th.sortable:hover {
    background-color: #f3f4f6;
}

.sort-icon {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
    display: inline-block;
}

/* Filter row styling - Bootstrap compatible */
.filter-row th {
    padding: 0.5rem 0.75rem;  /* Match horizontal padding with header, reduce vertical */
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    vertical-align: middle;
}

.filter-row th .form-control-sm {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
}

/* Ensure filter inputs align properly with headers */
.filter-row th input {
    width: 100%;
    box-sizing: border-box;
}

/* Keep our custom hover effects */
.table.data-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Avoid sticky headers to prevent misalignment when scrolling */
.table.data-table thead th {
    position: static;
}

.data-table code {
    background-color: #f1f1f1;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.error {
    color: #e74c3c;
    padding: 1rem;
    background-color: #fee;
    border-radius: 4px;
    border-left: 4px solid #e74c3c;
}

.footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
}

/* Data Browser Endpoint Selector */
#endpoint-selector {
    font-weight: 500;
    transition: all 0.3s;
}

#endpoint-selector:hover {
    border-color: #2980b9;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
}

#endpoint-selector:focus {
    outline: none;
    border-color: #2980b9;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Endpoint indicator badge */
.endpoint-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #e8f4f8;
    border-radius: 4px;
    border-left: 4px solid #3498db;
    font-size: 0.95rem;
    position: sticky;
    top: 1rem;
    z-index: 100;
}

.endpoint-indicator strong {
    color: #2c3e50;
}

.endpoint-indicator span {
    color: #3498db;
    font-weight: 500;
}

/* Make header sticky for endpoint visibility */
.header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 99;
    padding: 1rem 0;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Column Customizer Styles */
.column-customize-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.column-customizer-panel {
    position: fixed;
    top: 0;
    right: -500px;
    width: 500px;
    height: 100vh;
    background: rgb(255, 255, 255);
    box-shadow: rgba(37, 83, 185, 0.1) 0px 2px 6px 0px;
    border-radius: 15px 0px 0px 15px;
    z-index: 1009;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
}

.column-customizer-panel.active {
    right: 0;
}

.column-panel-header {
    padding: 1rem 1.5rem;
    background-color: transparent;
    color: rgba(0, 0, 0, 0.87);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.column-panel-header h3 {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.column-panel-close {
    background: none;
    border: none;
    color: rgba(0, 0, 0, 0.87);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.column-panel-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.column-panel-content {
    flex: 1;
    overflow-y: auto;
    padding: 0px;
}

.column-panel-hint {
    color: rgba(0, 0, 0, 0.6);
    font-size: 12px;
    margin-bottom: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

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

.column-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    margin-bottom: 0;
    background-color: transparent;
    border-radius: 0px;
    cursor: move;
    transition: background-color 0.15s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    min-height: 48px;
    gap: 0.75rem;
}

.column-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.column-item.dragging {
    opacity: 0.5;
    background-color: rgba(0, 0, 0, 0.05);
}

.column-drag-handle {
    color: rgba(0, 0, 0, 0.6);
    cursor: grab;
    font-size: 16px;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.column-drag-handle:active {
    cursor: grabbing;
}

.column-item .column-label {
    flex: 1 1 auto;
    min-width: 0;
}

.column-item .column-visibility-status {
    flex-shrink: 0;
    margin-right: 0.5rem;
}

.column-item .column-toggle {
    display: flex !important;
    align-items: center;
    cursor: pointer;
    user-select: none;
    font-size: 12px;
    margin-left: auto !important;
    flex-shrink: 0;
}


.column-toggle input[type="checkbox"] {
    width: 28px;
    height: 28px;
    cursor: pointer;
    margin: 0;
    border: 0px none;
    border-radius: 0px;
    accent-color: rgba(0, 0, 0, 0.87);
    flex-shrink: 0;
}

.column-label {
    flex: 1;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.87);
    font-size: 12px;
    min-width: 0;
}

.column-visibility-status {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.6);
    flex-shrink: 0;
    margin-right: 0.5rem;
}

.column-panel-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    display: flex;
    gap: 0.75rem;
    background-color: transparent;
}

.column-panel-footer .btn {
    flex: 1;
    font-size: 12px;
    padding: 0.5rem 1rem;
}

/* Overlay when panel is open - removed for IR21 style (no overlay) */

