/* Left Sidebar */
.left-sidebar {
    width: 350px;
    background: white;
    border-right: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    z-index: 1000;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.left-sidebar.active {
    transform: translateX(0);
}

.left-sidebar .sidebar-header {
    padding: 15px;
    position: relative;
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-sidebar .sidebar-header h3 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    font-size: 1.1rem;
    color: #0078d4;
}

.left-sidebar .sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.feature-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.feature-info-table td {
    padding: 8px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.feature-info-table td:first-child {
    font-weight: 600;
    color: #555;
    width: 40%;
}

.placeholder-text {
    color: #777;
    text-align: center;
    margin-top: 50px;
}

#close-left-sidebar {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #555;
}

#close-left-sidebar:hover {
    color: #000;
}

.feature-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.feature-actions button {
    flex: 1;
    padding: 8px 12px;
    background-color: #0078d4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.feature-actions button:hover {
    background-color: #005a9e;
}

/* Search result items styling */
.search-result-item {
    padding: 12px;
    margin-bottom: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f9f9f9;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-result-item:hover {
    background-color: #e8f4fd;
    border-color: #0078d4;
    box-shadow: 0 2px 8px rgba(0, 120, 212, 0.15);
    transform: translateX(4px);
}

.search-result-item:active {
    transform: translateX(2px);
}

.search-result-item>div:first-child {
    font-weight: 600;
    color: #0078d4;
    margin-bottom: 4px;
    user-select: none;
}

.search-result-item>div:last-child {
    font-size: 12px;
    color: #666;
    user-select: none;
}